CbmRoot
CbmStar2019MonitorTof.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmStar2019MonitorTof -----
4 // ----- Created 10.07.2018 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmStar2019MonitorTof_H
9 #define CbmStar2019MonitorTof_H
10 
11 #include "Timeslice.hpp"
12 #include "gDpbMessv100.h"
13 //#include "CbmTofStarData.h"
14 //#include "CbmTofStarData2018.h"
15 
16 #include "CbmMcbmUnpack.h"
17 
18 #include "Rtypes.h"
19 #include "TClonesArray.h"
20 
21 #include <chrono>
22 #include <map>
23 #include <vector>
24 
25 class CbmStar2019TofPar;
26 
27 class TCanvas;
28 class TH1;
29 class TH2;
30 class TProfile;
31 class TProfile2D;
32 
34 public:
36  virtual ~CbmStar2019MonitorTof();
37 
38  virtual Bool_t Init();
39 
40  virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component);
41 
42  virtual void Reset();
43 
44  virtual void Finish();
45 
46  void SetParContainers();
47 
48  Bool_t InitContainers();
49 
50  Bool_t ReInitContainers();
51 
52  void SetMsLimitLevel(size_t uAcceptBoundaryPct = 100) {
53  fuMsAcceptsPercent = uAcceptBoundaryPct;
54  }
55  size_t GetMsLimitLevel() { return fuMsAcceptsPercent; }
56 
57  virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId);
58  virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb);
59  void SetIgnoreMsOverlap(Bool_t bEnaFlag = kTRUE) {
60  fbIgnoreOverlapMs = bEnaFlag;
61  }
62  void SetMsOverlap(size_t uOverlapMsNb = 1) { fuOverlapMsNb = uOverlapMsNb; }
63  size_t GetMsOverlap() { return fuOverlapMsNb; }
64 
65  inline void SetFitZoomWidthPs(Double_t inZoomWidth = 1000.0) {
66  fdFitZoomWidthPs = inZoomWidth;
67  }
68  inline void SetHistoryHistoSize(UInt_t inHistorySizeSec = 1800) {
69  fuHistoryHistoSize = inHistorySizeSec;
70  }
71  inline void SetHistoryHistoSizeLong(UInt_t inHistorySizeMin = 1800) {
72  fuHistoryHistoSizeLong = inHistorySizeMin;
73  }
74 
75  inline void EnablePulserMode(Bool_t bEnaFlag = kTRUE) {
76  fbPulserModeEnable = bEnaFlag;
77  }
78  inline void EnableCoincidenceMaps(Bool_t bEnaFlag = kTRUE) {
79  fbCoincMapsEnable = bEnaFlag;
80  }
81 
82  void SaveAllHistos(TString sFileName = "");
83  void ResetAllHistos();
87  void UpdateZoomedFit();
88 
89 private:
91  std::vector<size_t> fvMsComponentsList;
92  size_t fuNbCoreMsPerTs;
93  size_t fuNbOverMsPerTs;
94  Bool_t
96 
98  size_t
100  size_t fuTotalMsNb;
101  size_t
103  size_t fuCoreMs;
104  Double_t fdMsSizeInNs;
106  UInt_t fuMinNbGdpb;
107  UInt_t fuCurrNbGdpb;
108 
111  UInt_t fuNrOfGdpbs; // Total number of GDPBs in the system
112  UInt_t fuNrOfFeePerGdpb; // Number of FEBs per GDPB
113  UInt_t fuNrOfGet4PerFee; // Number of GET4s per FEE
114  UInt_t fuNrOfChannelsPerGet4; // Number of channels in each GET4
115 
116  UInt_t fuNrOfChannelsPerFee; // Number of channels in each FEE
117  UInt_t fuNrOfGet4; // Total number of Get4 chips in the system
118  UInt_t fuNrOfGet4PerGdpb; // Number of GET4s per GDPB
119  UInt_t fuNrOfChannelsPerGdpb; // Number of channels per GDPB
120 
121  UInt_t fuNrOfGbtx;
123  std::vector<Int_t> fviNrOfRpc;
124  std::vector<Int_t> fviRpcType;
125  std::vector<Int_t> fviRpcSide;
126  std::vector<Int_t> fviModuleId;
127 
128  const UInt_t kuNbFeePerGbtx = 5;
129  const UInt_t kuNbGbtxPerGdpb = 6;
130 
138 
140  uint64_t fulCurrentTsIndex; // Idx of the current TS
141  size_t fuCurrentMs; // Idx of the current MS in TS (0 to fuTotalMsNb)
142  Double_t fdMsIndex; // Time in ns of current MS from its index
143  UInt_t fuGdpbId; // Id (hex number) of the GDPB for current message
144  UInt_t
145  fuGdpbNr; // running number (0 to fuNrOfGdpbs) of the GDPB for current message
146  UInt_t
147  fuGet4Id; // running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
148  UInt_t
149  fuGet4Nr; // running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
151  std::vector<int> fviMsgCounter;
152 
154  std::vector<ULong64_t> fvulGdpbTsMsb;
155  std::vector<ULong64_t> fvulGdpbTsLsb;
156  std::vector<ULong64_t> fvulStarTsMsb;
157  std::vector<ULong64_t> fvulStarTsMid;
158  std::vector<ULong64_t> fvulGdpbTsFullLast;
159  std::vector<ULong64_t> fvulStarTsFullLast;
160  std::vector<UInt_t> fvuStarTokenLast;
161  std::vector<UInt_t> fvuStarDaqCmdLast;
162  std::vector<UInt_t> fvuStarTrigCmdLast;
163 
170  std::vector<ULong64_t> fvulCurrentEpoch;
171  std::vector<Bool_t> fvbFirstEpochSeen;
172  std::vector<ULong64_t>
174  std::vector<ULong64_t> fvulCurrentEpochFull;
175 
178  std::map<UInt_t, UInt_t> fGdpbIdIndexMap;
180 
182  std::vector<std::vector<gdpbv100::Message>> fvmEpSupprBuffer;
183 
185  std::vector<UInt_t> fvuFeeNbHitsLastMs;
186  std::vector<Double_t> fdTsLastPulserHit;
187 
189  std::vector<std::vector<UInt_t>>
191  std::vector<std::vector<Double_t>>
193 
195  // Default value for nb bins in Pulser time difference histos
196  const UInt_t kuNbBinsDt = 2000;
197  Double_t dMinDt;
198  Double_t dMaxDt;
199  // Default number of FEE per channels histograms
200  UInt_t fuNbFeePlot;
202  // Evolution plots control
203  Double_t
205  Double_t
207  Double_t
210  UInt_t
212  // Pulser plots
215  // Flesnet
216  TCanvas* fcMsSizeAll;
217  std::vector<TH1*> fvhMsSzPerLink;
218  std::vector<TProfile*> fvhMsSzTimePerLink;
219 
220  // Messages types and flags
237  std::vector<TH2*> fvhGdpbGet4MessType;
238  std::vector<TH2*> fvhGdpbGet4ChanScm;
239  std::vector<TH2*> fvhGdpbGet4ChanErrors;
250  std::vector<TH2*> fvhGdpbPatternMissmatchEvo;
251  std::vector<TH2*> fvhGdpbPatternEnableEvo;
252  std::vector<TH2*> fvhGdpbPatternResyncEvo;
253 
254  // Hit messages
256  std::vector<TH2*> fvhRawFt_gDPB;
257  std::vector<TH2*> fvhRawTot_gDPB;
258  std::vector<TH1*> fvhChCount_gDPB;
259  std::vector<TH2*> fvhChannelRate_gDPB;
260  std::vector<TH2*> fvhRemapTot_gDPB;
261  std::vector<TH1*> fvhRemapChCount_gDPB;
262  std::vector<TH2*> fvhRemapChRate_gDPB;
263  std::vector<TH1*> fvhFeeRate_gDPB;
264  std::vector<TH1*> fvhFeeErrorRate_gDPB;
265  std::vector<TProfile*> fvhFeeErrorRatio_gDPB;
266  std::vector<TH1*> fvhFeeRateLong_gDPB;
267  std::vector<TH1*> fvhFeeErrorRateLong_gDPB;
268  std::vector<TProfile*> fvhFeeErrorRatioLong_gDPB;
269 
270  const UInt_t kuNbFeeSide = 5;
271  std::vector<TH2*> fvhRemapTotSideA_mod;
272  std::vector<TH2*> fvhRemapTotSideB_mod;
274  std::vector<TH1*> fvhModRate;
275  std::vector<TH1*> fvhModErrorRate;
276  std::vector<TProfile*> fvhModErrorRatio;
277 
279  std::vector<TH1*> fvhTokenMsgType;
280  std::vector<TH1*> fvhTriggerRate;
281  std::vector<TH2*> fvhCmdDaqVsTrig;
282  std::vector<TH2*> fvhStarTokenEvo;
283  std::vector<TProfile*> fvhStarTrigGdpbTsEvo;
284  std::vector<TProfile*> fvhStarTrigStarTsEvo;
285 
287  const Double_t kdMaxDtPulserPs = 300e3;
288  std::vector<std::vector<TH1*>> fvhTimeDiffPulser;
293  std::vector<TProfile*> fvhPulserTimeDiffEvoGbtxGbtx;
294  std::vector<std::vector<TProfile*>> fvvhPulserTimeDiffEvoGdpbGdpb;
295 
297  std::vector<TH2*> fvhCoincMapAllChanGdpb;
298  std::vector<TProfile2D*> fvhCoincMeanAllChanGdpb;
299 
300  void CreateHistograms();
301 
302  void ProcessEpochCycle(uint64_t ulCycleData);
310 
311  inline Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id) {
312  return gdpbId * fuNrOfGet4PerGdpb + get4Id;
313  }
314 
316  std::vector<UInt_t> fvuPadiToGet4;
317  std::vector<UInt_t> fvuGet4ToPadi;
318 
320  static const UInt_t kuNbGet4PerGbtx = 5 * 8;
321  std::vector<UInt_t> fvuElinkToGet4;
322  std::vector<UInt_t> fvuGet4ToElink;
323  inline UInt_t ConvertElinkToGet4(UInt_t uElinkIdx) {
324  return fvuElinkToGet4[uElinkIdx % kuNbGet4PerGbtx]
325  + kuNbGet4PerGbtx * (uElinkIdx / kuNbGet4PerGbtx);
326  }
327  inline UInt_t ConvertGet4ToElink(UInt_t uGet4Idx) {
328  return fvuGet4ToElink[uGet4Idx % kuNbGet4PerGbtx]
329  + kuNbGet4PerGbtx * (uGet4Idx / kuNbGet4PerGbtx);
330  }
331 
333  std::chrono::time_point<std::chrono::system_clock> fTimeLastHistoSaving;
334 
337 
338  ClassDef(CbmStar2019MonitorTof, 1)
339 };
340 
341 #endif
CbmStar2019MonitorTof::fuNrOfChannelsPerGdpb
UInt_t fuNrOfChannelsPerGdpb
Definition: CbmStar2019MonitorTof.h:119
CbmStar2019MonitorTof::EnableCoincidenceMaps
void EnableCoincidenceMaps(Bool_t bEnaFlag=kTRUE)
Definition: CbmStar2019MonitorTof.h:78
CbmStar2019MonitorTof::fvhGdpbPatternEnableEvo
std::vector< TH2 * > fvhGdpbPatternEnableEvo
Definition: CbmStar2019MonitorTof.h:251
CbmStar2019MonitorTof::fuGdpbNr
UInt_t fuGdpbNr
Definition: CbmStar2019MonitorTof.h:145
gdpbv100::Message
Definition: gDpbMessv100.h:133
CbmStar2019MonitorTof::CreateHistograms
void CreateHistograms()
Definition: CbmStar2019MonitorTof.cxx:449
CbmStar2019MonitorTof::fvhGdpbPatternMissmatchEvo
std::vector< TH2 * > fvhGdpbPatternMissmatchEvo
Per MS in gDPB.
Definition: CbmStar2019MonitorTof.h:250
CbmStar2019MonitorTof::fvhRemapTotSideB_mod
std::vector< TH2 * > fvhRemapTotSideB_mod
Definition: CbmStar2019MonitorTof.h:272
CbmStar2019MonitorTof::fuCurrNbGdpb
UInt_t fuCurrNbGdpb
Definition: CbmStar2019MonitorTof.h:107
CbmStar2019MonitorTof::SetParContainers
void SetParContainers()
Definition: CbmStar2019MonitorTof.cxx:198
CbmStar2019MonitorTof::dMinDt
Double_t dMinDt
Definition: CbmStar2019MonitorTof.h:197
CbmStar2019MonitorTof::fvhGdpbGet4ChanErrors
std::vector< TH2 * > fvhGdpbGet4ChanErrors
Definition: CbmStar2019MonitorTof.h:239
CbmStar2019MonitorTof::fvhRawTot_gDPB
std::vector< TH2 * > fvhRawTot_gDPB
Definition: CbmStar2019MonitorTof.h:257
CbmStar2019MonitorTof::CbmStar2019MonitorTof
CbmStar2019MonitorTof(const CbmStar2019MonitorTof &)
CbmStar2019MonitorTof::fvulGdpbTsLsb
std::vector< ULong64_t > fvulGdpbTsLsb
Definition: CbmStar2019MonitorTof.h:155
CbmStar2019MonitorTof::SetMsOverlap
void SetMsOverlap(size_t uOverlapMsNb=1)
Definition: CbmStar2019MonitorTof.h:62
CbmStar2019MonitorTof::ResetEvolutionHistograms
void ResetEvolutionHistograms()
Definition: CbmStar2019MonitorTof.cxx:3424
CbmStar2019MonitorTof::GetMsOverlap
size_t GetMsOverlap()
Definition: CbmStar2019MonitorTof.h:63
CbmStar2019MonitorTof::Finish
virtual void Finish()
Definition: CbmStar2019MonitorTof.cxx:3088
CbmStar2019MonitorTof::fdTsCoreSizeInNs
Double_t fdTsCoreSizeInNs
Definition: CbmStar2019MonitorTof.h:105
CbmStar2019MonitorTof::fvhMsSzTimePerLink
std::vector< TProfile * > fvhMsSzTimePerLink
Definition: CbmStar2019MonitorTof.h:218
CbmStar2019MonitorTof::fdMsIndex
Double_t fdMsIndex
Definition: CbmStar2019MonitorTof.h:142
CbmStar2019MonitorTof::Init
virtual Bool_t Init()
Definition: CbmStar2019MonitorTof.cxx:187
CbmStar2019MonitorTof::fuGdpbId
UInt_t fuGdpbId
Definition: CbmStar2019MonitorTof.h:143
CbmStar2019MonitorTof::fhPatternEnable
TH2 * fhPatternEnable
Definition: CbmStar2019MonitorTof.h:247
CbmStar2019MonitorTof::fuOverlapMsNb
size_t fuOverlapMsNb
Definition: CbmStar2019MonitorTof.h:102
CbmStar2019MonitorTof::fviMsgCounter
std::vector< int > fviMsgCounter
Definition: CbmStar2019MonitorTof.h:151
CbmStar2019MonitorTof::FillEpochInfo
void FillEpochInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2676
CbmStar2019MonitorTof::fuNbFeePlotsPerGdpb
UInt_t fuNbFeePlotsPerGdpb
Definition: CbmStar2019MonitorTof.h:201
CbmStar2019MonitorTof::fhScmSeuCounters
TH2 * fhScmSeuCounters
Definition: CbmStar2019MonitorTof.h:243
CbmStar2019MonitorTof::fbIgnoreOverlapMs
Bool_t fbIgnoreOverlapMs
Definition: CbmStar2019MonitorTof.h:95
CbmMcbmUnpack.h
CbmStar2019MonitorTof::fhScmSeuCountersEvo
TH2 * fhScmSeuCountersEvo
Definition: CbmStar2019MonitorTof.h:244
CbmStar2019MonitorTof::fhGet4MessType
TH2 * fhGet4MessType
Per GET4 in system.
Definition: CbmStar2019MonitorTof.h:225
CbmStar2019MonitorTof::fulCurrentEpochTime
ULong64_t fulCurrentEpochTime
Epoch + Epoch Cycle.
Definition: CbmStar2019MonitorTof.h:176
CbmStar2019MonitorTof::FillHitInfo
void FillHitInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2472
CbmStar2019MonitorTof::UpdateNormedFt
void UpdateNormedFt()
CbmStar2019MonitorTof::fuHistoryHistoSizeLong
UInt_t fuHistoryHistoSizeLong
Definition: CbmStar2019MonitorTof.h:211
CbmStar2019MonitorTof::fvhFeeRate_gDPB
std::vector< TH1 * > fvhFeeRate_gDPB
Definition: CbmStar2019MonitorTof.h:263
CbmStar2019MonitorTof::SaveAllHistos
void SaveAllHistos(TString sFileName="")
Definition: CbmStar2019MonitorTof.cxx:3142
CbmStar2019MonitorTof::fvhModErrorRatio
std::vector< TProfile * > fvhModErrorRatio
Definition: CbmStar2019MonitorTof.h:276
CbmStar2019MonitorTof::GetArrayIndex
Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id)
Definition: CbmStar2019MonitorTof.h:311
CbmStar2019MonitorTof::fvmEpSupprBuffer
std::vector< std::vector< gdpbv100::Message > > fvmEpSupprBuffer
Buffer for suppressed epoch processing.
Definition: CbmStar2019MonitorTof.h:182
CbmStar2019MonitorTof::SetMsLimitLevel
void SetMsLimitLevel(size_t uAcceptBoundaryPct=100)
Definition: CbmStar2019MonitorTof.h:52
CbmStar2019MonitorTof::dMaxDt
Double_t dMaxDt
Definition: CbmStar2019MonitorTof.h:198
CbmStar2019MonitorTof::fuNbCoreMsPerTs
size_t fuNbCoreMsPerTs
Definition: CbmStar2019MonitorTof.h:92
CbmStar2019MonitorTof::fcMsSizeAll
TCanvas * fcMsSizeAll
Definition: CbmStar2019MonitorTof.h:216
CbmStar2019MonitorTof::fvhCoincMeanAllChanGdpb
std::vector< TProfile2D * > fvhCoincMeanAllChanGdpb
Definition: CbmStar2019MonitorTof.h:298
CbmStar2019MonitorTof::fdStartTime
Double_t fdStartTime
Definition: CbmStar2019MonitorTof.h:204
CbmStar2019MonitorTof::fviRpcType
std::vector< Int_t > fviRpcType
Definition: CbmStar2019MonitorTof.h:124
CbmStar2019MonitorTof::fhSysMessType
TH1 * fhSysMessType
Definition: CbmStar2019MonitorTof.h:223
CbmStar2019MonitorTof::fiEquipmentId
Int_t fiEquipmentId
Definition: CbmStar2019MonitorTof.h:150
CbmStar2019MonitorTof::fvulGdpbTsMsb
std::vector< ULong64_t > fvulGdpbTsMsb
Definition: CbmStar2019MonitorTof.h:154
CbmStar2019MonitorTof::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Definition: CbmStar2019MonitorTof.cxx:1865
CbmStar2019MonitorTof::fuCoreMs
size_t fuCoreMs
Definition: CbmStar2019MonitorTof.h:103
CbmStar2019MonitorTof::fviNrOfRpc
std::vector< Int_t > fviNrOfRpc
Definition: CbmStar2019MonitorTof.h:123
CbmStar2019MonitorTof::kuNbFeeSide
const UInt_t kuNbFeeSide
Definition: CbmStar2019MonitorTof.h:270
CbmStar2019MonitorTof::CbmStar2019MonitorTof
CbmStar2019MonitorTof()
Definition: CbmStar2019MonitorTof.cxx:48
CbmStar2019MonitorTof::fhGdpbSysMessPattType
TH2 * fhGdpbSysMessPattType
Definition: CbmStar2019MonitorTof.h:232
CbmStar2019MonitorTof::fhScmDeadtimeCounters
TH2 * fhScmDeadtimeCounters
Definition: CbmStar2019MonitorTof.h:242
CbmStar2019MonitorTof::fvhTokenMsgType
std::vector< TH1 * > fvhTokenMsgType
Definition: CbmStar2019MonitorTof.h:279
CbmStar2019MonitorTof::fvhRemapChRate_gDPB
std::vector< TH2 * > fvhRemapChRate_gDPB
Definition: CbmStar2019MonitorTof.h:262
CbmStar2019MonitorTof::ConvertGet4ToElink
UInt_t ConvertGet4ToElink(UInt_t uGet4Idx)
Definition: CbmStar2019MonitorTof.h:327
CbmStar2019MonitorTof::fvhTimeDiffPulser
std::vector< std::vector< TH1 * > > fvhTimeDiffPulser
Definition: CbmStar2019MonitorTof.h:288
CbmStar2019MonitorTof::EnablePulserMode
void EnablePulserMode(Bool_t bEnaFlag=kTRUE)
Definition: CbmStar2019MonitorTof.h:75
CbmStar2019MonitorTof::fvdCoincTsLastHit
std::vector< std::vector< Double_t > > fvdCoincTsLastHit
[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]
Definition: CbmStar2019MonitorTof.h:192
CbmStar2019MonitorTof::fuNrOfGdpbs
UInt_t fuNrOfGdpbs
Definition: CbmStar2019MonitorTof.h:111
CbmStar2019MonitorTof::fvhFeeErrorRatioLong_gDPB
std::vector< TProfile * > fvhFeeErrorRatioLong_gDPB
Definition: CbmStar2019MonitorTof.h:268
CbmStar2019MonitorTof::SetNbMsInTs
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
Definition: CbmStar2019MonitorTof.cxx:442
CbmStar2019MonitorTof::fvhStarTokenEvo
std::vector< TH2 * > fvhStarTokenEvo
Definition: CbmStar2019MonitorTof.h:282
CbmStar2019MonitorTof::fvhModErrorRate
std::vector< TH1 * > fvhModErrorRate
Definition: CbmStar2019MonitorTof.h:275
CbmStar2019MonitorTof::fvulStarTsMsb
std::vector< ULong64_t > fvulStarTsMsb
Definition: CbmStar2019MonitorTof.h:156
CbmStar2019MonitorTof::fbPrintAllEpochsEnable
Bool_t fbPrintAllEpochsEnable
Definition: CbmStar2019MonitorTof.h:135
CbmStar2019MonitorTof::fvulStarTsMid
std::vector< ULong64_t > fvulStarTsMid
Definition: CbmStar2019MonitorTof.h:157
CbmStar2019MonitorTof::fvhPulserTimeDiffEvoGbtxGbtx
std::vector< TProfile * > fvhPulserTimeDiffEvoGbtxGbtx
Definition: CbmStar2019MonitorTof.h:293
CbmStar2019MonitorTof::SetFitZoomWidthPs
void SetFitZoomWidthPs(Double_t inZoomWidth=1000.0)
Definition: CbmStar2019MonitorTof.h:65
CbmStar2019MonitorTof::fvuCoincNbHitsLastMs
std::vector< std::vector< UInt_t > > fvuCoincNbHitsLastMs
[ fuFeeNr ]
Definition: CbmStar2019MonitorTof.h:190
CbmStar2019MonitorTof::~CbmStar2019MonitorTof
virtual ~CbmStar2019MonitorTof()
Definition: CbmStar2019MonitorTof.cxx:185
CbmStar2019MonitorTof::fvuStarDaqCmdLast
std::vector< UInt_t > fvuStarDaqCmdLast
Definition: CbmStar2019MonitorTof.h:161
CbmStar2019MonitorTof::fUnpackPar
CbmStar2019TofPar * fUnpackPar
Definition: CbmStar2019MonitorTof.h:110
CbmStar2019MonitorTof::fuHistoryHistoSize
UInt_t fuHistoryHistoSize
Definition: CbmStar2019MonitorTof.h:209
CbmStar2019MonitorTof::fvhMsSzPerLink
std::vector< TH1 * > fvhMsSzPerLink
Definition: CbmStar2019MonitorTof.h:217
CbmStar2019MonitorTof::PrintSlcInfo
void PrintSlcInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2718
CbmStar2019MonitorTof::fvhFeeErrorRateLong_gDPB
std::vector< TH1 * > fvhFeeErrorRateLong_gDPB
Definition: CbmStar2019MonitorTof.h:267
CbmStar2019MonitorTof::fuNrOfChannelsPerFee
UInt_t fuNrOfChannelsPerFee
Definition: CbmStar2019MonitorTof.h:116
CbmStar2019MonitorTof::kuNbGet4PerGbtx
static const UInt_t kuNbGet4PerGbtx
Definition: CbmStar2019MonitorTof.h:320
CbmStar2019MonitorTof::kuNbFeePerGbtx
const UInt_t kuNbFeePerGbtx
Definition: CbmStar2019MonitorTof.h:128
CbmStar2019MonitorTof::fbPulserModeEnable
Bool_t fbPulserModeEnable
Definition: CbmStar2019MonitorTof.h:136
CbmStar2019MonitorTof::fuNrOfGet4
UInt_t fuNrOfGet4
Definition: CbmStar2019MonitorTof.h:117
CbmStar2019MonitorTof::fvulStarTsFullLast
std::vector< ULong64_t > fvulStarTsFullLast
Definition: CbmStar2019MonitorTof.h:159
CbmStar2019MonitorTof::fvhCoincMapAllChanGdpb
std::vector< TH2 * > fvhCoincMapAllChanGdpb
Definition: CbmStar2019MonitorTof.h:297
CbmStar2019MonitorTof::fvhRawFt_gDPB
std::vector< TH2 * > fvhRawFt_gDPB
TODO: Channel rate plots!
Definition: CbmStar2019MonitorTof.h:256
CbmStar2019MonitorTof::fhGdpbSysMessType
TH2 * fhGdpbSysMessType
Definition: CbmStar2019MonitorTof.h:231
CbmStar2019MonitorTof::fvulCurrentEpoch
std::vector< ULong64_t > fvulCurrentEpoch
Definition: CbmStar2019MonitorTof.h:170
CbmStar2019MonitorTof::fulCurrentTsIndex
uint64_t fulCurrentTsIndex
Definition: CbmStar2019MonitorTof.h:140
CbmStar2019MonitorTof::fuMinNbGdpb
UInt_t fuMinNbGdpb
Definition: CbmStar2019MonitorTof.h:106
CbmStar2019MonitorTof::UpdateZoomedFit
void UpdateZoomedFit()
Definition: CbmStar2019MonitorTof.cxx:3461
CbmStar2019MonitorTof::fvhStarTrigStarTsEvo
std::vector< TProfile * > fvhStarTrigStarTsEvo
Definition: CbmStar2019MonitorTof.h:284
CbmStar2019MonitorTof::fuNrOfModules
UInt_t fuNrOfModules
Definition: CbmStar2019MonitorTof.h:122
CbmStar2019MonitorTof::fvhFeeErrorRate_gDPB
std::vector< TH1 * > fvhFeeErrorRate_gDPB
Definition: CbmStar2019MonitorTof.h:264
CbmStar2019MonitorTof::ResetLongEvolutionHistograms
void ResetLongEvolutionHistograms()
Definition: CbmStar2019MonitorTof.cxx:3447
CbmStar2019MonitorTof::fvhChannelRate_gDPB
std::vector< TH2 * > fvhChannelRate_gDPB
Definition: CbmStar2019MonitorTof.h:259
CbmStar2019MonitorTof::Reset
virtual void Reset()
Definition: CbmStar2019MonitorTof.cxx:3086
CbmStar2019MonitorTof::SetHistoryHistoSize
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Definition: CbmStar2019MonitorTof.h:68
CbmStar2019MonitorTof::fvhChCount_gDPB
std::vector< TH1 * > fvhChCount_gDPB
Definition: CbmStar2019MonitorTof.h:258
CbmStar2019MonitorTof::fuCurrentMs
size_t fuCurrentMs
Definition: CbmStar2019MonitorTof.h:141
CbmStar2019MonitorTof::operator=
CbmStar2019MonitorTof operator=(const CbmStar2019MonitorTof &)
CbmStar2019MonitorTof::fuMsAcceptsPercent
size_t fuMsAcceptsPercent
/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/
Definition: CbmStar2019MonitorTof.h:99
CbmStar2019MonitorTof::fvMsComponentsList
std::vector< size_t > fvMsComponentsList
FLES containers.
Definition: CbmStar2019MonitorTof.h:91
CbmStar2019MonitorTof::fhPatternResync
TH2 * fhPatternResync
Definition: CbmStar2019MonitorTof.h:248
CbmStar2019MonitorTof::fvhRemapChCount_gDPB
std::vector< TH1 * > fvhRemapChCount_gDPB
Definition: CbmStar2019MonitorTof.h:261
CbmStar2019MonitorTof::GetMsLimitLevel
size_t GetMsLimitLevel()
Definition: CbmStar2019MonitorTof.h:55
CbmStar2019MonitorTof::fhPatternMissmatch
TH2 * fhPatternMissmatch
Pattern messages per gDPB.
Definition: CbmStar2019MonitorTof.h:246
CbmStar2019MonitorTof::fdFitZoomWidthPs
Double_t fdFitZoomWidthPs
Definition: CbmStar2019MonitorTof.h:214
CbmStar2019MonitorTof::fvvhPulserTimeDiffEvoGdpbGdpb
std::vector< std::vector< TProfile * > > fvvhPulserTimeDiffEvoGdpbGdpb
Definition: CbmStar2019MonitorTof.h:294
CbmStar2019MonitorTof::fTimeLastHistoSaving
std::chrono::time_point< std::chrono::system_clock > fTimeLastHistoSaving
Definition: CbmStar2019MonitorTof.h:333
CbmStar2019MonitorTof::fhGet4EpochFlags
TH2 * fhGet4EpochFlags
Definition: CbmStar2019MonitorTof.h:228
CbmStar2019MonitorTof::fvuGet4ToPadi
std::vector< UInt_t > fvuGet4ToPadi
Definition: CbmStar2019MonitorTof.h:317
CbmStar2019MonitorTof::PrintSysInfo
void PrintSysInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2835
CbmStar2019MonitorTof::fvulCurrentEpochFull
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition: CbmStar2019MonitorTof.h:174
CbmStar2019MonitorTof::fhGdpbMessType
TH2 * fhGdpbMessType
Per Gdpb.
Definition: CbmStar2019MonitorTof.h:230
CbmStar2019MonitorTof::fvhRemapTot_gDPB
std::vector< TH2 * > fvhRemapTot_gDPB
Definition: CbmStar2019MonitorTof.h:260
CbmStar2019MonitorTof::fuNrOfChannelsPerGet4
UInt_t fuNrOfChannelsPerGet4
Definition: CbmStar2019MonitorTof.h:114
CbmStar2019TofPar
Definition: CbmStar2019TofPar.h:18
CbmStar2019MonitorTof::fhGdpbEpochFlags
TH2 * fhGdpbEpochFlags
Definition: CbmStar2019MonitorTof.h:233
CbmStar2019MonitorTof::fvulCurrentEpochCycle
std::vector< ULong64_t > fvulCurrentEpochCycle
Definition: CbmStar2019MonitorTof.h:173
CbmStar2019MonitorTof::fvhRemapTotSideA_mod
std::vector< TH2 * > fvhRemapTotSideA_mod
Definition: CbmStar2019MonitorTof.h:271
CbmStar2019MonitorTof::fviRpcSide
std::vector< Int_t > fviRpcSide
Definition: CbmStar2019MonitorTof.h:125
gDpbMessv100.h
CbmStar2019MonitorTof::fuNrOfGet4PerGdpb
UInt_t fuNrOfGet4PerGdpb
Definition: CbmStar2019MonitorTof.h:118
CbmStar2019MonitorTof::fvhTriggerRate
std::vector< TH1 * > fvhTriggerRate
Definition: CbmStar2019MonitorTof.h:280
CbmStar2019MonitorTof::fvuElinkToGet4
std::vector< UInt_t > fvuElinkToGet4
5 FEE with 8 GET4 each
Definition: CbmStar2019MonitorTof.h:321
CbmStar2019MonitorTof::fvuStarTrigCmdLast
std::vector< UInt_t > fvuStarTrigCmdLast
Definition: CbmStar2019MonitorTof.h:162
CbmStar2019MonitorTof::fGdpbIdIndexMap
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Map of ID to index for the gDPBs.
Definition: CbmStar2019MonitorTof.h:179
CbmStar2019MonitorTof::fvulGdpbTsFullLast
std::vector< ULong64_t > fvulGdpbTsFullLast
Definition: CbmStar2019MonitorTof.h:158
CbmStar2019MonitorTof::AddMsComponentToList
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Definition: CbmStar2019MonitorTof.cxx:403
CbmStar2019MonitorTof::fhScmScalerCounters
TH2 * fhScmScalerCounters
Slow control messages.
Definition: CbmStar2019MonitorTof.h:241
CbmStar2019MonitorTof::fdTsLastPulserHit
std::vector< Double_t > fdTsLastPulserHit
[ fuFeeNr ]
Definition: CbmStar2019MonitorTof.h:186
CbmStar2019MonitorTof::InitContainers
Bool_t InitContainers()
Definition: CbmStar2019MonitorTof.cxx:205
CbmStar2019MonitorTof::PrintGenInfo
void PrintGenInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2825
CbmStar2019MonitorTof::fdStartTimeLong
Double_t fdStartTimeLong
Definition: CbmStar2019MonitorTof.h:206
CbmStar2019MonitorTof
Definition: CbmStar2019MonitorTof.h:33
CbmStar2019MonitorTof::fvhGdpbPatternResyncEvo
std::vector< TH2 * > fvhGdpbPatternResyncEvo
Definition: CbmStar2019MonitorTof.h:252
CbmStar2019MonitorTof::fhTimeRmsPulser
TH2 * fhTimeRmsPulser
Definition: CbmStar2019MonitorTof.h:290
CbmStar2019MonitorTof::FillPattInfo
void FillPattInfo(gdpbv100::Message)
Definition: CbmStar2019MonitorTof.cxx:2896
CbmStar2019MonitorTof::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmStar2019MonitorTof.cxx:226
CbmStar2019MonitorTof::fvhGdpbGet4ChanScm
std::vector< TH2 * > fvhGdpbGet4ChanScm
Definition: CbmStar2019MonitorTof.h:238
CbmStar2019MonitorTof::ResetAllHistos
void ResetAllHistos()
Definition: CbmStar2019MonitorTof.cxx:3306
CbmStar2019MonitorTof::SetHistoryHistoSizeLong
void SetHistoryHistoSizeLong(UInt_t inHistorySizeMin=1800)
Definition: CbmStar2019MonitorTof.h:71
CbmStar2019MonitorTof::fvuFeeNbHitsLastMs
std::vector< UInt_t > fvuFeeNbHitsLastMs
Buffer for pulser channels.
Definition: CbmStar2019MonitorTof.h:185
CbmStar2019MonitorTof::fvuPadiToGet4
std::vector< UInt_t > fvuPadiToGet4
Definition: CbmStar2019MonitorTof.h:316
CbmStar2019MonitorTof::FillStarTrigInfo
void FillStarTrigInfo(gdpbv100::Message)
CbmStar2019MonitorTof::ConvertElinkToGet4
UInt_t ConvertElinkToGet4(UInt_t uElinkIdx)
Definition: CbmStar2019MonitorTof.h:323
CbmStar2019MonitorTof::fvhModRate
std::vector< TH1 * > fvhModRate
module plots
Definition: CbmStar2019MonitorTof.h:274
CbmStar2019MonitorTof::fuGet4Nr
UInt_t fuGet4Nr
Definition: CbmStar2019MonitorTof.h:149
CbmStar2019MonitorTof::kuNbGbtxPerGdpb
const UInt_t kuNbGbtxPerGdpb
Definition: CbmStar2019MonitorTof.h:129
CbmStar2019MonitorTof::fvbFirstEpochSeen
std::vector< Bool_t > fvbFirstEpochSeen
Definition: CbmStar2019MonitorTof.h:171
CbmStar2019MonitorTof::fhMessType
TH1 * fhMessType
In System.
Definition: CbmStar2019MonitorTof.h:222
CbmStar2019MonitorTof::fuGet4Id
UInt_t fuGet4Id
Definition: CbmStar2019MonitorTof.h:147
CbmStar2019MonitorTof::fvuStarTokenLast
std::vector< UInt_t > fvuStarTokenLast
Definition: CbmStar2019MonitorTof.h:160
CbmStar2019MonitorTof::fvhCmdDaqVsTrig
std::vector< TH2 * > fvhCmdDaqVsTrig
Definition: CbmStar2019MonitorTof.h:281
CbmStar2019MonitorTof::fvhFeeErrorRatio_gDPB
std::vector< TProfile * > fvhFeeErrorRatio_gDPB
Definition: CbmStar2019MonitorTof.h:265
CbmStar2019MonitorTof::fhGdpbEpochMissEvo
TH2 * fhGdpbEpochMissEvo
Definition: CbmStar2019MonitorTof.h:235
CbmStar2019MonitorTof::SetIgnoreMsOverlap
void SetIgnoreMsOverlap(Bool_t bEnaFlag=kTRUE)
Definition: CbmStar2019MonitorTof.h:59
CbmStar2019MonitorTof::fdStartTimeMsSz
Double_t fdStartTimeMsSz
Definition: CbmStar2019MonitorTof.h:208
CbmStar2019MonitorTof::fuNrOfGbtx
UInt_t fuNrOfGbtx
Definition: CbmStar2019MonitorTof.h:121
CbmStar2019MonitorTof::fuRawDataPrintMsgNb
UInt_t fuRawDataPrintMsgNb
Definition: CbmStar2019MonitorTof.h:132
CbmStar2019MonitorTof::fhTimeResFitPuls
TH2 * fhTimeResFitPuls
Definition: CbmStar2019MonitorTof.h:292
CbmStar2019MonitorTof::fuRawDataPrintMsgIdx
UInt_t fuRawDataPrintMsgIdx
Definition: CbmStar2019MonitorTof.h:133
CbmStar2019MonitorTof::ProcessEpochCycle
void ProcessEpochCycle(uint64_t ulCycleData)
Definition: CbmStar2019MonitorTof.cxx:2443
CbmStar2019MonitorTof::fuNbFeePlot
UInt_t fuNbFeePlot
Definition: CbmStar2019MonitorTof.h:200
CbmStar2019MonitorTof::fviModuleId
std::vector< Int_t > fviModuleId
Definition: CbmStar2019MonitorTof.h:126
CbmStar2019MonitorTof::fhTimeRmsZoomFitPuls
TH2 * fhTimeRmsZoomFitPuls
Definition: CbmStar2019MonitorTof.h:291
CbmStar2019MonitorTof::fvhGdpbGet4MessType
std::vector< TH2 * > fvhGdpbGet4MessType
Per GET4 in gDPB.
Definition: CbmStar2019MonitorTof.h:237
CbmMcbmUnpack
Definition: CbmMcbmUnpack.h:15
CbmStar2019MonitorTof::fhGdpbEpochSyncEvo
TH2 * fhGdpbEpochSyncEvo
Definition: CbmStar2019MonitorTof.h:234
CbmStar2019MonitorTof::fvhStarTrigGdpbTsEvo
std::vector< TProfile * > fvhStarTrigGdpbTsEvo
Definition: CbmStar2019MonitorTof.h:283
CbmStar2019MonitorTof::fhGet4ChanErrors
TH2 * fhGet4ChanErrors
Definition: CbmStar2019MonitorTof.h:227
CbmStar2019MonitorTof::fuNbOverMsPerTs
size_t fuNbOverMsPerTs
Definition: CbmStar2019MonitorTof.h:93
CbmStar2019MonitorTof::fdMsSizeInNs
Double_t fdMsSizeInNs
Definition: CbmStar2019MonitorTof.h:104
CbmStar2019MonitorTof::fhTimeMeanPulser
TH2 * fhTimeMeanPulser
Definition: CbmStar2019MonitorTof.h:289
CbmStar2019MonitorTof::kdMaxDtPulserPs
const Double_t kdMaxDtPulserPs
Definition: CbmStar2019MonitorTof.h:287
CbmStar2019MonitorTof::fhGet4ChanScm
TH2 * fhGet4ChanScm
Definition: CbmStar2019MonitorTof.h:226
CbmStar2019MonitorTof::fuTotalMsNb
size_t fuTotalMsNb
Definition: CbmStar2019MonitorTof.h:100
CbmStar2019MonitorTof::fuNrOfFeePerGdpb
UInt_t fuNrOfFeePerGdpb
Definition: CbmStar2019MonitorTof.h:112
CbmStar2019MonitorTof::fvuGet4ToElink
std::vector< UInt_t > fvuGet4ToElink
Definition: CbmStar2019MonitorTof.h:322
CbmStar2019MonitorTof::kuNbBinsDt
const UInt_t kuNbBinsDt
[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]
Definition: CbmStar2019MonitorTof.h:196
CbmStar2019MonitorTof::fbPrintAllHitsEnable
Bool_t fbPrintAllHitsEnable
Definition: CbmStar2019MonitorTof.h:134
CbmStar2019MonitorTof::fdLastRmsUpdateTime
Double_t fdLastRmsUpdateTime
Definition: CbmStar2019MonitorTof.h:213
CbmStar2019MonitorTof::fvhFeeRateLong_gDPB
std::vector< TH1 * > fvhFeeRateLong_gDPB
Definition: CbmStar2019MonitorTof.h:266
CbmStar2019MonitorTof::fuNrOfGet4PerFee
UInt_t fuNrOfGet4PerFee
Definition: CbmStar2019MonitorTof.h:113
CbmStar2019MonitorTof::fbCoincMapsEnable
Bool_t fbCoincMapsEnable
Definition: CbmStar2019MonitorTof.h:137