CbmRoot
|
#include <CbmMcbm2018UnpackerTaskPsd.h>
Public Member Functions | |
CbmMcbm2018UnpackerTaskPsd (UInt_t uNbSdpb=1) | |
CbmMcbm2018UnpackerTaskPsd (const CbmMcbm2018UnpackerTaskPsd &)=delete | |
CbmMcbm2018UnpackerTaskPsd | operator= (const CbmMcbm2018UnpackerTaskPsd &)=delete |
virtual | ~CbmMcbm2018UnpackerTaskPsd () |
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 | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
Algo settings setters. More... | |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | SetDiamondDpbIdx (UInt_t uIdx=2) |
void | SetWriteOutputFlag (Bool_t bFlagIn) |
Task settings. More... | |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
Bool_t | fbWriteOutput |
Switch ON the filling of a additional set of histograms. More... | |
UInt_t | fuDigiMaskId |
If ON the output TClonesArray of digi is written to disk. More... | |
uint64_t | fulTsCounter |
Statistics & first TS rejection. More... | |
std::vector< CbmPsdDigi > * | fpvDigiPsd = nullptr |
Output vectors. More... | |
TH1 * | fhArraySize = nullptr |
Histogrrams. More... | |
TH1 * | fhArrayCapacity = nullptr |
CbmMcbm2018UnpackerAlgoPsd * | fUnpackerAlgo |
Processing algo. More... | |
Definition at line 21 of file CbmMcbm2018UnpackerTaskPsd.h.
CbmMcbm2018UnpackerTaskPsd::CbmMcbm2018UnpackerTaskPsd | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 36 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo.
|
delete |
|
virtual |
Definition at line 47 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 161 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References CbmMcbm2018UnpackerAlgoPsd::AddMsComponentToList(), and fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 166 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References bMcbm2018UnpackerTaskPsdResetHistos, fbMonitorMode, fulTsCounter, fUnpackerAlgo, CbmMcbm2018UnpackerAlgoPsd::ProcessTs(), and CbmMcbm2018UnpackerAlgoPsd::ResetHistograms().
|
virtual |
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)
(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
Implements CbmMcbmUnpack.
Definition at line 205 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fbMonitorMode, fhArrayCapacity, fhArraySize, fUnpackerAlgo, and CbmStar2019Algo< T >::GetHistoVector().
|
virtual |
Get address of vector from algo
Implements CbmMcbmUnpack.
Definition at line 51 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fbWriteOutput, fpvDigiPsd, fUnpackerAlgo, and CbmStar2019Algo< T >::GetVector().
|
virtual |
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)
Register the histos in the HTTP server
Reimplemented from CbmMcbmUnpack.
Definition at line 89 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References CbmMcbm2018UnpackerAlgoPsd::CreateHistograms(), fbMonitorMode, fhArrayCapacity, fhArraySize, fUnpackerAlgo, CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018UnpackerAlgoPsd::InitContainers(), and CbmMcbm2018UnpackerAlgoPsd::SetMonitorMode().
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 154 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoPsd::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 202 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References CbmStar2019Algo< T >::ClearVector(), and fUnpackerAlgo.
void CbmMcbm2018UnpackerTaskPsd::SetDiamondDpbIdx | ( | UInt_t | uIdx = 2 | ) |
Definition at line 249 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoPsd::SetDiamondDpbIdx().
void CbmMcbm2018UnpackerTaskPsd::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 242 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Algo settings setters.
Definition at line 48 of file CbmMcbm2018UnpackerTaskPsd.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 45 of file CbmMcbm2018UnpackerTaskPsd.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 65 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoPsd::GetParList().
void CbmMcbm2018UnpackerTaskPsd::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 246 of file CbmMcbm2018UnpackerTaskPsd.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoPsd::SetTimeOffsetNs().
|
inline |
Task settings.
Definition at line 56 of file CbmMcbm2018UnpackerTaskPsd.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 63 of file CbmMcbm2018UnpackerTaskPsd.h.
|
private |
Control flags.
Definition at line 61 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 65 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by Init(), and SetWriteOutputFlag().
|
private |
Definition at line 78 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by Finish(), and InitContainers().
|
private |
Histogrrams.
Definition at line 77 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by Finish(), and InitContainers().
|
private |
|
private |
If ON the output TClonesArray of digi is written to disk.
Parameters
Definition at line 68 of file CbmMcbm2018UnpackerTaskPsd.h.
|
private |
Statistics & first TS rejection.
Definition at line 71 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by DoUnpack().
|
private |
Processing algo.
Definition at line 81 of file CbmMcbm2018UnpackerTaskPsd.h.
Referenced by AddMsComponentToList(), CbmMcbm2018UnpackerTaskPsd(), DoUnpack(), Finish(), Init(), InitContainers(), ReInitContainers(), Reset(), SetDiamondDpbIdx(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmMcbm2018UnpackerTaskPsd().