Go to the documentation of this file.
8 #ifndef CBMMCBM2018EVENTBUILDER_H
9 #define CBMMCBM2018EVENTBUILDER_H
65 virtual InitStatus
Init();
68 virtual InitStatus
ReInit();
72 virtual void Exec(Option_t*);
153 std::vector<std::pair<ECbmModuleId, Int_t>>
fVect;
Double_t fPrevTime
Timeslice Counter.
void SetTriggerMinNumberPsd(Int_t val)
Int_t fTriggerMaxStsDigis
Double_t fFixedTimeWindow
TH2 * fhNbDigiPerEvtTimeTrd
histogram with the nb of MUCH digis per event vs seed time of the events
TH2 * fhNbDigiPerEvtTimeMuch
histogram with the nb of STS digis per event vs seed time of the events
Int_t fTriggerMinRichDigis
Bool_t IsDigiInEvent(Double_t)
ClassDef(CbmMcbm2018EventBuilder, 2)
virtual InitStatus Init()
TH1 * fhEventDt
histogram with the seed time of the events
void SetTriggerMinNumberTof(Int_t val)
void AddDigiToSorter(ECbmModuleId, Int_t)
CbmDigiManager * fDigiMan
const std::vector< CbmTofDigi > * fT0DigiVec
CbmMcbm2018EventBuilder()
Bool_t HasTrigger(CbmEvent *)
void SetOutFilename(TString sNameIn)
void SetFixedTimeWindow(Double_t val)
Int_t fTriggerMinTofDigis
void SetUseBaseMuchDigi(Bool_t bFlag=kTRUE)
void SetTriggerMaxNumberTof(Int_t val)
void SetTriggerMinNumberMuch(Int_t val)
Bool_t fFillHistos
histogram with the nb of PSD digis per event vs seed time of the events
virtual void SetParContainers()
TH2 * fhNbDigiPerEvtTimeSts
histogram with the nb of T0 digis per event vs seed time of the events
CbmMcbm2018EventBuilder operator=(const CbmMcbm2018EventBuilder &)=delete
TH2 * fhNbDigiPerEvtTimeT0
histogram with the nb of all digis per event vs seed time of the events
void SetFillHistos(Bool_t var)
std::pair< ECbmModuleId, Int_t > digituple
virtual void Exec(Option_t *)
virtual InitStatus ReInit()
void SetEventBuilderAlgo(EventBuilderAlgo algo=EventBuilderAlgo::FixedTimeWindow)
void SetTriggerMaxNumberSts(Int_t val)
Int_t fTriggerMaxTrdDigis
std::vector< std::pair< ECbmModuleId, Int_t > > fVect
for digi sorting
Int_t fNrTs
Error Counter.
Int_t fErrors
Event Counter.
Int_t fTriggerMinStsDigis
@ kNofSystems
For loops over active systems.
TH2 * fhNbDigiPerEvtTimePsd
histogram with the nb of RICH digis per event vs seed time of the events
std::vector< CbmEvent * > fEventVector
pointer to the event which is currently build
void SetTriggerMaxNumberTrd(Int_t val)
TClonesArray * fEvents
input container of TO digis
~CbmMcbm2018EventBuilder()
TH1 * fhEventSize
histogram with the interval in seed time of consecutive events
void SetTriggerMaxNumberPsd(Int_t val)
Int_t fTriggerMaxPsdDigis
TH1 * fhEventTime
histogram with the time difference between two consecutive digis
CbmMcbm2018EventBuilder(const CbmMcbm2018EventBuilder &)=delete
TH2 * fhNbDigiPerEvtTimeRich
histogram with the nb of TOF digis per event vs seed time of the events
TH2 * fhNbDigiPerEvtTimeTof
histogram with the nb of TRD digis per event vs seed time of the events
std::array< TClonesArray *, ToIntegralType(ECbmModuleId::kNofSystems)> fLinkArray
output container of CbmEvents
constexpr auto ToIntegralType(T enumerator) -> typename std::underlying_type< T >::type
TH1 * fDiffTime
vector with all created events
Int_t fTriggerMaxTofDigis
Int_t fTriggerMinPsdDigis
Class characterising one event by a collection of links (indices) to data objects,...
void SetTriggerMinNumberT0(Int_t val)
void SetTriggerMaxNumberMuch(Int_t val)
void SetMaximumTimeGap(Double_t val)
void SetTriggerMinNumberTrd(Int_t val)
Int_t fTriggerMinTrdDigis
void SetTriggerMaxNumberT0(Int_t val)
EventBuilderAlgo fEventBuilderAlgo
Switch ON/OFF filling of histograms.
Bool_t fbUseBaseMuchDigi
Save previous time information.
std::multimap< Double_t, digituple > fSorter
array with pointers to input containers
Int_t fTriggerMaxMuchDigis
Int_t fTriggerMinMuchDigis
TClonesArray * fT0DigiArr
Int_t fTriggerMaxRichDigis
void SetTriggerMinNumberSts(Int_t val)
TH2 * fhNbDigiPerEvtTime
histogram with the nb of all digis in the event
void AddDigiToEvent(ECbmModuleId, Int_t)
void SetTriggerMinNumberRich(Int_t val)
void SetTriggerMaxNumberRich(Int_t val)