Go to the documentation of this file.
8 #ifndef CBMMCBM2019CHECKTIMINGPAIRS_H
9 #define CBMMCBM2019CHECKTIMINGPAIRS_H
54 virtual InitStatus
Init();
57 virtual InitStatus
ReInit();
61 virtual void Exec(Option_t*);
129 Double_t dWinStartTime,
130 Double_t dWinStopTime,
131 std::vector<std::vector<Digi>>& vDigi,
133 template<
class DigiA>
137 std::vector<DigiA>& vCorrDigA,
139 template<
class DigiA,
class DigiB>
143 std::vector<DigiA>& vCorrDigA,
144 std::vector<DigiB>& vCorrDigB,
168 {
"STS",
"MUCH",
"TRD",
"TOF",
"RICH",
"PSD"};
245 #endif // CBMMCBM2019CHECKTIMINGPAIRS_H
void SetTofOffsetSearchRange(Double_t val=1000)
virtual InitStatus Init()
void SetMuchOffsetSearchRange(Double_t val=1000)
void SetMuchPulserAdcLimits(UInt_t uMin, UInt_t uMax)
static const UInt_t kuMaxNbMuchAsics
void SetMuchAsic(UInt_t uAsic)
void SetTrdOffsetSearchRange(Double_t val=1000)
UInt_t fuMinTotPulserRich
void SetTofPulserTotLimits(UInt_t uMin, UInt_t uMax)
CbmMcbm2019CheckTimingPairs(const CbmMcbm2019CheckTimingPairs &)=delete
ClassDef(CbmMcbm2019CheckTimingPairs, 1)
CbmDigiManager * fDigiMan
UInt_t fuMinChargePulserTrd
const TimesliceMetaData * pTsMetaData
Double_t fPrevTimeT0
Variables to store the previous digi time.
TClonesArray * fTimeSliceMetaDataArray
void SetPsdPulserAdcLimits(UInt_t uMin, UInt_t uMax)
void SetStsOffsetSearchRange(Double_t val=1000)
std::vector< std::string > fvsDetectors
List of detectors.
std::vector< std::vector< CbmPsdDigi > > fvDigisPsd
void SetTrdAddress(UInt_t uAddress)
static const UInt_t kuMaxNbStsDpbs
UInt_t fuMaxTotPulserRich
Default: No cut.
UInt_t fuNbCoincDigisSts
Variable to store counts of T0 with at least one coincidence.
virtual InitStatus ReInit()
UInt_t fuMaxAdcPulserPsd
Default: No cut.
UInt_t fuMaxAdcPulserMuch
std::vector< TH1 * > fhDtADtB
static constexpr Double_t kdClockCycle
CbmMcbm2019CheckTimingPairs operator=(const CbmMcbm2019CheckTimingPairs &)=delete
CbmMcbm2019CheckTimingPairs()
void SetRichPulserTotLimits(UInt_t uMin, UInt_t uMax)
void SetTrdPulserChargeLimits(UInt_t uMin, UInt_t uMax)
void SetStsPulserAdcLimits(UInt_t uMin, UInt_t uMax)
UInt_t fuNbDigisWithCoincT0
Variable to store counts of T0 with at least one coincidence.
static const UInt_t kuMaxNbMuchDpbs
UInt_t FillCorrBuffer(Double_t dTimeT0, UInt_t uIndexStart, Double_t dWinStartTime, Double_t dWinStopTime, std::vector< std::vector< Digi >> &vDigi, ECbmModuleId iDetId=ECbmModuleId::kLastModule)
void SetPsdAddress(UInt_t uAddress)
void SetOutFilename(TString sNameIn)
static const UInt_t kuNbChanSMX
Constants.
void SetT0PulserTotLimits(UInt_t uMin, UInt_t uMax)
const std::vector< CbmTofDigi > * fT0DigiVector
std::vector< UInt_t > fvuPrevT0FirstDigiDet
std::vector< std::vector< CbmRichDigi > > fvDigisRich
std::vector< std::vector< CbmTrdDigi > > fvDigisTrd
@ kLastModule
For loops over all modules.
UInt_t fuMinTotPulserTof
Default: No cut.
void SetStsAddress(UInt_t uAddress)
void SetMuchChanRange(UInt_t uFirstChan, UInt_t uLastChan=kuNbChanSMX)
UInt_t fuMinAdcPulserMuch
void FillHistosInter(UInt_t uIndexT0, UInt_t uIndexA, UInt_t uIndexB, std::vector< DigiA > &vCorrDigA, UInt_t uHistoIdx)
UInt_t fuMaxChargePulserTrd
Default: No cut.
std::vector< std::vector< CbmStsDigi > > fvDigisSts
void FillHistos(UInt_t uIndexT0, UInt_t uIndexA, UInt_t uIndexB, std::vector< DigiA > &vCorrDigA, std::vector< DigiB > &vCorrDigB, UInt_t uHistoIdx)
std::vector< std::vector< CbmMuchBeamTimeDigi > > fvDigisMuch
std::vector< Double_t > fvPrevTimeDet
static const UInt_t kuMaxChannelSts
UInt_t fuNbCoincDigisMuch
~CbmMcbm2019CheckTimingPairs()
UInt_t fuNbCoincDigisRich
void SetPsdOffsetSearchRange(Double_t val=1000)
static const UInt_t kuDefaultAddress
std::vector< std::vector< CbmTofDigi > > fvDigisTof
std::vector< CbmTofDigi > fvDigisT0
Variable to store correlated Digis.
UInt_t fuMinAdcPulserPsd
Default: No cut.
TClonesArray * fT0DigiArray
static constexpr Double_t kdDefaultTimeWin
virtual void SetParContainers()
virtual void Exec(Option_t *)
static const UInt_t kuNbBinsDefault
void SetRichOffsetSearchRange(Double_t val=1000)