CbmRoot
CbmMcbm2018MonitorTaskTof.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmMcbm2018MonitorTaskTof -----
4 // ----- Created 27.11.2019 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmMcbm2018MonitorTaskTof_H
9 #define CbmMcbm2018MonitorTaskTof_H
10 
11 #include "Timeslice.hpp"
12 
13 #include "CbmMcbmUnpack.h"
14 
15 #include "TString.h"
16 
18 
20 public:
26 
27  virtual Bool_t Init();
28  virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component);
29  virtual void Reset();
30 
31  virtual void Finish();
32 
33  void SetParContainers();
34 
35  Bool_t InitContainers();
36 
37  Bool_t ReInitContainers();
38 
40  void AddMsComponentToList(size_t component, UShort_t usDetectorId);
41  void SetNbMsInTs(size_t /*uCoreMsNb*/, size_t /*uOverlapMsNb*/) {};
42 
44  inline void SetDebugMonitorMode(Bool_t bFlagIn = kTRUE) {
45  fbDebugMonitorMode = bFlagIn;
46  }
47  inline void SetIgnoreCriticalErrors(Bool_t bFlagIn = kTRUE) {
48  fbIgnoreCriticalErrors = bFlagIn;
49  }
50  void SetIgnoreOverlapMs(Bool_t bFlagIn = kTRUE);
51  inline void SetHistoryHistoSize(UInt_t inHistorySizeSec = 1800) {
52  fuHistoryHistoSize = inHistorySizeSec;
53  }
54  inline void SetHistoFilename(TString sNameIn) { fsHistoFileName = sNameIn; }
55  inline void SetPulserTotLimits(UInt_t uMin, UInt_t uMax) {
56  fuMinTotPulser = uMin;
57  fuMaxTotPulser = uMax;
58  }
59  inline void SetGdpbIndex(Int_t iGdpb = -1) { fiGdpbIndex = iGdpb; }
60 
61 private:
62  Bool_t SaveHistograms();
63 
65  Bool_t
67  Bool_t
69 
72  TString fsHistoFileName;
75  Int_t fiGdpbIndex;
76 
78  uint64_t fulTsCounter;
79 
82 
83  ClassDef(CbmMcbm2018MonitorTaskTof, 1)
84 };
85 
86 #endif // CbmMcbm2018MonitorTaskTof_H
CbmMcbm2018MonitorTaskTof::fulTsCounter
uint64_t fulTsCounter
Statistics & first TS rejection.
Definition: CbmMcbm2018MonitorTaskTof.h:78
CbmMcbm2018MonitorTaskTof::fMonitorAlgo
CbmMcbm2018MonitorAlgoTof * fMonitorAlgo
Processing algo.
Definition: CbmMcbm2018MonitorTaskTof.h:81
CbmMcbm2018MonitorTaskTof::SetIgnoreOverlapMs
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018MonitorTaskTof.cxx:189
CbmMcbm2018MonitorTaskTof::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Definition: CbmMcbm2018MonitorTaskTof.cxx:154
CbmMcbm2018MonitorTaskTof::operator=
CbmMcbm2018MonitorTaskTof operator=(const CbmMcbm2018MonitorTaskTof &)=delete
CbmMcbm2018MonitorTaskTof::fuMaxTotPulser
UInt_t fuMaxTotPulser
Definition: CbmMcbm2018MonitorTaskTof.h:74
CbmMcbmUnpack.h
CbmMcbm2018MonitorTaskTof::CbmMcbm2018MonitorTaskTof
CbmMcbm2018MonitorTaskTof()
Definition: CbmMcbm2018MonitorTaskTof.cxx:36
CbmMcbm2018MonitorTaskTof::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmMcbm2018MonitorTaskTof.cxx:142
CbmMcbm2018MonitorTaskTof::~CbmMcbm2018MonitorTaskTof
virtual ~CbmMcbm2018MonitorTaskTof()
Definition: CbmMcbm2018MonitorTaskTof.cxx:50
CbmMcbm2018MonitorTaskTof::fuMinTotPulser
UInt_t fuMinTotPulser
Definition: CbmMcbm2018MonitorTaskTof.h:73
CbmMcbm2018MonitorAlgoTof
Definition: CbmMcbm2018MonitorAlgoTof.h:32
CbmMcbm2018MonitorTaskTof::AddMsComponentToList
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Temp until we change from CbmMcbmUnpack to something else.
Definition: CbmMcbm2018MonitorTaskTof.cxx:149
CbmMcbm2018MonitorTaskTof::fbDebugMonitorMode
Bool_t fbDebugMonitorMode
Control flags.
Definition: CbmMcbm2018MonitorTaskTof.h:66
CbmMcbm2018MonitorTaskTof::SetIgnoreCriticalErrors
void SetIgnoreCriticalErrors(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018MonitorTaskTof.h:47
CbmMcbm2018MonitorTaskTof::SaveHistograms
Bool_t SaveHistograms()
Definition: CbmMcbm2018MonitorTaskTof.cxx:193
CbmMcbm2018MonitorTaskTof::fsHistoFileName
TString fsHistoFileName
Definition: CbmMcbm2018MonitorTaskTof.h:72
CbmMcbm2018MonitorTaskTof::Finish
virtual void Finish()
Definition: CbmMcbm2018MonitorTaskTof.cxx:187
CbmMcbm2018MonitorTaskTof::Init
virtual Bool_t Init()
Definition: CbmMcbm2018MonitorTaskTof.cxx:52
CbmMcbm2018MonitorTaskTof
Definition: CbmMcbm2018MonitorTaskTof.h:19
CbmMcbm2018MonitorTaskTof::SetHistoFilename
void SetHistoFilename(TString sNameIn)
Definition: CbmMcbm2018MonitorTaskTof.h:54
CbmMcbm2018MonitorTaskTof::fbIgnoreCriticalErrors
Bool_t fbIgnoreCriticalErrors
Switch ON the filling of a additional set of histograms.
Definition: CbmMcbm2018MonitorTaskTof.h:68
CbmMcbm2018MonitorTaskTof::fuHistoryHistoSize
UInt_t fuHistoryHistoSize
If ON not printout at all for critical errors.
Definition: CbmMcbm2018MonitorTaskTof.h:71
CbmMcbm2018MonitorTaskTof::CbmMcbm2018MonitorTaskTof
CbmMcbm2018MonitorTaskTof(const CbmMcbm2018MonitorTaskTof &)=delete
CbmMcbm2018MonitorTaskTof::SetDebugMonitorMode
void SetDebugMonitorMode(Bool_t bFlagIn=kTRUE)
Algo settings setters.
Definition: CbmMcbm2018MonitorTaskTof.h:44
CbmMcbm2018MonitorTaskTof::SetGdpbIndex
void SetGdpbIndex(Int_t iGdpb=-1)
Definition: CbmMcbm2018MonitorTaskTof.h:59
CbmMcbm2018MonitorTaskTof::SetParContainers
void SetParContainers()
Definition: CbmMcbm2018MonitorTaskTof.cxx:59
CbmMcbm2018MonitorTaskTof::fiGdpbIndex
Int_t fiGdpbIndex
Definition: CbmMcbm2018MonitorTaskTof.h:75
CbmMcbm2018MonitorTaskTof::Reset
virtual void Reset()
Definition: CbmMcbm2018MonitorTaskTof.cxx:185
CbmMcbm2018MonitorTaskTof::SetPulserTotLimits
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
Definition: CbmMcbm2018MonitorTaskTof.h:55
CbmMcbmUnpack
Definition: CbmMcbmUnpack.h:15
CbmMcbm2018MonitorTaskTof::SetNbMsInTs
void SetNbMsInTs(size_t, size_t)
Definition: CbmMcbm2018MonitorTaskTof.h:41
CbmMcbm2018MonitorTaskTof::SetHistoryHistoSize
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Definition: CbmMcbm2018MonitorTaskTof.h:51
CbmMcbm2018MonitorTaskTof::InitContainers
Bool_t InitContainers()
Definition: CbmMcbm2018MonitorTaskTof.cxx:83