CbmRoot
CbmMcbm2018TofTestFee.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmMcbm2018TofTestFee -----
4 // ----- Created 10.07.2018 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmMcbm2018TofTestFee_H
9 #define CbmMcbm2018TofTestFee_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 CbmMcbm2018TofPar;
26 
27 class TCanvas;
28 class TH1;
29 class TH2;
30 class TProfile;
31 class TProfile2D;
32 
34 public:
36  virtual ~CbmMcbm2018TofTestFee();
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 SelectTestFees(UInt_t uGdpbA,
66  UInt_t uGbtxA,
67  UInt_t uFeeA,
68  UInt_t uGdpbB,
69  UInt_t uGbtxB,
70  UInt_t uFeeB) {
71  fuGdpbA = uGdpbA;
72  fuGbtxA = uGbtxA;
73  fuFeeA = uFeeA;
74  fuGdpbB = uGdpbB;
75  fuGbtxB = uGbtxB;
76  fuFeeB = uFeeB;
77  }
78  inline void SetFitZoomWidthPs(Double_t inZoomWidth = 1000.0) {
79  fdFitZoomWidthPs = inZoomWidth;
80  }
81  inline void SetHistoryHistoSize(UInt_t inHistorySizeSec = 1800) {
82  fuHistoryHistoSize = inHistorySizeSec;
83  }
84 
85  void SaveAllHistos(TString sFileName = "");
86  void ResetAllHistos();
88  void UpdateZoomedFit(std::vector<std::vector<TH1*>> phTimeDiff,
89  TH2* phTimeRmsZoom,
90  TH2* phTimeResFit);
91 
92  void SetHistoFileName(TString sFileName = "data/HistosTofFeeTest.root") {
93  fsHistoFileFullname = sFileName;
94  }
95 
96  void UseDaqBuffer(Bool_t) {};
97 
98 private:
100  std::vector<size_t> fvMsComponentsList;
103  Bool_t
105 
108 
110  size_t
112  size_t fuTotalMsNb;
113  size_t
115  size_t fuCoreMs;
116  Double_t fdMsSizeInNs;
118  UInt_t fuMinNbGdpb;
119  UInt_t fuCurrNbGdpb;
120 
123  UInt_t fuNrOfGdpbs; // Total number of GDPBs in the system
124  UInt_t fuNrOfFeePerGdpb; // Number of FEBs per GDPB
125  UInt_t fuNrOfGet4PerFee; // Number of GET4s per FEE
126  UInt_t fuNrOfChannelsPerGet4; // Number of channels in each GET4
127 
128  UInt_t fuNrOfChannelsPerFee; // Number of channels in each FEE
129  UInt_t fuNrOfGet4; // Total number of Get4 chips in the system
130  UInt_t fuNrOfGet4PerGdpb; // Number of GET4s per GDPB
131  UInt_t fuNrOfChannelsPerGdpb; // Number of channels per GDPB
132 
133  UInt_t fuNrOfGbtx;
135  std::vector<Int_t> fviNrOfRpc;
136  std::vector<Int_t> fviRpcType;
137  std::vector<Int_t> fviRpcSide;
138  std::vector<Int_t> fviModuleId;
139 
140  const UInt_t kuNbFeePerGbtx = 5;
141  const UInt_t kuNbGbtxPerGdpb = 6;
142 
148 
150  uint64_t fulCurrentTsIndex; // Idx of the current TS
151  size_t fuCurrentMs; // Idx of the current MS in TS (0 to fuTotalMsNb)
152  size_t fuCurrentMsSysId; // SysId of the current MS in TS (0 to fuTotalMsNb)
153  Double_t fdMsIndex; // Time in ns of current MS from its index
154  UInt_t fuGdpbId; // Id (hex number) of the GDPB for current message
155  UInt_t
156  fuGdpbNr; // running number (0 to fuNrOfGdpbs) of the GDPB for current message
157  UInt_t
158  fuGet4Id; // running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
159  UInt_t
160  fuGet4Nr; // running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
162  std::vector<int> fviMsgCounter;
163 
165  std::vector<ULong64_t> fvulGdpbTsMsb;
166  std::vector<ULong64_t> fvulGdpbTsLsb;
167  std::vector<ULong64_t> fvulStarTsMsb;
168  std::vector<ULong64_t> fvulStarTsMid;
169  std::vector<ULong64_t> fvulGdpbTsFullLast;
170  std::vector<ULong64_t> fvulStarTsFullLast;
171  std::vector<UInt_t> fvuStarTokenLast;
172  std::vector<UInt_t> fvuStarDaqCmdLast;
173  std::vector<UInt_t> fvuStarTrigCmdLast;
174 
181  std::vector<ULong64_t> fvulCurrentEpoch;
182  std::vector<Bool_t> fvbFirstEpochSeen;
183  std::vector<ULong64_t>
185  std::vector<ULong64_t> fvulCurrentEpochFull;
186 
189  std::map<UInt_t, UInt_t> fGdpbIdIndexMap;
191 
193  std::vector<std::vector<gdpbv100::Message>> fvmEpSupprBuffer;
194 
196  std::vector<std::vector<UInt_t>>
198  std::vector<std::vector<Double_t>>
200 
202  // Default value for nb bins in Pulser time difference histos
203  const UInt_t kuNbBinsDt = 2000;
204  Double_t dMinDt;
205  Double_t dMaxDt;
206  // Default number of FEE per channels histograms
207  UInt_t fuNbFeePlot;
209  // Evolution plots control
210  Double_t
212  Double_t
214  Double_t
217  UInt_t
219  // Pulser plots
222  // Flesnet
223  TCanvas* fcMsSizeAll;
224  std::vector<TH1*> fvhMsSzPerLink;
225  std::vector<TProfile*> fvhMsSzTimePerLink;
226 
227  // Messages types and flags
229  static const UInt_t kuNbTestFee = 2;
230  const Double_t kdMaxDtPulserPs = 300e3;
231 
232  UInt_t fuGdpbA;
233  UInt_t fuGbtxA;
234  UInt_t fuFeeA;
236  UInt_t fuGdpbB;
237  UInt_t fuGbtxB;
238  UInt_t fuFeeB;
240 
241  std::vector<std::vector<TH1*>> fvhTimeDiffPulserFeeA;
246 
247  std::vector<std::vector<TH1*>> fvhTimeDiffPulserFeeB;
252 
253  std::vector<std::vector<TH1*>>
259 
262 
265 
266  std::vector<TH2*> fvhPulserCountEvoPerFeeGdpb;
267 
269  TCanvas* fcPulserFeeA;
270  TCanvas* fcPulserFeeB;
271  TCanvas* fcPulserFeeFee;
272  TCanvas* fcPulseProp;
273 
274  void CreateHistograms();
275 
276  void ProcessEpochCycle(uint64_t ulCycleData);
284 
285  inline Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id) {
286  return gdpbId * fuNrOfGet4PerGdpb + get4Id;
287  }
288 
290  std::vector<UInt_t> fvuPadiToGet4;
291  std::vector<UInt_t> fvuGet4ToPadi;
292 
294  static const UInt_t kuNbGet4PerGbtx = 5 * 8;
295  std::vector<UInt_t> fvuElinkToGet4;
296  std::vector<UInt_t> fvuGet4ToElink;
297  inline UInt_t ConvertElinkToGet4(UInt_t uElinkIdx) {
298  return fvuElinkToGet4[uElinkIdx % kuNbGet4PerGbtx]
299  + kuNbGet4PerGbtx * (uElinkIdx / kuNbGet4PerGbtx);
300  }
301  inline UInt_t ConvertGet4ToElink(UInt_t uGet4Idx) {
302  return fvuGet4ToElink[uGet4Idx % kuNbGet4PerGbtx]
303  + kuNbGet4PerGbtx * (uGet4Idx / kuNbGet4PerGbtx);
304  }
305 
307  std::chrono::time_point<std::chrono::system_clock> fTimeLastHistoSaving;
308 
311 
312  ClassDef(CbmMcbm2018TofTestFee, 1)
313 };
314 
315 #endif
CbmMcbm2018TofTestFee::fuNrOfGdpbs
UInt_t fuNrOfGdpbs
Definition: CbmMcbm2018TofTestFee.h:123
CbmMcbm2018TofTestFee::GetArrayIndex
Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id)
Definition: CbmMcbm2018TofTestFee.h:285
CbmMcbm2018TofTestFee::CbmMcbm2018TofTestFee
CbmMcbm2018TofTestFee()
Definition: CbmMcbm2018TofTestFee.cxx:53
gdpbv100::Message
Definition: gDpbMessv100.h:133
CbmMcbm2018TofTestFee::CreateHistograms
void CreateHistograms()
Definition: CbmMcbm2018TofTestFee.cxx:420
CbmMcbm2018TofTestFee::fdStartTime
Double_t fdStartTime
Definition: CbmMcbm2018TofTestFee.h:211
CbmMcbm2018TofTestFee::fvhTimeDiffPulserFeeB
std::vector< std::vector< TH1 * > > fvhTimeDiffPulserFeeB
Definition: CbmMcbm2018TofTestFee.h:247
CbmMcbm2018TofTestFee::fuTotalMsNb
size_t fuTotalMsNb
Definition: CbmMcbm2018TofTestFee.h:112
CbmMcbm2018TofTestFee::FillPattInfo
void FillPattInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1571
CbmMcbm2018TofTestFee::fhTimeResFitPulsFeeFee
TH2 * fhTimeResFitPulsFeeFee
Definition: CbmMcbm2018TofTestFee.h:258
CbmMcbm2018TofTestFee::SelectTestFees
void SelectTestFees(UInt_t uGdpbA, UInt_t uGbtxA, UInt_t uFeeA, UInt_t uGdpbB, UInt_t uGbtxB, UInt_t uFeeB)
Definition: CbmMcbm2018TofTestFee.h:65
CbmMcbm2018TofTestFee::SetNbMsInTs
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
Definition: CbmMcbm2018TofTestFee.cxx:413
CbmMcbm2018TofTestFee::SetParContainers
void SetParContainers()
Definition: CbmMcbm2018TofTestFee.cxx:176
CbmMcbm2018TofTestFee::FillStarTrigInfo
void FillStarTrigInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1631
CbmMcbm2018TofTestFee::fhChanTotFeeA
TH2 * fhChanTotFeeA
Definition: CbmMcbm2018TofTestFee.h:260
CbmMcbm2018TofTestFee::fcPulserFeeB
TCanvas * fcPulserFeeB
Definition: CbmMcbm2018TofTestFee.h:270
CbmMcbm2018TofTestFee::ConvertElinkToGet4
UInt_t ConvertElinkToGet4(UInt_t uElinkIdx)
Definition: CbmMcbm2018TofTestFee.h:297
CbmMcbm2018TofTestFee::fvulCurrentEpoch
std::vector< ULong64_t > fvulCurrentEpoch
Definition: CbmMcbm2018TofTestFee.h:181
CbmMcbm2018TofTestFee::fdStartTimeMsSz
Double_t fdStartTimeMsSz
Definition: CbmMcbm2018TofTestFee.h:215
CbmMcbm2018TofTestFee::fhTimeRmsPulserFeeFee
TH2 * fhTimeRmsPulserFeeFee
Definition: CbmMcbm2018TofTestFee.h:256
CbmMcbm2018TofTestFee::fviRpcSide
std::vector< Int_t > fviRpcSide
Definition: CbmMcbm2018TofTestFee.h:137
CbmMcbm2018TofTestFee::SetIgnoreMsOverlap
void SetIgnoreMsOverlap(Bool_t bEnaFlag=kTRUE)
Definition: CbmMcbm2018TofTestFee.h:59
CbmMcbm2018TofTestFee::fhTimeRmsPulserFeeA
TH2 * fhTimeRmsPulserFeeA
Definition: CbmMcbm2018TofTestFee.h:243
CbmMcbm2018TofTestFee::PrintGenInfo
void PrintGenInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1494
CbmMcbm2018TofTestFee::fhTimeResFitPulsFeeB
TH2 * fhTimeResFitPulsFeeB
Definition: CbmMcbm2018TofTestFee.h:251
CbmMcbm2018TofTestFee::Reset
virtual void Reset()
Definition: CbmMcbm2018TofTestFee.cxx:1734
CbmMcbm2018TofTestFee::fuGdpbNr
UInt_t fuGdpbNr
Definition: CbmMcbm2018TofTestFee.h:156
CbmMcbm2018TofTestFee::fuMsAcceptsPercent
size_t fuMsAcceptsPercent
OLD, to be cleaned out !!!!!
Definition: CbmMcbm2018TofTestFee.h:111
CbmMcbm2018TofTestFee::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmMcbm2018TofTestFee.cxx:204
CbmMcbmUnpack.h
CbmMcbm2018TofTestFee::fuHistoryHistoSizeLong
UInt_t fuHistoryHistoSizeLong
Definition: CbmMcbm2018TofTestFee.h:218
CbmMcbm2018TofTestFee::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Definition: CbmMcbm2018TofTestFee.cxx:930
CbmMcbm2018TofTestFee::fuCurrentMs
size_t fuCurrentMs
Definition: CbmMcbm2018TofTestFee.h:151
CbmMcbm2018TofTestFee::fbIgnoreOverlapMs
Bool_t fbIgnoreOverlapMs
Definition: CbmMcbm2018TofTestFee.h:104
CbmMcbm2018TofTestFee::fuFeeB
UInt_t fuFeeB
Definition: CbmMcbm2018TofTestFee.h:238
CbmMcbm2018TofTestFee::SetHistoFileName
void SetHistoFileName(TString sFileName="data/HistosTofFeeTest.root")
Definition: CbmMcbm2018TofTestFee.h:92
CbmMcbm2018TofTestFee::fuNrOfChannelsPerFee
UInt_t fuNrOfChannelsPerFee
Definition: CbmMcbm2018TofTestFee.h:128
CbmMcbm2018TofTestFee::fuNrOfGbtx
UInt_t fuNrOfGbtx
Definition: CbmMcbm2018TofTestFee.h:133
CbmMcbm2018TofTestFee::fvulCurrentEpochFull
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition: CbmMcbm2018TofTestFee.h:185
CbmMcbm2018TofTestFee::SetFitZoomWidthPs
void SetFitZoomWidthPs(Double_t inZoomWidth=1000.0)
Definition: CbmMcbm2018TofTestFee.h:78
CbmMcbm2018TofTestFee::fuCurrNbGdpb
UInt_t fuCurrNbGdpb
Definition: CbmMcbm2018TofTestFee.h:119
CbmMcbm2018TofTestFee::fvulCurrentEpochCycle
std::vector< ULong64_t > fvulCurrentEpochCycle
Definition: CbmMcbm2018TofTestFee.h:184
CbmMcbm2018TofTestFee::fhTimeRmsZoomFitPulsFeeB
TH2 * fhTimeRmsZoomFitPulsFeeB
Definition: CbmMcbm2018TofTestFee.h:250
CbmMcbm2018TofTestFee::fuNrOfGet4PerFee
UInt_t fuNrOfGet4PerFee
Definition: CbmMcbm2018TofTestFee.h:125
CbmMcbm2018TofTestFee::fvuElinkToGet4
std::vector< UInt_t > fvuElinkToGet4
5 FEE with 8 GET4 each
Definition: CbmMcbm2018TofTestFee.h:295
CbmMcbm2018TofTestFee::fhChanPulseIntervalFeeB
TH2 * fhChanPulseIntervalFeeB
Definition: CbmMcbm2018TofTestFee.h:264
CbmMcbm2018TofTestFee::fvulStarTsMid
std::vector< ULong64_t > fvulStarTsMid
Definition: CbmMcbm2018TofTestFee.h:168
CbmMcbm2018TofTestFee::UpdateZoomedFit
void UpdateZoomedFit(std::vector< std::vector< TH1 * >> phTimeDiff, TH2 *phTimeRmsZoom, TH2 *phTimeResFit)
Definition: CbmMcbm2018TofTestFee.cxx:1979
CbmMcbm2018TofTestFee::fdFitZoomWidthPs
Double_t fdFitZoomWidthPs
Definition: CbmMcbm2018TofTestFee.h:221
CbmMcbm2018TofTestFee::kuNbFeePerGbtx
const UInt_t kuNbFeePerGbtx
Definition: CbmMcbm2018TofTestFee.h:140
CbmMcbm2018TofTestFee::fuGlobalIdxFeeA
UInt_t fuGlobalIdxFeeA
Definition: CbmMcbm2018TofTestFee.h:235
CbmMcbm2018TofTestFee::fvulGdpbTsFullLast
std::vector< ULong64_t > fvulGdpbTsFullLast
Definition: CbmMcbm2018TofTestFee.h:169
CbmMcbm2018TofTestFee::fvulGdpbTsLsb
std::vector< ULong64_t > fvulGdpbTsLsb
Definition: CbmMcbm2018TofTestFee.h:166
CbmMcbm2018TofTestFee::fuMinNbGdpb
UInt_t fuMinNbGdpb
Definition: CbmMcbm2018TofTestFee.h:118
CbmMcbm2018TofTestFee::fcPulserFeeFee
TCanvas * fcPulserFeeFee
Definition: CbmMcbm2018TofTestFee.h:271
CbmMcbm2018TofTestFee::fuHistoryHistoSize
UInt_t fuHistoryHistoSize
Definition: CbmMcbm2018TofTestFee.h:216
CbmMcbm2018TofTestFee::dMaxDt
Double_t dMaxDt
Definition: CbmMcbm2018TofTestFee.h:205
CbmMcbm2018TofTestFee::fvuGet4ToElink
std::vector< UInt_t > fvuGet4ToElink
Definition: CbmMcbm2018TofTestFee.h:296
CbmMcbm2018TofTestFee::fvbFirstEpochSeen
std::vector< Bool_t > fvbFirstEpochSeen
Definition: CbmMcbm2018TofTestFee.h:182
CbmMcbm2018TofTestFee::InitContainers
Bool_t InitContainers()
Definition: CbmMcbm2018TofTestFee.cxx:183
CbmMcbm2018TofTestFee::fuGet4Nr
UInt_t fuGet4Nr
Definition: CbmMcbm2018TofTestFee.h:160
CbmMcbm2018TofTestFee::fuNrOfFeePerGdpb
UInt_t fuNrOfFeePerGdpb
Definition: CbmMcbm2018TofTestFee.h:124
CbmMcbm2018TofTestFee::GetMsOverlap
size_t GetMsOverlap()
Definition: CbmMcbm2018TofTestFee.h:63
CbmMcbm2018TofTestFee::fvhPulserCountEvoPerFeeGdpb
std::vector< TH2 * > fvhPulserCountEvoPerFeeGdpb
Definition: CbmMcbm2018TofTestFee.h:266
CbmMcbm2018TofTestFee::ConvertGet4ToElink
UInt_t ConvertGet4ToElink(UInt_t uGet4Idx)
Definition: CbmMcbm2018TofTestFee.h:301
CbmMcbm2018TofTestFee::fvuFeeChanNbHitsLastMs
std::vector< std::vector< UInt_t > > fvuFeeChanNbHitsLastMs
Buffer for pulser channels.
Definition: CbmMcbm2018TofTestFee.h:197
CbmMcbm2018TofTestFee::fuRawDataPrintMsgNb
UInt_t fuRawDataPrintMsgNb
Definition: CbmMcbm2018TofTestFee.h:144
CbmMcbm2018TofTestFee::fhChanTotFeeB
TH2 * fhChanTotFeeB
Definition: CbmMcbm2018TofTestFee.h:261
CbmMcbm2018TofTestFee::dMinDt
Double_t dMinDt
Definition: CbmMcbm2018TofTestFee.h:204
CbmMcbm2018TofTestFee::fuGdpbA
UInt_t fuGdpbA
Definition: CbmMcbm2018TofTestFee.h:232
CbmMcbm2018TofTestFee::fhTimeRmsZoomFitPulsFeeFee
TH2 * fhTimeRmsZoomFitPulsFeeFee
Definition: CbmMcbm2018TofTestFee.h:257
CbmMcbm2018TofTestFee::UseDaqBuffer
void UseDaqBuffer(Bool_t)
Definition: CbmMcbm2018TofTestFee.h:96
CbmMcbm2018TofTestFee::fuGdpbId
UInt_t fuGdpbId
Definition: CbmMcbm2018TofTestFee.h:154
CbmMcbm2018TofTestFee::fuFeeA
UInt_t fuFeeA
Definition: CbmMcbm2018TofTestFee.h:234
CbmMcbm2018TofTestFee::SetHistoryHistoSize
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Definition: CbmMcbm2018TofTestFee.h:81
CbmMcbm2018TofTestFee::fviModuleId
std::vector< Int_t > fviModuleId
Definition: CbmMcbm2018TofTestFee.h:138
CbmMcbm2018TofTestFee::fvMsComponentsList
std::vector< size_t > fvMsComponentsList
FLES containers.
Definition: CbmMcbm2018TofTestFee.h:96
CbmMcbm2018TofTestFee
Definition: CbmMcbm2018TofTestFee.h:33
CbmMcbm2018TofTestFee::fviRpcType
std::vector< Int_t > fviRpcType
Definition: CbmMcbm2018TofTestFee.h:136
CbmMcbm2018TofTestFee::ProcessEpochCycle
void ProcessEpochCycle(uint64_t ulCycleData)
Definition: CbmMcbm2018TofTestFee.cxx:1325
CbmMcbm2018TofTestFee::fhTimeMeanPulserFeeFee
TH2 * fhTimeMeanPulserFeeFee
[ Ch FEE A ][ Ch FEE B ]
Definition: CbmMcbm2018TofTestFee.h:255
CbmMcbm2018TofTestFee::fvuGet4ToPadi
std::vector< UInt_t > fvuGet4ToPadi
Definition: CbmMcbm2018TofTestFee.h:291
CbmMcbm2018TofTestFee::fhTimeMeanPulserFeeA
TH2 * fhTimeMeanPulserFeeA
[ Ch A ][ Ch B ]
Definition: CbmMcbm2018TofTestFee.h:242
CbmMcbm2018TofTestFee::fuOverlapMsNb
size_t fuOverlapMsNb
Definition: CbmMcbm2018TofTestFee.h:114
CbmMcbm2018TofTestFee::kuNbTestFee
static const UInt_t kuNbTestFee
Definition: CbmMcbm2018TofTestFee.h:229
CbmMcbm2018TofTestFee::fhChanPulseIntervalFeeA
TH2 * fhChanPulseIntervalFeeA
Definition: CbmMcbm2018TofTestFee.h:263
CbmMcbm2018TofTestFee::fuGbtxB
UInt_t fuGbtxB
Definition: CbmMcbm2018TofTestFee.h:237
CbmMcbm2018TofTestFee::fdTsCoreSizeInNs
Double_t fdTsCoreSizeInNs
Definition: CbmMcbm2018TofTestFee.h:117
CbmMcbm2018TofTestFee::fuGbtxA
UInt_t fuGbtxA
Definition: CbmMcbm2018TofTestFee.h:233
CbmMcbm2018TofTestFee::fuNrOfGet4PerGdpb
UInt_t fuNrOfGet4PerGdpb
Definition: CbmMcbm2018TofTestFee.h:130
CbmMcbm2018TofTestFee::fuRawDataPrintMsgIdx
UInt_t fuRawDataPrintMsgIdx
Definition: CbmMcbm2018TofTestFee.h:145
CbmMcbm2018TofTestFee::fvulStarTsFullLast
std::vector< ULong64_t > fvulStarTsFullLast
Definition: CbmMcbm2018TofTestFee.h:170
CbmMcbm2018TofTestFee::fuNrOfChannelsPerGdpb
UInt_t fuNrOfChannelsPerGdpb
Definition: CbmMcbm2018TofTestFee.h:131
CbmMcbm2018TofTestFee::fuGet4Id
UInt_t fuGet4Id
Definition: CbmMcbm2018TofTestFee.h:158
CbmMcbm2018TofTestFee::fiEquipmentId
Int_t fiEquipmentId
Definition: CbmMcbm2018TofTestFee.h:161
CbmMcbm2018TofTestFee::GetMsLimitLevel
size_t GetMsLimitLevel()
Definition: CbmMcbm2018TofTestFee.h:55
CbmMcbm2018TofTestFee::fdMsIndex
Double_t fdMsIndex
Definition: CbmMcbm2018TofTestFee.h:153
CbmMcbm2018TofTestFee::fhTimeRmsZoomFitPulsFeeA
TH2 * fhTimeRmsZoomFitPulsFeeA
Definition: CbmMcbm2018TofTestFee.h:244
CbmMcbm2018TofTestFee::Finish
virtual void Finish()
Definition: CbmMcbm2018TofTestFee.cxx:1736
CbmMcbm2018TofTestFee::fhTimeResFitPulsFeeA
TH2 * fhTimeResFitPulsFeeA
Definition: CbmMcbm2018TofTestFee.h:245
CbmMcbm2018TofTestFee::fuGdpbB
UInt_t fuGdpbB
Definition: CbmMcbm2018TofTestFee.h:236
CbmMcbm2018TofTestFee::fbPrintAllEpochsEnable
Bool_t fbPrintAllEpochsEnable
Definition: CbmMcbm2018TofTestFee.h:147
CbmMcbm2018TofTestFee::fcPulseProp
TCanvas * fcPulseProp
Definition: CbmMcbm2018TofTestFee.h:272
CbmMcbm2018TofTestFee::fuNbFeePlotsPerGdpb
UInt_t fuNbFeePlotsPerGdpb
Definition: CbmMcbm2018TofTestFee.h:208
CbmMcbm2018TofTestFee::CbmMcbm2018TofTestFee
CbmMcbm2018TofTestFee(const CbmMcbm2018TofTestFee &)
CbmMcbm2018TofTestFee::kdMaxDtPulserPs
const Double_t kdMaxDtPulserPs
Definition: CbmMcbm2018TofTestFee.h:230
CbmMcbm2018TofTestFee::fviMsgCounter
std::vector< int > fviMsgCounter
Definition: CbmMcbm2018TofTestFee.h:162
CbmMcbm2018TofTestFee::fviNrOfRpc
std::vector< Int_t > fviNrOfRpc
Definition: CbmMcbm2018TofTestFee.h:135
CbmMcbm2018TofTestFee::fdStartTimeLong
Double_t fdStartTimeLong
Definition: CbmMcbm2018TofTestFee.h:213
CbmMcbm2018TofTestFee::SetMsOverlap
void SetMsOverlap(size_t uOverlapMsNb=1)
Definition: CbmMcbm2018TofTestFee.h:62
CbmMcbm2018TofTestFee::fuNbOverMsPerTs
size_t fuNbOverMsPerTs
Definition: CbmMcbm2018TofTestFee.h:102
CbmMcbm2018TofTestFee::fvuStarDaqCmdLast
std::vector< UInt_t > fvuStarDaqCmdLast
Definition: CbmMcbm2018TofTestFee.h:172
gDpbMessv100.h
CbmMcbm2018TofTestFee::fvulStarTsMsb
std::vector< ULong64_t > fvulStarTsMsb
Definition: CbmMcbm2018TofTestFee.h:167
CbmMcbm2018TofTestFee::fvulGdpbTsMsb
std::vector< ULong64_t > fvulGdpbTsMsb
Definition: CbmMcbm2018TofTestFee.h:165
CbmMcbm2018TofTestFee::fcMsSizeAll
TCanvas * fcMsSizeAll
Definition: CbmMcbm2018TofTestFee.h:223
CbmMcbm2018TofPar
Definition: CbmMcbm2018TofPar.h:18
CbmMcbm2018TofTestFee::fulCurrentEpochTime
ULong64_t fulCurrentEpochTime
Epoch + Epoch Cycle.
Definition: CbmMcbm2018TofTestFee.h:187
CbmMcbm2018TofTestFee::fGdpbIdIndexMap
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Map of ID to index for the gDPBs.
Definition: CbmMcbm2018TofTestFee.h:190
CbmMcbm2018TofTestFee::fvhTimeDiffPulserFeeFee
std::vector< std::vector< TH1 * > > fvhTimeDiffPulserFeeFee
Definition: CbmMcbm2018TofTestFee.h:254
CbmMcbm2018TofTestFee::ResetAllHistos
void ResetAllHistos()
Definition: CbmMcbm2018TofTestFee.cxx:1925
CbmMcbm2018TofTestFee::SaveAllHistos
void SaveAllHistos(TString sFileName="")
Definition: CbmMcbm2018TofTestFee.cxx:1819
CbmMcbm2018TofTestFee::FillEpochInfo
void FillEpochInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1438
CbmMcbm2018TofTestFee::fuNrOfGet4
UInt_t fuNrOfGet4
Definition: CbmMcbm2018TofTestFee.h:129
CbmMcbm2018TofTestFee::fhTimeMeanPulserFeeB
TH2 * fhTimeMeanPulserFeeB
[ Ch A ][ Ch B ]
Definition: CbmMcbm2018TofTestFee.h:248
CbmMcbm2018TofTestFee::ResetEvolutionHistograms
void ResetEvolutionHistograms()
Definition: CbmMcbm2018TofTestFee.cxx:1977
CbmMcbm2018TofTestFee::fvhMsSzTimePerLink
std::vector< TProfile * > fvhMsSzTimePerLink
Definition: CbmMcbm2018TofTestFee.h:225
CbmMcbm2018TofTestFee::PrintSysInfo
void PrintSysInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1504
CbmMcbm2018TofTestFee::fuNrOfChannelsPerGet4
UInt_t fuNrOfChannelsPerGet4
Definition: CbmMcbm2018TofTestFee.h:126
CbmMcbm2018TofTestFee::fbPrintAllHitsEnable
Bool_t fbPrintAllHitsEnable
Definition: CbmMcbm2018TofTestFee.h:146
CbmMcbm2018TofTestFee::fdMsSizeInNs
Double_t fdMsSizeInNs
Definition: CbmMcbm2018TofTestFee.h:116
CbmMcbm2018TofTestFee::fuCurrentMsSysId
size_t fuCurrentMsSysId
Definition: CbmMcbm2018TofTestFee.h:152
CbmMcbm2018TofTestFee::fvhMsSzPerLink
std::vector< TH1 * > fvhMsSzPerLink
Definition: CbmMcbm2018TofTestFee.h:224
CbmMcbm2018TofTestFee::fvuStarTokenLast
std::vector< UInt_t > fvuStarTokenLast
Definition: CbmMcbm2018TofTestFee.h:171
CbmMcbm2018TofTestFee::operator=
CbmMcbm2018TofTestFee operator=(const CbmMcbm2018TofTestFee &)
CbmMcbm2018TofTestFee::SetMsLimitLevel
void SetMsLimitLevel(size_t uAcceptBoundaryPct=100)
Definition: CbmMcbm2018TofTestFee.h:52
CbmMcbm2018TofTestFee::fTimeLastHistoSaving
std::chrono::time_point< std::chrono::system_clock > fTimeLastHistoSaving
Definition: CbmMcbm2018TofTestFee.h:307
CbmMcbm2018TofTestFee::fuNrOfModules
UInt_t fuNrOfModules
Definition: CbmMcbm2018TofTestFee.h:134
CbmMcbm2018TofTestFee::kuNbGet4PerGbtx
static const UInt_t kuNbGet4PerGbtx
Definition: CbmMcbm2018TofTestFee.h:294
CbmMcbm2018TofTestFee::fvuStarTrigCmdLast
std::vector< UInt_t > fvuStarTrigCmdLast
Definition: CbmMcbm2018TofTestFee.h:173
CbmMcbm2018TofTestFee::fdLastRmsUpdateTime
Double_t fdLastRmsUpdateTime
Definition: CbmMcbm2018TofTestFee.h:220
CbmMcbm2018TofTestFee::kuNbGbtxPerGdpb
const UInt_t kuNbGbtxPerGdpb
Definition: CbmMcbm2018TofTestFee.h:141
CbmMcbm2018TofTestFee::fhTimeRmsPulserFeeB
TH2 * fhTimeRmsPulserFeeB
Definition: CbmMcbm2018TofTestFee.h:249
CbmMcbm2018TofTestFee::AddMsComponentToList
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Definition: CbmMcbm2018TofTestFee.cxx:374
CbmMcbm2018TofTestFee::fvdFeeChanMsLastPulserHit
std::vector< std::vector< Double_t > > fvdFeeChanMsLastPulserHit
[ fuFeeNr ][ ChanNr ]
Definition: CbmMcbm2018TofTestFee.h:199
CbmMcbm2018TofTestFee::PrintSlcInfo
void PrintSlcInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1475
CbmMcbm2018TofTestFee::kuNbBinsDt
const UInt_t kuNbBinsDt
[ fuFeeNr ][ ChanNr ]
Definition: CbmMcbm2018TofTestFee.h:203
CbmMcbm2018TofTestFee::FillHitInfo
void FillHitInfo(gdpbv100::Message)
Definition: CbmMcbm2018TofTestFee.cxx:1356
CbmMcbmUnpack
Definition: CbmMcbmUnpack.h:15
CbmMcbm2018TofTestFee::fsHistoFileFullname
TString fsHistoFileFullname
/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/
Definition: CbmMcbm2018TofTestFee.h:107
CbmMcbm2018TofTestFee::fvuPadiToGet4
std::vector< UInt_t > fvuPadiToGet4
Definition: CbmMcbm2018TofTestFee.h:290
CbmMcbm2018TofTestFee::fcPulserFeeA
TCanvas * fcPulserFeeA
Canvases.
Definition: CbmMcbm2018TofTestFee.h:269
CbmMcbm2018TofTestFee::fuCoreMs
size_t fuCoreMs
Definition: CbmMcbm2018TofTestFee.h:115
CbmMcbm2018TofTestFee::~CbmMcbm2018TofTestFee
virtual ~CbmMcbm2018TofTestFee()
Definition: CbmMcbm2018TofTestFee.cxx:163
CbmMcbm2018TofTestFee::fuNbFeePlot
UInt_t fuNbFeePlot
Definition: CbmMcbm2018TofTestFee.h:207
CbmMcbm2018TofTestFee::fUnpackPar
CbmMcbm2018TofPar * fUnpackPar
Definition: CbmMcbm2018TofTestFee.h:122
CbmMcbm2018TofTestFee::Init
virtual Bool_t Init()
Definition: CbmMcbm2018TofTestFee.cxx:165
CbmMcbm2018TofTestFee::fulCurrentTsIndex
uint64_t fulCurrentTsIndex
Definition: CbmMcbm2018TofTestFee.h:150
CbmMcbm2018TofTestFee::fvhTimeDiffPulserFeeA
std::vector< std::vector< TH1 * > > fvhTimeDiffPulserFeeA
Definition: CbmMcbm2018TofTestFee.h:241
CbmMcbm2018TofTestFee::fuGlobalIdxFeeB
UInt_t fuGlobalIdxFeeB
Definition: CbmMcbm2018TofTestFee.h:239
CbmMcbm2018TofTestFee::fvmEpSupprBuffer
std::vector< std::vector< gdpbv100::Message > > fvmEpSupprBuffer
Buffer for suppressed epoch processing.
Definition: CbmMcbm2018TofTestFee.h:193
CbmMcbm2018TofTestFee::fuNbCoreMsPerTs
size_t fuNbCoreMsPerTs
Definition: CbmMcbm2018TofTestFee.h:101