CbmRoot
CbmMcbm2018MonitorTaskT0.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmMcbm2018MonitorTaskT0 -----
4 // ----- Created 10.02.2019 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmMcbm2018MonitorTaskT0_H
9 #define CbmMcbm2018MonitorTaskT0_H
10 
11 #include "Timeslice.hpp"
12 
14 #include "CbmMcbmUnpack.h"
15 
16 #include "TString.h"
17 
19 public:
23 
24  virtual ~CbmMcbm2018MonitorTaskT0();
25 
26  virtual Bool_t Init();
27  virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component);
28  virtual void Reset();
29 
30  virtual void Finish();
31 
32  void SetParContainers();
33 
34  Bool_t InitContainers();
35 
36  Bool_t ReInitContainers();
37 
39  void AddMsComponentToList(size_t component, UShort_t usDetectorId);
40  void SetNbMsInTs(size_t /*uCoreMsNb*/, size_t /*uOverlapMsNb*/) {};
41 
43  inline void SetMonitorMode(Bool_t bFlagIn = kTRUE) {
44  fbMonitorMode = bFlagIn;
45  }
46  void SetIgnoreOverlapMs(Bool_t bFlagIn = kTRUE);
47  inline void SetHistoryHistoSize(UInt_t inHistorySizeSec = 1800) {
48  fuHistoryHistoSize = inHistorySizeSec;
49  }
50  inline void SetHistoFilename(TString sNameIn) { fsHistoFileName = sNameIn; }
51  inline void SetPulserTotLimits(UInt_t uMin, UInt_t uMax) {
52  fuMinTotPulser = uMin;
53  fuMaxTotPulser = uMax;
54  }
55  inline void SetSpillThreshold(UInt_t uCntLimit) {
56  fuOffSpillCountLimit = uCntLimit;
57  }
58  void SetChannelMap(UInt_t uChan0,
59  UInt_t uChan1,
60  UInt_t uChan2,
61  UInt_t uChan3,
62  UInt_t uChan4,
63  UInt_t uChan5,
64  UInt_t uChan6,
65  UInt_t uChan7);
66 
67 private:
69  Bool_t
71  Bool_t
73 
76  TString fsHistoFileName;
80 
82  uint64_t fulTsCounter;
83 
86 
87  ClassDef(CbmMcbm2018MonitorTaskT0, 1)
88 };
89 
90 #endif
CbmMcbm2018MonitorTaskT0::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmMcbm2018MonitorTaskT0.cxx:145
CbmMcbm2018MonitorTaskT0::InitContainers
Bool_t InitContainers()
Definition: CbmMcbm2018MonitorTaskT0.cxx:82
CbmMcbm2018MonitorTaskT0::Finish
virtual void Finish()
Definition: CbmMcbm2018MonitorTaskT0.cxx:184
CbmMcbm2018MonitorTaskT0::Reset
virtual void Reset()
Definition: CbmMcbm2018MonitorTaskT0.cxx:182
CbmMcbm2018MonitorTaskT0
Definition: CbmMcbm2018MonitorTaskT0.h:18
CbmMcbmUnpack.h
CbmMcbm2018MonitorTaskT0::CbmMcbm2018MonitorTaskT0
CbmMcbm2018MonitorTaskT0(const CbmMcbm2018MonitorTaskT0 &)=delete
CbmMcbm2018MonitorTaskT0::operator=
CbmMcbm2018MonitorTaskT0 operator=(const CbmMcbm2018MonitorTaskT0 &)=delete
CbmMcbm2018MonitorTaskT0::SetNbMsInTs
void SetNbMsInTs(size_t, size_t)
Definition: CbmMcbm2018MonitorTaskT0.h:40
CbmMcbm2018MonitorTaskT0::SetHistoryHistoSize
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Definition: CbmMcbm2018MonitorTaskT0.h:47
CbmMcbm2018MonitorTaskT0::fuMaxTotPulser
UInt_t fuMaxTotPulser
Definition: CbmMcbm2018MonitorTaskT0.h:78
CbmMcbm2018MonitorTaskT0::fMonitorAlgo
CbmMcbm2018MonitorAlgoT0 * fMonitorAlgo
Processing algo.
Definition: CbmMcbm2018MonitorTaskT0.h:85
CbmMcbm2018MonitorTaskT0::Init
virtual Bool_t Init()
Definition: CbmMcbm2018MonitorTaskT0.cxx:51
CbmMcbm2018MonitorTaskT0::SetHistoFilename
void SetHistoFilename(TString sNameIn)
Definition: CbmMcbm2018MonitorTaskT0.h:50
CbmMcbm2018MonitorAlgoT0
Definition: CbmMcbm2018MonitorAlgoT0.h:35
CbmMcbm2018MonitorTaskT0::fuMinTotPulser
UInt_t fuMinTotPulser
Definition: CbmMcbm2018MonitorTaskT0.h:77
CbmMcbm2018MonitorTaskT0::~CbmMcbm2018MonitorTaskT0
virtual ~CbmMcbm2018MonitorTaskT0()
Definition: CbmMcbm2018MonitorTaskT0.cxx:49
CbmMcbm2018MonitorTaskT0::fbDebugMonitorMode
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
Definition: CbmMcbm2018MonitorTaskT0.h:72
CbmMcbm2018MonitorTaskT0::CbmMcbm2018MonitorTaskT0
CbmMcbm2018MonitorTaskT0()
Definition: CbmMcbm2018MonitorTaskT0.cxx:35
CbmMcbm2018MonitorTaskT0::fulTsCounter
uint64_t fulTsCounter
Statistics & first TS rejection.
Definition: CbmMcbm2018MonitorTaskT0.h:82
CbmMcbm2018MonitorTaskT0::SetChannelMap
void SetChannelMap(UInt_t uChan0, UInt_t uChan1, UInt_t uChan2, UInt_t uChan3, UInt_t uChan4, UInt_t uChan5, UInt_t uChan6, UInt_t uChan7)
Definition: CbmMcbm2018MonitorTaskT0.cxx:220
CbmMcbm2018MonitorTaskT0::AddMsComponentToList
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Temp until we change from CbmMcbmUnpack to something else.
Definition: CbmMcbm2018MonitorTaskT0.cxx:152
CbmMcbm2018MonitorTaskT0::fuOffSpillCountLimit
UInt_t fuOffSpillCountLimit
Definition: CbmMcbm2018MonitorTaskT0.h:79
CbmMcbm2018MonitorTaskT0::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Definition: CbmMcbm2018MonitorTaskT0.cxx:157
CbmMcbm2018MonitorTaskT0::fuHistoryHistoSize
UInt_t fuHistoryHistoSize
Switch ON the filling of a additional set of histograms.
Definition: CbmMcbm2018MonitorTaskT0.h:75
CbmMcbm2018MonitorTaskT0::fbMonitorMode
Bool_t fbMonitorMode
Control flags.
Definition: CbmMcbm2018MonitorTaskT0.h:70
CbmMcbm2018MonitorTaskT0::fsHistoFileName
TString fsHistoFileName
Definition: CbmMcbm2018MonitorTaskT0.h:76
CbmMcbm2018MonitorTaskT0::SetMonitorMode
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Algo settings setters.
Definition: CbmMcbm2018MonitorTaskT0.h:43
CbmMcbm2018MonitorTaskT0::SetPulserTotLimits
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
Definition: CbmMcbm2018MonitorTaskT0.h:51
CbmMcbm2018MonitorTaskT0::SetIgnoreOverlapMs
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018MonitorTaskT0.cxx:216
CbmMcbmUnpack
Definition: CbmMcbmUnpack.h:15
CbmMcbm2018MonitorTaskT0::SetParContainers
void SetParContainers()
Definition: CbmMcbm2018MonitorTaskT0.cxx:58
CbmMcbm2018MonitorTaskT0::SetSpillThreshold
void SetSpillThreshold(UInt_t uCntLimit)
Definition: CbmMcbm2018MonitorTaskT0.h:55
CbmMcbm2018MonitorAlgoT0.h