10#define NFASPCROB NFASPMOD / NCROBMOD
14#define NFASPPARS 2 + 4 * NFASPCH
16#define FASP_EPOCH_LENGTH 128
21#include <RtypesCore.h>
45 CbmTrdParFaspChannel(Int_t pup = 300, Int_t ft = 14, Int_t thr = 600, Int_t smin = 2586, Float_t dtPar = 4.181e-6);
58 void Print(Option_t* opt =
"")
const;
85 CbmTrdParFasp(Int_t address = 0, Int_t FebGrouping = -1, Double_t
x = 0, Double_t
y = 0, Double_t z = 0);
113 virtual void Print(Option_t* opt =
"")
const;
Definition of ASIC parameters.
std::vector< Int_t > fChannelAddresses
addresses of individual output channels
Definition of FASP channel calibration container.
CbmTrdParFaspChannel(Int_t pup=300, Int_t ft=14, Int_t thr=600, Int_t smin=2586, Float_t dtPar=4.181e-6)
Parametrization of a FASP channel based on CADENCE simulations from 12.01.2018 and parabolic parametr...
Int_t GetMinDelaySignal() const
Bool_t HasPairingR() const
Query pad pairing type.
UShort_t fThreshold
Threshold in ADC units.
void SetMask(Bool_t set)
Mask channel for processing.
void Print(Option_t *opt="") const
Bool_t HasPairingT() const
void SetPairing(Bool_t rect)
Specify pad pairing type.
UChar_t fConfig
configuration bit map
UShort_t fPileUpTime
Signal formation time in ns.
UShort_t fMinDelaySignal
Signal in ADC for minimum delay i.e. fPileUpTime.
static constexpr double fgkSgmCh
generic width of a pulser signal for FASP channels
Int_t GetPileUpTime() const
Int_t GetThreshold() const
Float_t fMinDelayParam
Factor of parabolic dependence dt=fdt*(s-s0)^2 to calculate trigger.
UChar_t fFlatTop
Length of Flat-Top in clocks.
Float_t GetMinDelayParam() const
Definition of FASP parameters.
static Double_t fgSizeY
FASP half size in y [cm].
CbmTrdParFaspChannel fCalib[NFASPCH]
calibration map for FASP channels
virtual bool IsChannelMasked(int ch) const
CbmTrdParFasp(Int_t address=0, Int_t FebGrouping=-1, Double_t x=0, Double_t y=0, Double_t z=0)
virtual Int_t GetChannelAddress(Int_t chId) const
Return the global RO channel for curent FASP and channel index.
virtual void SetChannelMask(uint32_t mask)
Double_t GetSizeY() const
virtual void Print(Option_t *opt="") const
const CbmTrdParFaspChannel * GetChannel(Int_t pad_address, UChar_t pair) const
Query the calibration for one FASP RO channel.
virtual Bool_t SetCalibParameters(Int_t ch, Double_t const *par)
Load FASP calibration parameters for a specific channel.
static Double_t fgSizeX
FASP half size in x [cm].
Double_t GetSizeX() const
int GetPadAddress(Int_t ich) const
virtual void LoadParams(FairParamList *l)
virtual uint32_t GetChannelMask() const
static Double_t fgSizeZ
FASP half size in z [cm].
Double_t GetSizeZ() const
virtual Int_t GetNchannels() const