CbmRoot
CbmMcbm2019TimeWinEventBuilderAlgo.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef CBMMCBM2019TIMEWINEVENTBUILDERALGO_H
9 #define CBMMCBM2019TIMEWINEVENTBUILDERALGO_H
10 
12 #include "CbmTofDigi.h"
13 
15 #include "FairTask.h"
16 
18 
20 #include <array>
21 #include <map>
22 #include <set>
23 #include <tuple>
24 #include <vector>
25 
26 class TimesliceMetaData;
27 class CbmEvent;
28 class CbmDigiManager;
29 class TClonesArray;
30 class TH1;
31 class TH2;
32 class TNamed;
33 class TCanvas;
34 
36 
38 public:
41  ECbmDataType dataTypeIn,
42  std::string sNameIn) {
43  detId = detIdIn;
44  dataType = dataTypeIn;
45  sName = sNameIn;
46  }
48  ECbmDataType dataTypeIn,
49  std::string sNameIn,
50  UInt_t uTriggerMinDigisIn,
51  Int_t iTriggerMaxDigisIn,
52  Double_t fdTimeWinBegIn,
53  Double_t fdTimeWinEndIn)
54  : EventBuilderDetector(detIdIn, dataTypeIn, sNameIn) {
55  fuTriggerMinDigis = uTriggerMinDigisIn;
56  fiTriggerMaxDigis = iTriggerMaxDigisIn;
57 
58  fdTimeWinBeg = fdTimeWinBegIn;
59  fdTimeWinEnd = fdTimeWinEndIn;
60  }
61 
62  bool operator==(const EventBuilderDetector& other) const {
63  return (other.detId == this->detId);
64  }
65  bool operator!=(const EventBuilderDetector& other) const {
66  return (other.detId != this->detId);
67  }
68 
69  Double_t GetTimeWinRange() { return fdTimeWinEnd - fdTimeWinBeg; }
70 
74  std::string sName = "Invalid";
76  UInt_t fuTriggerMinDigis = 0;
78  Int_t fiTriggerMaxDigis = -1;
80  Double_t fdTimeWinBeg = -100;
81  Double_t fdTimeWinEnd = 100;
82 
84  UInt_t fuStartIndex = 0;
85  UInt_t fuEndIndex = 0;
86 };
87 
105 
107 public:
110 
112  const CbmMcbm2019TimeWinEventBuilderAlgo&) = delete;
115 
118 
120  Bool_t InitAlgo();
121 
123  void ProcessTs();
124 
126  void Finish();
127 
128  void SetFillHistos(Bool_t var) { fbFillHistos = var; }
129  void ResetHistograms(Bool_t bResetTime = kTRUE);
130 
132  ECbmDataType dataTypeIn,
133  std::string sNameIn,
134  UInt_t uTriggerMinDigisIn = 0,
135  Int_t iTriggerMaxDigisIn = -1,
136  Double_t fdTimeWinBegIn = -100,
137  Double_t fdTimeWinEndIn = 100);
138  void AddDetector(ECbmModuleId selDet,
139  ECbmDataType dataTypeIn,
140  std::string sNameIn,
141  UInt_t uTriggerMinDigisIn = 0,
142  Int_t iTriggerMaxDigisIn = -1,
143  Double_t fdTimeWinBegIn = -100,
144  Double_t fdTimeWinEndIn = 100);
145 
146  void SetReferenceDetector(ECbmModuleId refDet) __attribute__((deprecated));
147  void AddDetector(ECbmModuleId selDet) __attribute__((deprecated));
148  void RemoveDetector(ECbmModuleId selDet) __attribute__((deprecated));
149 
151  void AddDetector(EventBuilderDetector selDet);
153 
154  void SetTriggerMinNumber(ECbmModuleId selDet, UInt_t uVal);
155  void SetTriggerMaxNumber(ECbmModuleId selDet, Int_t iVal);
156 
157  void
158  SetTriggerWindow(ECbmModuleId selDet, Double_t dWinBeg, Double_t dWinEnd);
159 
162  void SetIgnoreTsOverlap(Bool_t bFlagIn = kTRUE) {
163  fbIgnoreTsOverlap = bFlagIn;
164  }
165 
167  void AddHistoToVector(TNamed* pointer, std::string sFolder = "") {
168  fvpAllHistoPointers.push_back(
169  std::pair<TNamed*, std::string>(pointer, sFolder));
170  }
171  std::vector<std::pair<TNamed*, std::string>> GetHistoVector() {
172  return fvpAllHistoPointers;
173  }
174  void AddCanvasToVector(TCanvas* pointer, std::string sFolder = "") {
175  fvpAllCanvasPointers.push_back(
176  std::pair<TCanvas*, std::string>(pointer, sFolder));
177  }
178  std::vector<std::pair<TCanvas*, std::string>> GetCanvasVector() {
179  return fvpAllCanvasPointers;
180  }
181 
183  std::vector<CbmEvent*>& GetEventVector() { return fEventVector; }
184  void ClearEventVector();
185 
186 private:
189  void InitTs();
190  void BuildEvents();
191 
192  void CreateHistograms();
193  void FillHistos();
194 
195  template<class DigiSeed>
196  void LoopOnSeeds();
197  void CheckSeed(Double_t dSeedTime, UInt_t uSeedDigiIdx);
198  template<class DigiCheck>
199  void SearchMatches(Double_t dSeedTime, EventBuilderDetector& detMatch);
200  void AddDigiToEvent(EventBuilderDetector& det, Int_t uIdx);
201  Bool_t HasTrigger(CbmEvent*);
203 
206 
208  static constexpr Double_t kdDefaultTimeWinBeg = -100.0;
209  static constexpr Double_t kdDefaultTimeWinEnd = 100.0;
210 
213  Bool_t fbIgnoreTsOverlap = kFALSE;
214  Bool_t fbFillHistos {kTRUE};
217 
220  std::vector<EventBuilderDetector> fvDets = {
227 
231 
236  const std::vector<CbmTofDigi>* fT0DigiVec = nullptr;
237  TClonesArray* fTimeSliceMetaDataArray = nullptr;
238  const TimesliceMetaData* pTsMetaData = nullptr;
239 
242  nullptr;
243  std::vector<CbmEvent*> fEventVector = {};
244 
256  std::vector<std::pair<TNamed*, std::string>>
258  std::vector<std::pair<TCanvas*, std::string>>
260 
261  TH1* fhEventTime = nullptr;
262  TH1* fhEventDt =
263  nullptr;
264  TH1* fhEventSize =
265  nullptr;
267  nullptr;
268  std::vector<TH2*> fvhNbDigiPerEvtTimeDet =
269  {};
270 
272  UInt_t fuCurEv = 0;
273  UInt_t fuErrors = 0;
274  UInt_t fuNrTs = 0;
275  Double_t fdPrevEvtTime = 0.;
276  Double_t fdPrevEvtEndTime =
277  0.;
278 
280 };
281 
282 #endif // CBMMCBM2019TIMEWINEVENTBUILDERALGO_H
CbmMcbm2019TimeWinEventBuilderAlgo::fvDets
std::vector< EventBuilderDetector > fvDets
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:220
CbmMcbm2019TimeWinEventBuilderAlgo::fuErrors
UInt_t fuErrors
Event Counter.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:273
EventBuilderDetector::EventBuilderDetector
EventBuilderDetector(ECbmModuleId detIdIn, ECbmDataType dataTypeIn, std::string sNameIn, UInt_t uTriggerMinDigisIn, Int_t iTriggerMaxDigisIn, Double_t fdTimeWinBegIn, Double_t fdTimeWinEndIn)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:47
EventBuilderDetector::GetTimeWinRange
Double_t GetTimeWinRange()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:69
CbmMcbm2019TimeWinEventBuilderAlgo::CbmMcbm2019TimeWinEventBuilderAlgo
CbmMcbm2019TimeWinEventBuilderAlgo()
CBM headers.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:37
CbmMcbm2019TimeWinEventBuilderAlgo::fvpAllCanvasPointers
std::vector< std::pair< TCanvas *, std::string > > fvpAllCanvasPointers
Vector of pointers to histograms + optional folder name.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:259
CbmMcbm2019TimeWinEventBuilderAlgo::fhEventTime
TH1 * fhEventTime
Vector of pointers to canvases + optional folder name.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:261
CbmMcbm2019TimeWinEventBuilderAlgo::SearchMatches
void SearchMatches(Double_t dSeedTime, EventBuilderDetector &detMatch)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:451
EventBuilderDetector::sName
std::string sName
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:74
ECbmDataType::kRichDigi
@ kRichDigi
CbmMcbm2019TimeWinEventBuilderAlgo::UpdateWidestTimeWinRange
void UpdateWidestTimeWinRange()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:1067
ECbmDataType::kStsDigi
@ kStsDigi
EventBuilderDetector::operator!=
bool operator!=(const EventBuilderDetector &other) const
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:65
kEventBuilderDetRich
static const EventBuilderDetector kEventBuilderDetRich
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:97
CbmMcbm2019TimeWinEventBuilderAlgo::fdWidestTimeWinRange
Double_t fdWidestTimeWinRange
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:230
kEventBuilderDetT0
static const EventBuilderDetector kEventBuilderDetT0
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:101
CbmMcbm2019TimeWinEventBuilderAlgo::fCurrentEvent
CbmEvent * fCurrentEvent
Data ouptut.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:241
kEventBuilderDetMuch
static const EventBuilderDetector kEventBuilderDetMuch
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:91
CbmMcbm2019TimeWinEventBuilderAlgo::fbIgnoreTsOverlap
Bool_t fbIgnoreTsOverlap
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:213
ECbmModuleId::kT0
@ kT0
ToF start Detector.
CbmMcbm2019TimeWinEventBuilderAlgo::CbmMcbm2019TimeWinEventBuilderAlgo
CbmMcbm2019TimeWinEventBuilderAlgo(const CbmMcbm2019TimeWinEventBuilderAlgo &)=delete
CbmMcbm2019TimeWinEventBuilderAlgo::fuNrTs
UInt_t fuNrTs
Error Counter.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:274
kEventBuilderDetTof
static const EventBuilderDetector kEventBuilderDetTof
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:95
TimesliceMetaData
Definition: TimesliceMetaData.h:11
ECbmDataType::kTofDigi
@ kTofDigi
CbmMcbm2019TimeWinEventBuilderAlgo::ResetHistograms
void ResetHistograms(Bool_t bResetTime=kTRUE)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:686
CbmMcbm2019TimeWinEventBuilderAlgo::operator=
CbmMcbm2019TimeWinEventBuilderAlgo operator=(const CbmMcbm2019TimeWinEventBuilderAlgo &)=delete
ECbmModuleId
ECbmModuleId
Definition: CbmDefs.h:33
CbmMcbm2019TimeWinEventBuilderAlgo::AddCanvasToVector
void AddCanvasToVector(TCanvas *pointer, std::string sFolder="")
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:174
CbmMcbm2019TimeWinEventBuilderAlgo::LoopOnSeeds
void LoopOnSeeds()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:211
CbmMcbm2019TimeWinEventBuilderAlgo::SetFillHistos
void SetFillHistos(Bool_t var)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:128
CbmMcbm2019TimeWinEventBuilderAlgo::AddDigiToEvent
void AddDigiToEvent(EventBuilderDetector &det, Int_t uIdx)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:538
CbmTofDigi.h
ECbmModuleId::kTof
@ kTof
Time-of-flight Detector.
EventBuilderDetector::fuEndIndex
UInt_t fuEndIndex
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:85
CbmMcbm2019TimeWinEventBuilderAlgo::InitAlgo
Bool_t InitAlgo()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:43
kEventBuilderDetTrd
static const EventBuilderDetector kEventBuilderDetTrd
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:93
CbmMcbm2019TimeWinEventBuilderAlgo::fhEventDt
TH1 * fhEventDt
histogram with the seed time of the events
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:262
CbmMcbm2019TimeWinEventBuilderAlgo::fRefDet
EventBuilderDetector fRefDet
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:218
CbmMcbm2019TimeWinEventBuilderAlgo::CreateHistograms
void CreateHistograms()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:611
CbmMcbm2019TimeWinEventBuilderAlgo::SetEventOverlapMode
void SetEventOverlapMode(EOverlapMode mode)
Control flags.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:161
__attribute__
nsL1vector __attribute__
CbmMcbm2019TimeWinEventBuilderAlgo::fT0DigiVec
const std::vector< CbmTofDigi > * fT0DigiVec
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:236
CbmMcbm2019TimeWinEventBuilderAlgo::Finish
void Finish()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:128
CbmMcbm2019TimeWinEventBuilderAlgo::SetTriggerWindow
void SetTriggerWindow(ECbmModuleId selDet, Double_t dWinBeg, Double_t dWinEnd)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:1012
CbmMcbm2019TimeWinEventBuilderAlgo::RemoveDetector
void RemoveDetector(ECbmModuleId selDet) __attribute__((deprecated))
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:842
ECbmDataType::kT0Digi
@ kT0Digi
CbmMcbm2019TimeWinEventBuilderAlgo::fdEarliestTimeWinBeg
Double_t fdEarliestTimeWinBeg
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:228
EventBuilderDetector::operator==
bool operator==(const EventBuilderDetector &other) const
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:62
CbmMcbm2019TimeWinEventBuilderAlgo::fuCurEv
UInt_t fuCurEv
histograms with the nb of digis in each detector per event vs seed time of the events
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:272
ECbmDataType::kPsdDigi
@ kPsdDigi
ECbmDataType
ECbmDataType
Definition: CbmDefs.h:76
CbmMcbm2019TimeWinEventBuilderAlgo::BuildEvents
void BuildEvents()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:170
CbmMcbm2019TimeWinEventBuilderAlgo::ClassDefNV
ClassDefNV(CbmMcbm2019TimeWinEventBuilderAlgo, 1)
Save previous event last digi time information.
CbmMcbm2019TimeWinEventBuilderAlgo::kdDefaultTimeWinEnd
static constexpr Double_t kdDefaultTimeWinEnd
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:209
CbmMcbm2019TimeWinEventBuilderAlgo::ProcessTs
void ProcessTs()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:90
CbmMcbm2019TimeWinEventBuilderAlgo::ClearEventVector
void ClearEventVector()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:115
CbmMcbm2019TimeWinEventBuilderAlgo::~CbmMcbm2019TimeWinEventBuilderAlgo
~CbmMcbm2019TimeWinEventBuilderAlgo()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:40
EventBuilderDetector::fuTriggerMinDigis
UInt_t fuTriggerMinDigis
Minimum number of T0 digis needed to generate a trigger, 0 means don't use for trigger generation.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:76
CbmMcbm2019TimeWinEventBuilderAlgo::fhEventSize
TH1 * fhEventSize
histogram with the interval in seed time of consecutive events
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:264
CbmMcbm2019TimeWinEventBuilderAlgo::SetIgnoreTsOverlap
void SetIgnoreTsOverlap(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:162
CbmMcbm2019TimeWinEventBuilderAlgo::UpdateTimeWinBoundariesExtrema
void UpdateTimeWinBoundariesExtrema()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:1054
ECbmModuleId::kRich
@ kRich
Ring-Imaging Cherenkov Detector.
kEventBuilderDetUndef
static const EventBuilderDetector kEventBuilderDetUndef
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:103
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmMcbm2019TimeWinEventBuilderAlgo::AddDetector
void AddDetector(ECbmModuleId selDet, ECbmDataType dataTypeIn, std::string sNameIn, UInt_t uTriggerMinDigisIn=0, Int_t iTriggerMaxDigisIn=-1, Double_t fdTimeWinBegIn=-100, Double_t fdTimeWinEndIn=100)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:727
CbmMcbm2019TimeWinEventBuilderAlgo::CheckSeed
void CheckSeed(Double_t dSeedTime, UInt_t uSeedDigiIdx)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:290
CbmMcbm2019TimeWinEventBuilderAlgo::kdDefaultTimeWinBeg
static constexpr Double_t kdDefaultTimeWinBeg
Constants.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:208
EventBuilderDetector::dataType
ECbmDataType dataType
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:73
EventBuilderDetector::fdTimeWinBeg
Double_t fdTimeWinBeg
Selection Window.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:80
CbmMcbm2019TimeWinEventBuilderAlgo::HasTrigger
Bool_t HasTrigger(CbmEvent *)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:544
EventBuilderDetector
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:37
CbmMcbm2019TimeWinEventBuilderAlgo::fTimeSliceMetaDataArray
TClonesArray * fTimeSliceMetaDataArray
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:237
CbmMcbm2019TimeWinEventBuilderAlgo::GetEventVector
std::vector< CbmEvent * > & GetEventVector()
Data output access.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:183
EventBuilderDetector::EventBuilderDetector
EventBuilderDetector()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:39
CbmMcbm2019TimeWinEventBuilderAlgo::fdPrevEvtEndTime
Double_t fdPrevEvtEndTime
Save previous time information.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:276
ECbmDataType::kTrdDigi
@ kTrdDigi
kEventBuilderDetPsd
static const EventBuilderDetector kEventBuilderDetPsd
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:99
kEventBuilderDetSts
static const EventBuilderDetector kEventBuilderDetSts
Pre-defined detector types.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:89
CbmMcbm2019TimeWinEventBuilderAlgo::FillHistos
void FillHistos()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:665
ECbmDataType::kUnknown
@ kUnknown
EOverlapMode::AllowOverlap
@ AllowOverlap
ECbmModuleId::kTrd
@ kTrd
Transition Radiation Detector.
CbmMcbm2019TimeWinEventBuilderAlgo::fOverMode
EOverlapMode fOverMode
Event building mode and detectors selection.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:216
EventBuilderDetector::fdTimeWinEnd
Double_t fdTimeWinEnd
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:81
CbmMcbm2019TimeWinEventBuilderAlgo::fbFillHistos
Bool_t fbFillHistos
Ignore data in Overlap part of the TS.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:214
CbmMcbm2019TimeWinEventBuilderAlgo::fdLatestTimeWinEnd
Double_t fdLatestTimeWinEnd
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:229
CbmMcbm2019TimeWinEventBuilderAlgo::fhNbDigiPerEvtTime
TH2 * fhNbDigiPerEvtTime
histogram with the nb of all digis in the event
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:266
CbmMcbm2019TimeWinEventBuilderAlgo::fvpAllHistoPointers
std::vector< std::pair< TNamed *, std::string > > fvpAllHistoPointers
vector with all created events
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:257
CbmMcbm2019TimeWinEventBuilderAlgo::SetReferenceDetector
void SetReferenceDetector(ECbmModuleId refDet, ECbmDataType dataTypeIn, std::string sNameIn, UInt_t uTriggerMinDigisIn=0, Int_t iTriggerMaxDigisIn=-1, Double_t fdTimeWinBegIn=-100, Double_t fdTimeWinEndIn=100)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:709
CbmMcbm2019TimeWinEventBuilderAlgo::SetTriggerMinNumber
void SetTriggerMinNumber(ECbmModuleId selDet, UInt_t uVal)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:948
CbmMcbm2019TimeWinEventBuilderAlgo::CheckTriggerConditions
Bool_t CheckTriggerConditions(CbmEvent *event, EventBuilderDetector &det)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:561
EventBuilderDetector::EventBuilderDetector
EventBuilderDetector(ECbmModuleId detIdIn, ECbmDataType dataTypeIn, std::string sNameIn)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:40
CbmMcbm2019TimeWinEventBuilderAlgo::SetTriggerMaxNumber
void SetTriggerMaxNumber(ECbmModuleId selDet, Int_t iVal)
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:980
CbmMcbm2019TimeWinEventBuilderAlgo::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:235
CbmMcbm2019TimeWinEventBuilderAlgo::GetHistoVector
std::vector< std::pair< TNamed *, std::string > > GetHistoVector()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:171
CbmEvent
Class characterising one event by a collection of links (indices) to data objects,...
Definition: CbmEvent.h:30
CbmMcbm2019TimeWinEventBuilderAlgo::pTsMetaData
const TimesliceMetaData * pTsMetaData
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:238
CbmMcbm2019TimeWinEventBuilderAlgo::fEventVector
std::vector< CbmEvent * > fEventVector
pointer to the event which is currently build
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:243
ECbmModuleId::kMuch
@ kMuch
Muon detection system.
ECbmModuleId::kPsd
@ kPsd
Projectile spectator detector.
EOverlapMode
EOverlapMode
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:35
CbmMcbm2019TimeWinEventBuilderAlgo::CheckDataAvailable
Bool_t CheckDataAvailable(EventBuilderDetector &det)
Internal methods.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:133
ECbmModuleId::kNotExist
@ kNotExist
If not found.
ECbmModuleId::kSts
@ kSts
Silicon Tracking System.
CbmMcbm2019TimeWinEventBuilderAlgo::InitTs
void InitTs()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.cxx:156
EOverlapMode::MergeOverlap
@ MergeOverlap
EventBuilderDetector::fuStartIndex
UInt_t fuStartIndex
Book-keeping variables.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:84
EOverlapMode::NoOverlap
@ NoOverlap
CbmMcbm2019TimeWinEventBuilderAlgo::fdPrevEvtTime
Double_t fdPrevEvtTime
Timeslice Counter.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:275
CbmMcbm2019TimeWinEventBuilderAlgo::fvhNbDigiPerEvtTimeDet
std::vector< TH2 * > fvhNbDigiPerEvtTimeDet
histogram with the nb of all digis per event vs seed time of the events
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:268
EventBuilderDetector::detId
ECbmModuleId detId
Settings.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:72
ECbmDataType::kMuchDigi
@ kMuchDigi
CbmMcbm2019TimeWinEventBuilderAlgo
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:106
CbmMcbm2019TimeWinEventBuilderAlgo::AddHistoToVector
void AddHistoToVector(TNamed *pointer, std::string sFolder="")
For monitor algos.
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:167
EventBuilderDetector::fiTriggerMaxDigis
Int_t fiTriggerMaxDigis
Maximum number of digis per detector to generate an event, -1 means no cut, 0 means anti-coinc trigge...
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:78
CbmMcbm2019TimeWinEventBuilderAlgo::GetCanvasVector
std::vector< std::pair< TCanvas *, std::string > > GetCanvasVector()
Definition: CbmMcbm2019TimeWinEventBuilderAlgo.h:178