CbmRoot
|
#include <CbmMcbm2018UnpackerTaskRich.h>
Public Member Functions | |
CbmMcbm2018UnpackerTaskRich () | |
CbmMcbm2018UnpackerTaskRich (const CbmMcbm2018UnpackerTaskRich &)=delete | |
CbmMcbm2018UnpackerTaskRich | operator= (const CbmMcbm2018UnpackerTaskRich &)=delete |
virtual | ~CbmMcbm2018UnpackerTaskRich () |
virtual Bool_t | Init () |
virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
virtual void | Reset () |
virtual void | Finish () |
virtual void | SetParContainers () |
virtual Bool_t | InitContainers () |
virtual Bool_t | ReInitContainers () |
virtual void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
virtual void | SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb) |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
Algo settings setters. | |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | DoTotCorr (Bool_t bDoToTCorr=kTRUE) |
void | SetWriteOutputFlag (Bool_t bFlagIn) |
Task settings. | |
Private Member Functions | |
ClassDef (CbmMcbm2018UnpackerTaskRich, 1) | |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. | |
Bool_t | fbWriteOutput |
Switch ON the filling of a additional set of histograms. | |
uint64_t | fulTsCounter |
If ON the output TClonesArray of digi is written to disk. | |
CbmMcbm2018UnpackerAlgoRich * | fUnpackerAlgo |
Algo implementation of the unpacking. | |
std::vector< CbmRichDigi > * | fpvDigiRich = nullptr |
Output vectors. | |
Definition at line 21 of file CbmMcbm2018UnpackerTaskRich.h.
CbmMcbm2018UnpackerTaskRich::CbmMcbm2018UnpackerTaskRich | ( | ) |
Definition at line 41 of file CbmMcbm2018UnpackerTaskRich.cxx.
|
delete |
|
virtual |
Definition at line 50 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fUnpackerAlgo.
|
virtual |
Copied from other detectors without any brain effort...
Implements CbmMcbmUnpack.
Definition at line 245 of file CbmMcbm2018UnpackerTaskRich.cxx.
References CbmMcbm2018UnpackerAlgoRich::AddMsComponentToList(), and fUnpackerAlgo.
|
private |
void CbmMcbm2018UnpackerTaskRich::DoTotCorr | ( | Bool_t | bDoToTCorr = kTRUE | ) |
Definition at line 256 of file CbmMcbm2018UnpackerTaskRich.cxx.
References CbmMcbm2018UnpackerAlgoRich::DoTotCorr(), and fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 73 of file CbmMcbm2018UnpackerTaskRich.cxx.
References bMcbm2018UnpackerTaskRichResetHistos, fbMonitorMode, fulTsCounter, fUnpackerAlgo, CbmMcbm2018UnpackerAlgoRich::ProcessTs(), and CbmMcbm2018UnpackerAlgoRich::ResetHistograms().
|
virtual |
Copied from the CbmMcbm2018UnpackerTaskSts class without giving any thinking...
If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server
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
Register the histos in the HTTP server
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 108 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fbMonitorMode, fUnpackerAlgo, and CbmStar2019Algo< T >::GetHistoVector().
|
virtual |
Get address of vector from algo
Implements CbmMcbmUnpack.
Definition at line 58 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fbWriteOutput, fpvDigiRich, fUnpackerAlgo, and CbmStar2019Algo< T >::GetVector().
|
virtual |
Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...
Control flags
If monitor mode enabled, trigger 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 176 of file CbmMcbm2018UnpackerTaskRich.cxx.
References CbmMcbm2018UnpackerAlgoRich::CreateHistograms(), fbMonitorMode, fUnpackerAlgo, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018UnpackerAlgoRich::InitContainers(), and CbmMcbm2018UnpackerAlgoRich::SetMonitorMode().
|
delete |
|
virtual |
Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...
Reimplemented from CbmMcbmUnpack.
Definition at line 234 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 103 of file CbmMcbm2018UnpackerTaskRich.cxx.
References CbmStar2019Algo< T >::ClearVector(), and fUnpackerAlgo.
void CbmMcbm2018UnpackerTaskRich::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 252 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fUnpackerAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Algo settings setters.
Definition at line 49 of file CbmMcbm2018UnpackerTaskRich.h.
References fbMonitorMode.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 250 of file CbmMcbm2018UnpackerTaskRich.cxx.
|
virtual |
Copied from the CbmMcbm2018UnpackerTaskTof class without giving any thinking...
Implements CbmMcbmUnpack.
Definition at line 149 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich::GetParList().
void CbmMcbm2018UnpackerTaskRich::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 254 of file CbmMcbm2018UnpackerTaskRich.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoRich::SetTimeOffsetNs().
|
inline |
Task settings.
Definition at line 55 of file CbmMcbm2018UnpackerTaskRich.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 60 of file CbmMcbm2018UnpackerTaskRich.h.
|
private |
Control flags.
Definition at line 59 of file CbmMcbm2018UnpackerTaskRich.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 61 of file CbmMcbm2018UnpackerTaskRich.h.
Referenced by Init(), and SetWriteOutputFlag().
|
private |
|
private |
If ON the output TClonesArray of digi is written to disk.
Statistics & first TS rejection
Definition at line 64 of file CbmMcbm2018UnpackerTaskRich.h.
Referenced by DoUnpack().
|
private |
Algo implementation of the unpacking.
Definition at line 67 of file CbmMcbm2018UnpackerTaskRich.h.
Referenced by AddMsComponentToList(), DoTotCorr(), DoUnpack(), Finish(), Init(), InitContainers(), ReInitContainers(), Reset(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmMcbm2018UnpackerTaskRich().