CbmRoot
|
#include <CbmStar2019MonitorTask.h>
Public Member Functions | |
CbmStar2019MonitorTask () | |
virtual | ~CbmStar2019MonitorTask () |
virtual Bool_t | Init () |
virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
virtual void | Reset () |
virtual void | Finish () |
void | SetParContainers () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Temp until we change from CbmMcbmUnpack to something else. More... | |
void | SetNbMsInTs (size_t, size_t) |
void | SetDebugMonitorMode (Bool_t bFlagIn=kTRUE) |
Algo settings setters. More... | |
void | SetIgnoreCriticalErrors (Bool_t bFlagIn=kTRUE) |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetHistoFilename (TString sNameIn) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetSectorIndex (Int_t iSector=-1) |
Bool_t | SaveLatencyHistograms (TString sFilename) |
Private Member Functions | |
Bool_t | SaveHistograms () |
CbmStar2019MonitorTask (const CbmStar2019MonitorTask &) | |
CbmStar2019MonitorTask | operator= (const CbmStar2019MonitorTask &) |
Private Attributes | |
Bool_t | fbDebugMonitorMode |
Control flags. More... | |
Bool_t | fbIgnoreCriticalErrors |
Switch ON the filling of a additional set of histograms. More... | |
UInt_t | fuHistoryHistoSize |
If ON not printout at all for critical errors. More... | |
TString | fsHistoFileName |
UInt_t | fuMinTotPulser |
UInt_t | fuMaxTotPulser |
Int_t | fiSectorIndex |
TList * | fParCList |
Parameters management. More... | |
uint64_t | fulTsCounter |
Statistics & first TS rejection. More... | |
CbmStar2019MonitorAlgo * | fMonitorAlgo |
Processing algo. More... | |
Definition at line 21 of file CbmStar2019MonitorTask.h.
CbmStar2019MonitorTask::CbmStar2019MonitorTask | ( | ) |
Definition at line 36 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo.
|
virtual |
Definition at line 51 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo.
|
private |
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 150 of file CbmStar2019MonitorTask.cxx.
References CbmStar2019MonitorAlgo::AddMsComponentToList(), and fMonitorAlgo.
|
virtual |
Cleqr the digis vector in case it was filled
Implements CbmMcbmUnpack.
Definition at line 155 of file CbmStar2019MonitorTask.cxx.
References bStar2019MonitorTaskResetHistos, bStar2019MonitorTaskSaveHistos, CbmStar2019Algo< T >::ClearVector(), fMonitorAlgo, fulTsCounter, CbmStar2019Algo< T >::GetVector(), CbmStar2019MonitorAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ResetHistograms(), and SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 188 of file CbmStar2019MonitorTask.cxx.
References SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 53 of file CbmStar2019MonitorTask.cxx.
|
virtual |
Control flags
Transfer parameter values set from calling macro
Histos creation, obtain pointer on them and add them to the HTTP server Trigger histo creation on all associated algos
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
Obtain vector of pointers on each canvas from the algo (+ optionally desired folder)
Register the histos in the HTTP server
Reimplemented from CbmMcbmUnpack.
Definition at line 84 of file CbmStar2019MonitorTask.cxx.
References CbmStar2019MonitorAlgo::CreateHistograms(), fbDebugMonitorMode, fbIgnoreCriticalErrors, fiSectorIndex, fMonitorAlgo, fuHistoryHistoSize, fuMaxTotPulser, fuMinTotPulser, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmStar2019MonitorAlgo::InitContainers(), CbmStar2019MonitorAlgo::SetDebugMonitorMode(), CbmStar2019MonitorAlgo::SetHistoryHistoSize(), CbmStar2019MonitorAlgo::SetIgnoreCriticalErrors(), CbmStar2019MonitorAlgo::SetPulserTotLimits(), and CbmStar2019MonitorAlgo::SetSectorIndex().
|
private |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 143 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo, and CbmStar2019MonitorAlgo::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 186 of file CbmStar2019MonitorTask.cxx.
|
private |
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
(Re-)Create ROOT file to store the histos
Register the histos in the HTTP server
Make sure we end up in chosen folder
Write plot
Make sure we end up in chosen folder
Write plot
Definition at line 198 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo, fsHistoFileName, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().
Referenced by DoUnpack(), and Finish().
Bool_t CbmStar2019MonitorTask::SaveLatencyHistograms | ( | TString | sFilename | ) |
Definition at line 194 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo, and CbmStar2019MonitorAlgo::SaveLatencyHistograms().
|
inline |
Algo settings setters.
Definition at line 43 of file CbmStar2019MonitorTask.h.
References fbDebugMonitorMode.
|
inline |
Definition at line 53 of file CbmStar2019MonitorTask.h.
References fsHistoFileName.
|
inline |
Definition at line 50 of file CbmStar2019MonitorTask.h.
References fuHistoryHistoSize.
|
inline |
Definition at line 46 of file CbmStar2019MonitorTask.h.
References fbIgnoreCriticalErrors.
void CbmStar2019MonitorTask::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 190 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 40 of file CbmStar2019MonitorTask.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 60 of file CbmStar2019MonitorTask.cxx.
References fMonitorAlgo, fParCList, and CbmStar2019MonitorAlgo::GetParList().
|
inline |
Definition at line 54 of file CbmStar2019MonitorTask.h.
References fuMaxTotPulser, and fuMinTotPulser.
|
inline |
Definition at line 58 of file CbmStar2019MonitorTask.h.
References fiSectorIndex.
|
private |
Control flags.
Definition at line 67 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetDebugMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 69 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetIgnoreCriticalErrors().
|
private |
Definition at line 76 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetSectorIndex().
|
private |
Processing algo.
Definition at line 85 of file CbmStar2019MonitorTask.h.
Referenced by AddMsComponentToList(), CbmStar2019MonitorTask(), DoUnpack(), InitContainers(), ReInitContainers(), SaveHistograms(), SaveLatencyHistograms(), SetIgnoreOverlapMs(), SetParContainers(), and ~CbmStar2019MonitorTask().
|
private |
Parameters management.
Definition at line 79 of file CbmStar2019MonitorTask.h.
Referenced by SetParContainers().
|
private |
Definition at line 73 of file CbmStar2019MonitorTask.h.
Referenced by SaveHistograms(), and SetHistoFilename().
|
private |
If ON not printout at all for critical errors.
User settings parameters
Definition at line 72 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetHistoryHistoSize().
|
private |
Statistics & first TS rejection.
Definition at line 82 of file CbmStar2019MonitorTask.h.
Referenced by DoUnpack().
|
private |
Definition at line 75 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetPulserTotLimits().
|
private |
Definition at line 74 of file CbmStar2019MonitorTask.h.
Referenced by InitContainers(), and SetPulserTotLimits().