CbmRoot
CbmMcbm2018MonitorTaskPsd.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmMcbm2018MonitorTaskPsd -----
4 // ----- Created 26.09.2019 by N.Karpushkin -----
5 // ----- based on CbmMcbm2018MonitorTaskT0 by P.-A. Loizeau -----
6 // ----- -----
7 // -----------------------------------------------------------------------------
8 
9 #ifndef CbmMcbm2018MonitorTaskPsd_H
10 #define CbmMcbm2018MonitorTaskPsd_H
11 
12 #include "Timeslice.hpp"
13 
14 #include "CbmMcbmUnpack.h"
15 
16 #include "TString.h"
17 
19 
21 public:
24 
25  virtual Bool_t Init();
26  virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component);
27  virtual void Reset();
28 
29  virtual void Finish();
30 
31  void SetParContainers();
32 
33  Bool_t InitContainers();
34 
35  Bool_t ReInitContainers();
36 
38  void AddMsComponentToList(size_t component, UShort_t usDetectorId);
39  void SetNbMsInTs(size_t /*uCoreMsNb*/, size_t /*uOverlapMsNb*/) {};
40 
42  inline void SetMonitorMode(Bool_t bFlagIn = kTRUE) {
43  fbMonitorMode = bFlagIn;
44  }
45  void SetIgnoreOverlapMs(Bool_t bFlagIn = kTRUE);
46  inline void SetHistoryHistoSize(UInt_t inHistorySizeSec = 1800) {
47  fuHistoryHistoSize = inHistorySizeSec;
48  }
49  inline void SetChargeHistoArgs(std::vector<Int_t> inVec) {
50  fviHistoChargeArgs = inVec;
51  }
52  inline void SetAmplHistoArgs(std::vector<Int_t> inVec) {
53  fviHistoAmplArgs = inVec;
54  }
55  inline void SetZLHistoArgs(std::vector<Int_t> inVec) {
56  fviHistoZLArgs = inVec;
57  }
58  inline void SetHistoFilename(TString sNameIn) { fsHistoFileName = sNameIn; }
59 
60 private:
62  Bool_t
64  Bool_t
66 
69  std::vector<Int_t>
71  std::vector<Int_t>
73  std::vector<Int_t>
75  TString fsHistoFileName;
76 
78  uint64_t fulTsCounter;
79 
82 
85 
86  ClassDef(CbmMcbm2018MonitorTaskPsd, 1)
87 };
88 
89 #endif
CbmMcbm2018MonitorTaskPsd::Reset
virtual void Reset()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:184
CbmMcbm2018MonitorTaskPsd::fbDebugMonitorMode
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
Definition: CbmMcbm2018MonitorTaskPsd.h:65
CbmMcbm2018MonitorTaskPsd::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Definition: CbmMcbm2018MonitorTaskPsd.cxx:159
CbmMcbm2018MonitorTaskPsd::~CbmMcbm2018MonitorTaskPsd
virtual ~CbmMcbm2018MonitorTaskPsd()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:50
CbmMcbm2018MonitorTaskPsd::fulTsCounter
uint64_t fulTsCounter
Statistics & first TS rejection.
Definition: CbmMcbm2018MonitorTaskPsd.h:78
CbmMcbmUnpack.h
CbmMcbm2018MonitorTaskPsd::fuHistoryHistoSize
UInt_t fuHistoryHistoSize
Switch ON the filling of a additional set of histograms.
Definition: CbmMcbm2018MonitorTaskPsd.h:68
CbmMcbm2018MonitorTaskPsd::fviHistoChargeArgs
std::vector< Int_t > fviHistoChargeArgs
Definition: CbmMcbm2018MonitorTaskPsd.h:70
CbmMcbm2018MonitorTaskPsd::SetZLHistoArgs
void SetZLHistoArgs(std::vector< Int_t > inVec)
Definition: CbmMcbm2018MonitorTaskPsd.h:55
CbmMcbm2018MonitorTaskPsd::SetChargeHistoArgs
void SetChargeHistoArgs(std::vector< Int_t > inVec)
Definition: CbmMcbm2018MonitorTaskPsd.h:49
CbmMcbm2018MonitorTaskPsd::InitContainers
Bool_t InitContainers()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:83
CbmMcbm2018MonitorTaskPsd::SetMonitorMode
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Algo settings setters.
Definition: CbmMcbm2018MonitorTaskPsd.h:42
CbmMcbm2018MonitorTaskPsd::Init
virtual Bool_t Init()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:52
CbmMcbm2018MonitorAlgoPsd
Definition: CbmMcbm2018MonitorAlgoPsd.h:34
CbmMcbm2018MonitorTaskPsd::fviHistoZLArgs
std::vector< Int_t > fviHistoZLArgs
Definition: CbmMcbm2018MonitorTaskPsd.h:74
CbmMcbm2018MonitorTaskPsd::operator=
CbmMcbm2018MonitorTaskPsd operator=(const CbmMcbm2018MonitorTaskPsd &)
CbmMcbm2018MonitorTaskPsd::SetIgnoreOverlapMs
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
Definition: CbmMcbm2018MonitorTaskPsd.cxx:218
CbmMcbm2018MonitorTaskPsd::SetHistoryHistoSize
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Definition: CbmMcbm2018MonitorTaskPsd.h:46
CbmMcbm2018MonitorTaskPsd::AddMsComponentToList
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Temp until we change from CbmMcbmUnpack to something else.
Definition: CbmMcbm2018MonitorTaskPsd.cxx:154
CbmMcbm2018MonitorTaskPsd::SetParContainers
void SetParContainers()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:59
CbmMcbm2018MonitorTaskPsd::fbMonitorMode
Bool_t fbMonitorMode
Control flags.
Definition: CbmMcbm2018MonitorTaskPsd.h:63
CbmMcbm2018MonitorTaskPsd::fsHistoFileName
TString fsHistoFileName
Definition: CbmMcbm2018MonitorTaskPsd.h:75
CbmMcbm2018MonitorTaskPsd::CbmMcbm2018MonitorTaskPsd
CbmMcbm2018MonitorTaskPsd()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:36
CbmMcbm2018MonitorTaskPsd::Finish
virtual void Finish()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:186
CbmMcbm2018MonitorTaskPsd::fviHistoAmplArgs
std::vector< Int_t > fviHistoAmplArgs
Definition: CbmMcbm2018MonitorTaskPsd.h:72
CbmMcbm2018MonitorTaskPsd
Definition: CbmMcbm2018MonitorTaskPsd.h:20
CbmMcbm2018MonitorTaskPsd::SetAmplHistoArgs
void SetAmplHistoArgs(std::vector< Int_t > inVec)
Definition: CbmMcbm2018MonitorTaskPsd.h:52
CbmMcbm2018MonitorTaskPsd::SetHistoFilename
void SetHistoFilename(TString sNameIn)
Definition: CbmMcbm2018MonitorTaskPsd.h:58
CbmMcbm2018MonitorTaskPsd::SetNbMsInTs
void SetNbMsInTs(size_t, size_t)
Definition: CbmMcbm2018MonitorTaskPsd.h:39
CbmMcbm2018MonitorTaskPsd::ReInitContainers
Bool_t ReInitContainers()
Definition: CbmMcbm2018MonitorTaskPsd.cxx:147
CbmMcbm2018MonitorTaskPsd::CbmMcbm2018MonitorTaskPsd
CbmMcbm2018MonitorTaskPsd(const CbmMcbm2018MonitorTaskPsd &)
CbmMcbmUnpack
Definition: CbmMcbmUnpack.h:15
CbmMcbm2018MonitorTaskPsd::fMonitorAlgo
CbmMcbm2018MonitorAlgoPsd * fMonitorAlgo
Processing algo.
Definition: CbmMcbm2018MonitorTaskPsd.h:81