CbmRoot
|
#include <CbmMcbmSpillFindTask.h>
Public Member Functions | |
CbmMcbmSpillFindTask () | |
CbmMcbmSpillFindTask (const CbmMcbmSpillFindTask &)=delete | |
CbmMcbmSpillFindTask | operator= (const CbmMcbmSpillFindTask &)=delete |
virtual | ~CbmMcbmSpillFindTask () |
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. | |
void | SetNbMsInTs (size_t, size_t) |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
Algo settings setters. | |
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 | SetSpillThreshold (UInt_t uCntLimit) |
void | SetSpillCheckIntervalSec (Double_t dInterval) |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. | |
UInt_t | fuHistoryHistoSize |
Switch ON the filling of a additional set of histograms. | |
TString | fsHistoFileName |
UInt_t | fuMinTotPulser |
UInt_t | fuMaxTotPulser |
UInt_t | fuOffSpillCountLimit |
Double_t | fdSpillCheckInterval = 0.5 |
uint64_t | fulTsCounter |
Statistics & first TS rejection. | |
CbmMcbmSpillFindAlgo * | fMonitorAlgo |
Processing algo. | |
Definition at line 22 of file CbmMcbmSpillFindTask.h.
CbmMcbmSpillFindTask::CbmMcbmSpillFindTask | ( | ) |
Definition at line 40 of file CbmMcbmSpillFindTask.cxx.
References fMonitorAlgo.
|
delete |
|
virtual |
Definition at line 55 of file CbmMcbmSpillFindTask.cxx.
References fMonitorAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 150 of file CbmMcbmSpillFindTask.cxx.
References CbmMcbmSpillFindAlgo::AddMsComponentToList(), and fMonitorAlgo.
|
virtual |
Cleqr the digis vector in case it was filled
Implements CbmMcbmUnpack.
Definition at line 155 of file CbmMcbmSpillFindTask.cxx.
References bMcbmSpillFindResetHistos, CbmStar2019Algo< T >::ClearVector(), fbMonitorMode, fMonitorAlgo, fulTsCounter, CbmStar2019Algo< T >::GetVector(), CbmMcbmSpillFindAlgo::ProcessTs(), and CbmMcbmSpillFindAlgo::ResetHistograms().
|
virtual |
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
Save old global file and folder pointer to avoid messing with FairRoot
Save the histograms in a file
Make sure we end up in chosen folder
Write plot
Restore old global file and folder pointer to avoid messing with FairRoot
Implements CbmMcbmUnpack.
Definition at line 180 of file CbmMcbmSpillFindTask.cxx.
References CbmMcbmSpillFindAlgo::Finish(), fMonitorAlgo, fsHistoFileName, and CbmStar2019Algo< T >::GetHistoVector().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 57 of file CbmMcbmSpillFindTask.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 89 of file CbmMcbmSpillFindTask.cxx.
References CbmMcbmSpillFindAlgo::CreateHistograms(), fbMonitorMode, fdSpillCheckInterval, fMonitorAlgo, fuHistoryHistoSize, fuMaxTotPulser, fuMinTotPulser, fuOffSpillCountLimit, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbmSpillFindAlgo::InitContainers(), CbmMcbmSpillFindAlgo::SetHistoryHistoSize(), CbmMcbmSpillFindAlgo::SetMonitorMode(), CbmMcbmSpillFindAlgo::SetPulserTotLimits(), CbmMcbmSpillFindAlgo::SetSpillCheckIntervalSec(), and CbmMcbmSpillFindAlgo::SetSpillThreshold().
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 142 of file CbmMcbmSpillFindTask.cxx.
References fMonitorAlgo, and CbmMcbmSpillFindAlgo::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 178 of file CbmMcbmSpillFindTask.cxx.
|
inline |
Definition at line 50 of file CbmMcbmSpillFindTask.h.
References fsHistoFileName.
|
inline |
Definition at line 49 of file CbmMcbmSpillFindTask.h.
References fuHistoryHistoSize.
void CbmMcbmSpillFindTask::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 217 of file CbmMcbmSpillFindTask.cxx.
References fMonitorAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Algo settings setters.
Definition at line 47 of file CbmMcbmSpillFindTask.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 44 of file CbmMcbmSpillFindTask.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 65 of file CbmMcbmSpillFindTask.cxx.
References fMonitorAlgo, and CbmMcbmSpillFindAlgo::GetParList().
|
inline |
Definition at line 51 of file CbmMcbmSpillFindTask.h.
References fuMaxTotPulser, and fuMinTotPulser.
|
inline |
Definition at line 57 of file CbmMcbmSpillFindTask.h.
References fdSpillCheckInterval.
|
inline |
Definition at line 56 of file CbmMcbmSpillFindTask.h.
References fuOffSpillCountLimit.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 62 of file CbmMcbmSpillFindTask.h.
|
private |
Control flags.
Definition at line 61 of file CbmMcbmSpillFindTask.h.
Referenced by DoUnpack(), InitContainers(), and SetMonitorMode().
|
private |
Definition at line 70 of file CbmMcbmSpillFindTask.h.
Referenced by InitContainers(), and SetSpillCheckIntervalSec().
|
private |
Processing algo.
Definition at line 76 of file CbmMcbmSpillFindTask.h.
Referenced by AddMsComponentToList(), CbmMcbmSpillFindTask(), DoUnpack(), Finish(), InitContainers(), ReInitContainers(), SetIgnoreOverlapMs(), SetParContainers(), and ~CbmMcbmSpillFindTask().
|
private |
Definition at line 66 of file CbmMcbmSpillFindTask.h.
Referenced by Finish(), and SetHistoFilename().
|
private |
Switch ON the filling of a additional set of histograms.
User settings parameters
Definition at line 65 of file CbmMcbmSpillFindTask.h.
Referenced by InitContainers(), and SetHistoryHistoSize().
|
private |
Statistics & first TS rejection.
Definition at line 73 of file CbmMcbmSpillFindTask.h.
Referenced by DoUnpack().
|
private |
Definition at line 68 of file CbmMcbmSpillFindTask.h.
Referenced by InitContainers(), and SetPulserTotLimits().
|
private |
Definition at line 67 of file CbmMcbmSpillFindTask.h.
Referenced by InitContainers(), and SetPulserTotLimits().
|
private |
Definition at line 69 of file CbmMcbmSpillFindTask.h.
Referenced by InitContainers(), and SetSpillThreshold().