CbmRoot
CbmStar2019EventBuilderEtofAlgo.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmStar2019EventBuilderEtofAlgo -----
4 // ----- Created 03.11.2018 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmStar2019EventBuilderEtofAlgo_H
9 #define CbmStar2019EventBuilderEtofAlgo_H
10 
11 #include "CbmStar2019Algo.h"
12 
13 #include "CbmTofDigi.h"
14 #include "CbmTofStarData2019.h"
15 #include "gDpbMessv100.h"
16 
17 #include <bitset>
18 #include <chrono>
19 #include <map>
20 #include <vector>
21 
22 class CbmStar2019TofPar;
23 /*
24 class TCanvas;
25 class THttpServer;
26 */
27 class TH1;
28 class TH2;
29 class TProfile;
30 
32 public:
35 
36  virtual Bool_t Init();
37  virtual void Reset();
38  virtual void Finish();
39 
40  Bool_t InitContainers();
41  Bool_t ReInitContainers();
42  TList* GetParList();
43 
44  Bool_t InitParameters();
45 
46  Bool_t ProcessTs(const fles::Timeslice& ts);
47  Bool_t ProcessTs(const fles::Timeslice& ts, size_t /*component*/) {
48  return ProcessTs(ts);
49  }
50  Bool_t ProcessMs(const fles::Timeslice& ts, size_t uMsCompIdx, size_t uMsIdx);
51 
52  void AddMsComponentToList(size_t component, UShort_t usDetectorId);
53 
54  Bool_t BuildEvents();
55  std::vector<CbmTofStarSubevent2019>& GetEventBuffer() {
56  return fvEventsBuffer;
57  }
58 
59  Bool_t CreateHistograms();
60  Bool_t FillHistograms();
61  Bool_t ResetHistograms();
62 
63  inline void SetMonitorMode(Bool_t bFlagIn = kTRUE) {
64  fbMonitorMode = bFlagIn;
65  }
66  inline void SetDebugMonitorMode(Bool_t bFlagIn = kTRUE) {
67  fbDebugMonitorMode = bFlagIn;
68  }
69  inline void SetStoreLostEventMsg(Bool_t bFlagIn = kTRUE) {
70  fbStoreLostEventMsg = bFlagIn;
71  }
72  inline void SetAddStatusToEvent(Bool_t bFlagIn = kTRUE) {
73  fbAddStatusToEvent = bFlagIn;
74  }
75  inline void SetPulserTotLimits(UInt_t uMin, UInt_t uMax) {
76  fuMinTotPulser = uMin;
77  fuMaxTotPulser = uMax;
78  }
79 
80 private:
82  Bool_t
84  Bool_t
86  Bool_t
88  Bool_t
90 
92  static const UInt_t kuMaxNbErrorsPerGdpbPerEvent =
93  500;
94 
97  UInt_t fuNrOfGdpbs; // Total number of GDPBs in the system
99  std::map<UInt_t, UInt_t> fGdpbIdIndexMap; // gDPB ID to index map
100  UInt_t fuNrOfFeePerGdpb; // Number of FEBs per GDPB
101  UInt_t fuNrOfGet4PerFee; // Number of GET4s per FEE
102  UInt_t fuNrOfChannelsPerGet4; // Number of channels in each GET4
103 
104  UInt_t fuNrOfChannelsPerFee; // Number of channels in each FEE
105  UInt_t fuNrOfGet4; // Total number of Get4 chips in the system
106  UInt_t fuNrOfGet4PerGdpb; // Number of GET4s per GDPB
107  UInt_t fuNrOfChannelsPerGdpb; // Number of channels per GDPB
109  UInt_t fuNrOfGbtx;
111  std::vector<Int_t> fviNrOfRpc;
112  std::vector<Int_t> fviRpcType;
113  std::vector<Int_t> fviRpcSide;
114  std::vector<Int_t> fviModuleId;
117  std::vector<Double_t> fdStarTriggerDeadtime;
118  std::vector<Double_t> fdStarTriggerDelay;
119  std::vector<Double_t> fdStarTriggerWinSize;
120 
124 
126  ULong64_t fulCurrentTsIndex; // Idx of the current TS
127  Double_t
128  fdTsStartTime; // Time in ns of current TS from the index of the first MS first component
129  Double_t
130  fdTsStopTimeCore; // End Time in ns of current TS Core from the index of the first MS first component
131  size_t fuCurrentMs; // Idx of the current MS in TS (0 to fuTotalMsNb)
132  Double_t fdMsTime; // Time in ns of current MS from its index field in header
133  UInt_t fuMsIndex; // Index of current MS within the TS
134  UInt_t fuGdpbId; // Id (hex number) of the GDPB for current message
135  UInt_t
136  fuGdpbNr; // running number (0 to fuNrOfGdpbs) of the GDPB for current message
137  UInt_t
138  fuGet4Id; // running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
139  UInt_t
140  fuGet4Nr; // running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
142 
144  std::vector<ULong64_t> fvulCurrentEpoch;
145  std::vector<ULong64_t>
147  std::vector<ULong64_t> fvulCurrentEpochFull;
148 
150  std::vector<std::vector<gdpbv100::Message>> fvvmEpSupprBuffer;
151  std::vector<std::vector<gdpbv100::FullMessage>>
153  std::vector<std::vector<gdpbv100::FullMessage>>
155  std::vector<std::vector<CbmTofStarTrigger2019>>
157  std::vector<CbmTofStarSubevent2019> fvEventsBuffer;
158 
163  std::vector<ULong64_t> fvulGdpbTsMsb;
164  std::vector<ULong64_t> fvulGdpbTsLsb;
165  std::vector<ULong64_t> fvulStarTsMsb;
166  std::vector<ULong64_t> fvulStarTsMid;
167  std::vector<ULong64_t> fvulGdpbTsFullLast;
168  std::vector<ULong64_t> fvulStarTsFullLast;
169  std::vector<UInt_t> fvuStarTokenLast;
170  std::vector<UInt_t> fvuStarDaqCmdLast;
171  std::vector<UInt_t> fvuStarTrigCmdLast;
172  std::vector<ULong64_t> fvulGdpbTsFullLastCore;
173  std::vector<ULong64_t> fvulStarTsFullLastCore;
174  std::vector<UInt_t> fvuStarTokenLastCore;
175  std::vector<UInt_t> fvuStarDaqCmdLastCore;
176  std::vector<UInt_t> fvuStarTrigCmdLastCore;
177 
179  std::vector<Double_t> fvdMessCandidateTimeStart;
180  std::vector<Double_t> fvdMessCandidateTimeStop;
181  std::vector<Double_t> fvdTrigCandidateTimeStart;
182  std::vector<Double_t> fvdTrigCandidateTimeStop;
185 
187  static const uint32_t kuNbMsgPerPattern = 8;
188  static const uint32_t kuNbAsicPerGdpb = 240;
189  std::vector<std::bitset<kuNbAsicPerGdpb>>
191  std::vector<std::bitset<kuNbAsicPerGdpb>>
193  std::vector<std::bitset<kuNbAsicPerGdpb>>
195  std::vector<std::vector<std::pair<uint64_t,
196  std::bitset<kuNbAsicPerGdpb>>>>
198 
199 
201  std::vector<TH1*> fvhHitsTimeToTriggerRaw;
202  std::vector<TH2*>
204  std::vector<TH1*> fvhHitsTimeToTriggerSel;
205  std::vector<TH2*>
207  std::vector<TH2*>
209  std::vector<TH1*> fvhTriggerDt;
210  std::vector<TH1*>
212  std::vector<TH1*>
214  std::vector<TH1*>
227  TCanvas* fcTimeToTrigRaw;
228  TCanvas* fcTimeToTrigSel;
229  TCanvas* fcTrigDistMs;
230  TCanvas* fcMessDistMs;
231  TCanvas* fcEventBuildStats;
232  TCanvas* fcTriggerStats;
233 
234  void ProcessEpochCycle(uint64_t ulCycleData);
235  void ProcessEpoch(gdpbv100::Message mess);
237 
238  void ProcessEpSupprBuffer(uint32_t uGdpbNr);
239  void StoreMessageInBuffer(gdpbv100::FullMessage fullMess, uint32_t uGdpbNr);
240 
241  void ProcessHit(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4);
242  void ProcessSlCtrl(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4);
243  void ProcessSysMess(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4);
244  void ProcessPattern(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4);
245 
248  uint16_t uGdpbId,
249  uint32_t uIndex,
250  std::pair<uint64_t, std::bitset<kuNbAsicPerGdpb>> statusIn);
251 
255 
257 };
258 
259 #endif
CbmStar2019EventBuilderEtofAlgo::fvulCurrentEpochCycle
std::vector< ULong64_t > fvulCurrentEpochCycle
Definition: CbmStar2019EventBuilderEtofAlgo.h:146
gdpbv100::Message
Definition: gDpbMessv100.h:133
CbmStar2019EventBuilderEtofAlgo::SetDebugMonitorMode
void SetDebugMonitorMode(Bool_t bFlagIn=kTRUE)
Definition: CbmStar2019EventBuilderEtofAlgo.h:66
CbmStar2019EventBuilderEtofAlgo::fuMaxTotPulser
UInt_t fuMaxTotPulser
Definition: CbmStar2019EventBuilderEtofAlgo.h:123
CbmStar2019EventBuilderEtofAlgo::fvulCurrentEpoch
std::vector< ULong64_t > fvulCurrentEpoch
Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs].
Definition: CbmStar2019EventBuilderEtofAlgo.h:144
CbmStar2019EventBuilderEtofAlgo::fuCurrentMs
size_t fuCurrentMs
Definition: CbmStar2019EventBuilderEtofAlgo.h:131
CbmStar2019EventBuilderEtofAlgo::fcTimeToTrigRaw
TCanvas * fcTimeToTrigRaw
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:227
CbmStar2019EventBuilderEtofAlgo::fdStarTriggerDeadtime
std::vector< Double_t > fdStarTriggerDeadtime
Definition: CbmStar2019EventBuilderEtofAlgo.h:117
CbmStar2019EventBuilderEtofAlgo::GetParList
TList * GetParList()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:175
CbmStar2019EventBuilderEtofAlgo::fvulGdpbTsLsb
std::vector< ULong64_t > fvulGdpbTsLsb
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:164
CbmStar2019EventBuilderEtofAlgo::fuNrOfGet4PerFee
UInt_t fuNrOfGet4PerFee
Definition: CbmStar2019EventBuilderEtofAlgo.h:101
CbmStar2019EventBuilderEtofAlgo::fhRawTriggersStats
TH2 * fhRawTriggersStats
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:222
CbmStar2019EventBuilderEtofAlgo::fbDebugMonitorMode
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
Definition: CbmStar2019EventBuilderEtofAlgo.h:85
CbmStar2019EventBuilderEtofAlgo::fvbGdpbLastEnablePattern
std::vector< std::bitset< kuNbAsicPerGdpb > > fvbGdpbLastEnablePattern
[sector][asic] Exclude from dictionnary
Definition: CbmStar2019EventBuilderEtofAlgo.h:192
CbmStar2019EventBuilderEtofAlgo::fvulCurrentEpochFull
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition: CbmStar2019EventBuilderEtofAlgo.h:147
CbmStar2019EventBuilderEtofAlgo::fdTsStartTime
Double_t fdTsStartTime
Definition: CbmStar2019EventBuilderEtofAlgo.h:128
CbmStar2019EventBuilderEtofAlgo::fGdpbIdIndexMap
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Definition: CbmStar2019EventBuilderEtofAlgo.h:99
CbmStar2019EventBuilderEtofAlgo::operator=
CbmStar2019EventBuilderEtofAlgo operator=(const CbmStar2019EventBuilderEtofAlgo &)
CbmStar2019EventBuilderEtofAlgo::fcMessDistMs
TCanvas * fcMessDistMs
All sectors, extra monitor for debug.
Definition: CbmStar2019EventBuilderEtofAlgo.h:230
CbmStar2019EventBuilderEtofAlgo::ProcessHit
void ProcessHit(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1158
CbmStar2019EventBuilderEtofAlgo::fhEventSizeDistributionInTs
TProfile * fhEventSizeDistributionInTs
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:221
CbmStar2019EventBuilderEtofAlgo::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:163
CbmStar2019EventBuilderEtofAlgo::fiEquipmentId
Int_t fiEquipmentId
Definition: CbmStar2019EventBuilderEtofAlgo.h:141
CbmStar2019EventBuilderEtofAlgo::fviRpcSide
std::vector< Int_t > fviRpcSide
Definition: CbmStar2019EventBuilderEtofAlgo.h:113
CbmStar2019EventBuilderEtofAlgo::kuMaxNbErrorsPerGdpbPerEvent
static const UInt_t kuMaxNbErrorsPerGdpbPerEvent
Switch ON the readout and insertion of STATUS pattern message (default is true)
Definition: CbmStar2019EventBuilderEtofAlgo.h:92
CbmStar2019EventBuilderEtofAlgo::fbEpochAfterCandWinFound
Bool_t fbEpochAfterCandWinFound
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:183
CbmStar2019EventBuilderEtofAlgo::fvulStarTsMsb
std::vector< ULong64_t > fvulStarTsMsb
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:165
CbmStar2019EventBuilderEtofAlgo::Init
virtual Bool_t Init()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:144
CbmStar2019EventBuilderEtofAlgo::fhEventSizeDistribution
TH1 * fhEventSizeDistribution
Definition: CbmStar2019EventBuilderEtofAlgo.h:217
CbmStar2019EventBuilderEtofAlgo::ProcessEpoch
void ProcessEpoch(gdpbv100::Message mess)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:712
CbmStar2019EventBuilderEtofAlgo::AddMsComponentToList
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:329
CbmStar2019EventBuilderEtofAlgo::fvhTriggerDistributionInTs
std::vector< TH1 * > fvhTriggerDistributionInTs
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:211
CbmStar2019EventBuilderEtofAlgo::fvulStarTsFullLastCore
std::vector< ULong64_t > fvulStarTsFullLastCore
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:173
CbmStar2019EventBuilderEtofAlgo::InitContainers
Bool_t InitContainers()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:157
CbmStar2019EventBuilderEtofAlgo::fuGet4Id
UInt_t fuGet4Id
Definition: CbmStar2019EventBuilderEtofAlgo.h:138
CbmStar2019EventBuilderEtofAlgo::fhRawTriggersStatsSel
TH2 * fhRawTriggersStatsSel
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:225
CbmStar2019EventBuilderEtofAlgo::fuNrOfChannelsPerFee
UInt_t fuNrOfChannelsPerFee
Definition: CbmStar2019EventBuilderEtofAlgo.h:104
CbmStar2019EventBuilderEtofAlgo::fbTriggerAfterCandWinFound
Bool_t fbTriggerAfterCandWinFound
Definition: CbmStar2019EventBuilderEtofAlgo.h:184
CbmTofStarData2019.h
CbmStar2019EventBuilderEtofAlgo::fcTrigDistMs
TCanvas * fcTrigDistMs
All sectors.
Definition: CbmStar2019EventBuilderEtofAlgo.h:229
CbmStar2019EventBuilderEtofAlgo::fbMonitorMode
Bool_t fbMonitorMode
Control flags.
Definition: CbmStar2019EventBuilderEtofAlgo.h:83
CbmStar2019EventBuilderEtofAlgo::ProcessMs
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:483
CbmStar2019EventBuilderEtofAlgo::CreateHistograms
Bool_t CreateHistograms()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1805
CbmStar2019EventBuilderEtofAlgo::fvdMessCandidateTimeStop
std::vector< Double_t > fvdMessCandidateTimeStop
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:180
CbmStar2019EventBuilderEtofAlgo::fvuStarDaqCmdLast
std::vector< UInt_t > fvuStarDaqCmdLast
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:170
CbmStar2019EventBuilderEtofAlgo::fviRpcType
std::vector< Int_t > fviRpcType
Definition: CbmStar2019EventBuilderEtofAlgo.h:112
CbmTofDigi.h
CbmStar2019EventBuilderEtofAlgo::fuMinTotPulser
UInt_t fuMinTotPulser
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:122
CbmStar2019EventBuilderEtofAlgo::fvvmEpSupprBuffer
std::vector< std::vector< gdpbv100::Message > > fvvmEpSupprBuffer
Epoch + Epoch Cycle.
Definition: CbmStar2019EventBuilderEtofAlgo.h:150
CbmStar2019EventBuilderEtofAlgo::fvdTrigCandidateTimeStart
std::vector< Double_t > fvdTrigCandidateTimeStart
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:181
CbmStar2019EventBuilderEtofAlgo::fuNrOfGdpbs
UInt_t fuNrOfGdpbs
Definition: CbmStar2019EventBuilderEtofAlgo.h:98
CbmStar2019EventBuilderEtofAlgo::fuNrOfModules
UInt_t fuNrOfModules
Definition: CbmStar2019EventBuilderEtofAlgo.h:110
CbmStar2019EventBuilderEtofAlgo::BuildEvents
Bool_t BuildEvents()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1342
CbmStar2019EventBuilderEtofAlgo::fcTimeToTrigSel
TCanvas * fcTimeToTrigSel
All sectors.
Definition: CbmStar2019EventBuilderEtofAlgo.h:228
CbmStar2019EventBuilderEtofAlgo::Reset
virtual void Reset()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:149
CbmStar2019EventBuilderEtofAlgo::CbmStar2019EventBuilderEtofAlgo
CbmStar2019EventBuilderEtofAlgo()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:33
CbmStar2019EventBuilderEtofAlgo::fvuStarDaqCmdLastCore
std::vector< UInt_t > fvuStarDaqCmdLastCore
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:175
CbmStar2019EventBuilderEtofAlgo::kuNbMsgPerPattern
static const uint32_t kuNbMsgPerPattern
ASIC status monitoring.
Definition: CbmStar2019EventBuilderEtofAlgo.h:187
CbmStar2019EventBuilderEtofAlgo
Definition: CbmStar2019EventBuilderEtofAlgo.h:31
CbmStar2019EventBuilderEtofAlgo::fvulGdpbTsFullLastCore
std::vector< ULong64_t > fvulGdpbTsFullLastCore
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:172
CbmStar2019EventBuilderEtofAlgo::fhEventNbEvolution
TH1 * fhEventNbEvolution
Definition: CbmStar2019EventBuilderEtofAlgo.h:219
CbmStar2019EventBuilderEtofAlgo::GetEventBuffer
std::vector< CbmTofStarSubevent2019 > & GetEventBuffer()
Definition: CbmStar2019EventBuilderEtofAlgo.h:55
CbmStar2019EventBuilderEtofAlgo::fvuStarTrigCmdLastCore
std::vector< UInt_t > fvuStarTrigCmdLastCore
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:176
CbmStar2019Algo.h
CbmStar2019EventBuilderEtofAlgo::fvSectorStatusPattern
std::vector< std::vector< std::pair< uint64_t, std::bitset< kuNbAsicPerGdpb > > > > fvSectorStatusPattern
[sector][asic] Exclude from dictionnary
Definition: CbmStar2019EventBuilderEtofAlgo.h:197
CbmStar2019EventBuilderEtofAlgo::fcEventBuildStats
TCanvas * fcEventBuildStats
All sectors, extra monitor for debug.
Definition: CbmStar2019EventBuilderEtofAlgo.h:231
CbmStar2019EventBuilderEtofAlgo::StoreMessageInBuffer
void StoreMessageInBuffer(gdpbv100::FullMessage fullMess, uint32_t uGdpbNr)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1119
CbmStar2019EventBuilderEtofAlgo::fuNrOfFeePerGdpb
UInt_t fuNrOfFeePerGdpb
Definition: CbmStar2019EventBuilderEtofAlgo.h:100
CbmStar2019EventBuilderEtofAlgo::fdStarTriggerWinSize
std::vector< Double_t > fdStarTriggerWinSize
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:119
CbmStar2019Algo
Definition: CbmStar2019Algo.h:43
CbmStar2019EventBuilderEtofAlgo::fvuStarTokenLast
std::vector< UInt_t > fvuStarTokenLast
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:169
CbmStar2019EventBuilderEtofAlgo::fdAllowedTriggersSpread
Double_t fdAllowedTriggersSpread
Event window limits.
Definition: CbmStar2019EventBuilderEtofAlgo.h:116
CbmStar2019EventBuilderEtofAlgo::ProcessPattern
void ProcessPattern(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1255
CbmStar2019EventBuilderEtofAlgo::fvbGdpbLastResyncPattern
std::vector< std::bitset< kuNbAsicPerGdpb > > fvbGdpbLastResyncPattern
[sector][asic] Exclude from dictionnary
Definition: CbmStar2019EventBuilderEtofAlgo.h:194
CbmStar2019EventBuilderEtofAlgo::fdMsTime
Double_t fdMsTime
Definition: CbmStar2019EventBuilderEtofAlgo.h:132
CbmStar2019EventBuilderEtofAlgo::fvhHitsTimeToTriggerRawPulser
std::vector< TH2 * > fvhHitsTimeToTriggerRawPulser
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:203
CbmStar2019EventBuilderEtofAlgo::fvuStarTrigCmdLast
std::vector< UInt_t > fvuStarTrigCmdLast
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:171
CbmStar2019EventBuilderEtofAlgo::ProcessSlCtrl
void ProcessSlCtrl(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1195
CbmStar2019EventBuilderEtofAlgo::fvulStarTsFullLast
std::vector< ULong64_t > fvulStarTsFullLast
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:168
CbmStar2019EventBuilderEtofAlgo::fuNrOfChannelsPerGdpb
UInt_t fuNrOfChannelsPerGdpb
Definition: CbmStar2019EventBuilderEtofAlgo.h:107
CbmStar2019EventBuilderEtofAlgo::fvhHitsTimeToTriggerRaw
std::vector< TH1 * > fvhHitsTimeToTriggerRaw
[sector][Update]<time, [asic]> Exclude from dictionnary
Definition: CbmStar2019EventBuilderEtofAlgo.h:201
CbmStar2019EventBuilderEtofAlgo::fuMsIndex
UInt_t fuMsIndex
Definition: CbmStar2019EventBuilderEtofAlgo.h:133
CbmStar2019EventBuilderEtofAlgo::InitParameters
Bool_t InitParameters()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:182
CbmStar2019EventBuilderEtofAlgo::UpdateStatusPatternCurrGdpb
void UpdateStatusPatternCurrGdpb()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1302
CbmStar2019EventBuilderEtofAlgo::SetPulserTotLimits
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
Definition: CbmStar2019EventBuilderEtofAlgo.h:75
CbmStar2019EventBuilderEtofAlgo::Finish
virtual void Finish()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:150
CbmStar2019EventBuilderEtofAlgo::fvhTriggerDistributionInMs
std::vector< TH1 * > fvhTriggerDistributionInMs
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:213
CbmStar2019EventBuilderEtofAlgo::fvEventsBuffer
std::vector< CbmTofStarSubevent2019 > fvEventsBuffer
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:157
CbmStar2019EventBuilderEtofAlgo::fvhTriggerDt
std::vector< TH1 * > fvhTriggerDt
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:209
CbmStar2019EventBuilderEtofAlgo::fvvBufferMessages
std::vector< std::vector< gdpbv100::FullMessage > > fvvBufferMessages
[sector], buffer to make sure GET4 errors 0-12 are always transmitted
Definition: CbmStar2019EventBuilderEtofAlgo.h:154
CbmStar2019EventBuilderEtofAlgo::fdStarTriggerDelay
std::vector< Double_t > fdStarTriggerDelay
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:118
CbmStar2019EventBuilderEtofAlgo::fdTsStopTimeCore
Double_t fdTsStopTimeCore
Definition: CbmStar2019EventBuilderEtofAlgo.h:130
CbmStar2019EventBuilderEtofAlgo::fbTriggerFoundA
Bool_t fbTriggerFoundA
Event buffer.
Definition: CbmStar2019EventBuilderEtofAlgo.h:160
CbmStar2019EventBuilderEtofAlgo::fvvBufferMajorAsicErrors
std::vector< std::vector< gdpbv100::FullMessage > > fvvBufferMajorAsicErrors
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:152
CbmStar2019EventBuilderEtofAlgo::ProcessTs
Bool_t ProcessTs(const fles::Timeslice &ts)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:346
CbmStar2019EventBuilderEtofAlgo::fhEventSizeEvolution
TProfile * fhEventSizeEvolution
Definition: CbmStar2019EventBuilderEtofAlgo.h:218
CbmStar2019EventBuilderEtofAlgo::FillHistograms
Bool_t FillHistograms()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:2199
CbmStar2019EventBuilderEtofAlgo::fhEventNbDistributionInTs
TH1 * fhEventNbDistributionInTs
Definition: CbmStar2019EventBuilderEtofAlgo.h:220
CbmStar2019EventBuilderEtofAlgo::fulCurrentTsIndex
ULong64_t fulCurrentTsIndex
Running indices.
Definition: CbmStar2019EventBuilderEtofAlgo.h:126
CbmStar2019TofPar
Definition: CbmStar2019TofPar.h:18
CbmStar2019EventBuilderEtofAlgo::fhMissingTriggersEvolution
TH2 * fhMissingTriggersEvolution
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:226
gDpbMessv100.h
CbmStar2019EventBuilderEtofAlgo::fuNrOfGet4
UInt_t fuNrOfGet4
Definition: CbmStar2019EventBuilderEtofAlgo.h:105
CbmStar2019EventBuilderEtofAlgo::CreateStatusMessage
gdpbv100::FullMessage CreateStatusMessage(uint16_t uGdpbId, uint32_t uIndex, std::pair< uint64_t, std::bitset< kuNbAsicPerGdpb >> statusIn)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1315
CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger
void ProcessStarTrigger(gdpbv100::Message mess)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:749
CbmStar2019EventBuilderEtofAlgo::fuGdpbNr
UInt_t fuGdpbNr
Definition: CbmStar2019EventBuilderEtofAlgo.h:136
CbmStar2019EventBuilderEtofAlgo::fbTriggerFoundC
Bool_t fbTriggerFoundC
Definition: CbmStar2019EventBuilderEtofAlgo.h:162
CbmStar2019EventBuilderEtofAlgo::fbTriggerFoundB
Bool_t fbTriggerFoundB
Definition: CbmStar2019EventBuilderEtofAlgo.h:161
CbmStar2019EventBuilderEtofAlgo::fhRawTriggersStatsOver
TH2 * fhRawTriggersStatsOver
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:224
CbmStar2019EventBuilderEtofAlgo::fvuStarTokenLastCore
std::vector< UInt_t > fvuStarTokenLastCore
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:174
CbmStar2019EventBuilderEtofAlgo::CbmStar2019EventBuilderEtofAlgo
CbmStar2019EventBuilderEtofAlgo(const CbmStar2019EventBuilderEtofAlgo &)
CbmStar2019EventBuilderEtofAlgo::fvdTrigCandidateTimeStop
std::vector< Double_t > fvdTrigCandidateTimeStop
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:182
CbmStar2019EventBuilderEtofAlgo::fvbGdpbLastMissmatchPattern
std::vector< std::bitset< kuNbAsicPerGdpb > > fvbGdpbLastMissmatchPattern
Definition: CbmStar2019EventBuilderEtofAlgo.h:190
CbmStar2019EventBuilderEtofAlgo::kuNbAsicPerGdpb
static const uint32_t kuNbAsicPerGdpb
Definition: CbmStar2019EventBuilderEtofAlgo.h:188
CbmStar2019EventBuilderEtofAlgo::fvulGdpbTsFullLast
std::vector< ULong64_t > fvulGdpbTsFullLast
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:167
CbmStar2019EventBuilderEtofAlgo::fvulGdpbTsMsb
std::vector< ULong64_t > fvulGdpbTsMsb
Definition: CbmStar2019EventBuilderEtofAlgo.h:163
CbmStar2019EventBuilderEtofAlgo::fUnpackPar
CbmStar2019TofPar * fUnpackPar
Correspond to ~6000 error messages max per event, leaving 2000 for hits and epoch.
Definition: CbmStar2019EventBuilderEtofAlgo.h:96
CbmStar2019EventBuilderEtofAlgo::fvhMessDistributionInMs
std::vector< TH1 * > fvhMessDistributionInMs
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:215
CbmStar2019EventBuilderEtofAlgo::SetStoreLostEventMsg
void SetStoreLostEventMsg(Bool_t bFlagIn=kTRUE)
Definition: CbmStar2019EventBuilderEtofAlgo.h:69
CbmStar2019EventBuilderEtofAlgo::ProcessTs
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
Definition: CbmStar2019EventBuilderEtofAlgo.h:47
CbmStar2019EventBuilderEtofAlgo::fbAddStatusToEvent
Bool_t fbAddStatusToEvent
Switch ON the insertion of the LostEvent messages from GET4s with the critical errors (default is fal...
Definition: CbmStar2019EventBuilderEtofAlgo.h:89
CbmStar2019EventBuilderEtofAlgo::fcTriggerStats
TCanvas * fcTriggerStats
Definition: CbmStar2019EventBuilderEtofAlgo.h:232
CbmStar2019EventBuilderEtofAlgo::fhRawTriggersStatsCore
TH2 * fhRawTriggersStatsCore
extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:223
CbmStar2019EventBuilderEtofAlgo::ProcessSysMess
void ProcessSysMess(gdpbv100::Message mess, uint64_t ulCurEpochGdpbGet4)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1199
CbmStar2019EventBuilderEtofAlgo::fuNrOfGet4PerGdpb
UInt_t fuNrOfGet4PerGdpb
Definition: CbmStar2019EventBuilderEtofAlgo.h:106
gdpbv100::FullMessage
Definition: gDpbMessv100.h:362
CbmStar2019EventBuilderEtofAlgo::fvhHitsTimeToTriggerSelVsTrig
std::vector< TH2 * > fvhHitsTimeToTriggerSelVsTrig
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:208
CbmStar2019EventBuilderEtofAlgo::fuNrOfGbtx
UInt_t fuNrOfGbtx
Detector Mapping.
Definition: CbmStar2019EventBuilderEtofAlgo.h:109
CbmStar2019EventBuilderEtofAlgo::SetMonitorMode
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Definition: CbmStar2019EventBuilderEtofAlgo.h:63
CbmStar2019EventBuilderEtofAlgo::fuNrOfChannelsPerGet4
UInt_t fuNrOfChannelsPerGet4
Definition: CbmStar2019EventBuilderEtofAlgo.h:102
CbmStar2019EventBuilderEtofAlgo::~CbmStar2019EventBuilderEtofAlgo
~CbmStar2019EventBuilderEtofAlgo()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:133
CbmStar2019EventBuilderEtofAlgo::SetAddStatusToEvent
void SetAddStatusToEvent(Bool_t bFlagIn=kTRUE)
Definition: CbmStar2019EventBuilderEtofAlgo.h:72
CbmStar2019EventBuilderEtofAlgo::ResetHistograms
Bool_t ResetHistograms()
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:2232
CbmStar2019EventBuilderEtofAlgo::fhEventNbPerTs
TH1 * fhEventNbPerTs
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:216
CbmStar2019EventBuilderEtofAlgo::fvulStarTsMid
std::vector< ULong64_t > fvulStarTsMid
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:166
CbmStar2019EventBuilderEtofAlgo::fvhHitsTimeToTriggerSel
std::vector< TH1 * > fvhHitsTimeToTriggerSel
[sector], extra monitor for debug
Definition: CbmStar2019EventBuilderEtofAlgo.h:204
CbmStar2019EventBuilderEtofAlgo::fviModuleId
std::vector< Int_t > fviModuleId
Definition: CbmStar2019EventBuilderEtofAlgo.h:114
CbmStar2019EventBuilderEtofAlgo::fvhHitsTimeToTriggerSelVsDaq
std::vector< TH2 * > fvhHitsTimeToTriggerSelVsDaq
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:206
CbmStar2019EventBuilderEtofAlgo::fuGet4Nr
UInt_t fuGet4Nr
Definition: CbmStar2019EventBuilderEtofAlgo.h:140
CbmStar2019EventBuilderEtofAlgo::fbStoreLostEventMsg
Bool_t fbStoreLostEventMsg
Switch ON the filling of a additional set of histograms.
Definition: CbmStar2019EventBuilderEtofAlgo.h:87
CbmStar2019EventBuilderEtofAlgo::fviNrOfRpc
std::vector< Int_t > fviNrOfRpc
Definition: CbmStar2019EventBuilderEtofAlgo.h:111
CbmStar2019EventBuilderEtofAlgo::fuGdpbId
UInt_t fuGdpbId
Definition: CbmStar2019EventBuilderEtofAlgo.h:134
CbmStar2019EventBuilderEtofAlgo::fvdMessCandidateTimeStart
std::vector< Double_t > fvdMessCandidateTimeStart
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:179
CbmStar2019EventBuilderEtofAlgo::ProcessEpSupprBuffer
void ProcessEpSupprBuffer(uint32_t uGdpbNr)
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:1045
CbmStar2019EventBuilderEtofAlgo::fvvBufferTriggers
std::vector< std::vector< CbmTofStarTrigger2019 > > fvvBufferTriggers
[sector]
Definition: CbmStar2019EventBuilderEtofAlgo.h:156
CbmStar2019EventBuilderEtofAlgo::ProcessEpochCycle
void ProcessEpochCycle(uint64_t ulCycleData)
All sectors, extra monitor for debug.
Definition: CbmStar2019EventBuilderEtofAlgo.cxx:680