CbmRoot
|
#include <CbmMcbm2018UnpackerTaskTof.h>
Public Member Functions | |
CbmMcbm2018UnpackerTaskTof (UInt_t uNbSdpb=1) | |
CbmMcbm2018UnpackerTaskTof (const CbmMcbm2018UnpackerTaskTof &)=delete | |
CbmMcbm2018UnpackerTaskTof | operator= (const CbmMcbm2018UnpackerTaskTof &)=delete |
virtual | ~CbmMcbm2018UnpackerTaskTof () |
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 | SetSeparateArrayT0 (Bool_t bFlagIn=kTRUE) |
Task settings. More... | |
void | SetDigiMaskAndIdT0 (UInt_t uMask, UInt_t uMaskedIdT0) |
void | SetWriteOutputFlag (Bool_t bFlagIn) |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
Bool_t | fbSeparateArrayT0 |
Switch ON the filling of a additional set of histograms. More... | |
Bool_t | fbWriteOutput |
If ON, T0 digis are saved in separate TClonesArray. More... | |
UInt_t | fuDigiMaskedIdT0 |
If ON the output TClonesArray of digi is written to disk. More... | |
UInt_t | fuDigiMaskId |
uint64_t | fulTsCounter |
Statistics & first TS rejection. More... | |
std::vector< CbmTofDigi > * | fpvDigiTof = nullptr |
Output vectors. More... | |
std::vector< CbmTofDigi > * | fpvDigiT0 = nullptr |
TH1 * | fhArraySize = nullptr |
Histograms. More... | |
TH1 * | fhArrayCapacity = nullptr |
CbmMcbm2018UnpackerAlgoTof * | fUnpackerAlgo |
Processing algo. More... | |
Definition at line 20 of file CbmMcbm2018UnpackerTaskTof.h.
CbmMcbm2018UnpackerTaskTof::CbmMcbm2018UnpackerTaskTof | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 35 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
delete |
|
virtual |
Definition at line 48 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 166 of file CbmMcbm2018UnpackerTaskTof.cxx.
References CbmMcbm2018UnpackerAlgoTof::AddMsComponentToList(), and fUnpackerAlgo.
|
virtual |
Copy the digis in the DaqBuffer
Insert data in T0 output container
Insert data in TOF output container
Implements CbmMcbmUnpack.
Definition at line 171 of file CbmMcbm2018UnpackerTaskTof.cxx.
References bMcbm2018UnpackerTaskTofResetHistos, CbmStar2019Algo< T >::ClearVector(), fbMonitorMode, fbSeparateArrayT0, fhArrayCapacity, fhArraySize, fpvDigiT0, fpvDigiTof, fuDigiMaskedIdT0, fuDigiMaskId, fulTsCounter, fUnpackerAlgo, CbmStar2019Algo< T >::GetVector(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), and CbmMcbm2018UnpackerAlgoTof::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 247 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbMonitorMode, fhArrayCapacity, fhArraySize, fUnpackerAlgo, and CbmStar2019Algo< T >::GetHistoVector().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 52 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbSeparateArrayT0, fbWriteOutput, fpvDigiT0, and fpvDigiTof.
|
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 94 of file CbmMcbm2018UnpackerTaskTof.cxx.
References CbmMcbm2018UnpackerAlgoTof::CreateHistograms(), fbMonitorMode, fhArrayCapacity, fhArraySize, fUnpackerAlgo, CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018UnpackerAlgoTof::InitContainers(), and CbmMcbm2018UnpackerAlgoTof::SetMonitorMode().
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 159 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 238 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbSeparateArrayT0, fpvDigiT0, and fpvDigiTof.
void CbmMcbm2018UnpackerTaskTof::SetDiamondDpbIdx | ( | UInt_t | uIdx = 2 | ) |
Definition at line 291 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::SetDiamondDpbIdx().
|
inline |
Definition at line 58 of file CbmMcbm2018UnpackerTaskTof.h.
References fuDigiMaskedIdT0, and fuDigiMaskId.
void CbmMcbm2018UnpackerTaskTof::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 284 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Algo settings setters.
Definition at line 47 of file CbmMcbm2018UnpackerTaskTof.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 44 of file CbmMcbm2018UnpackerTaskTof.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 70 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::GetParList().
|
inline |
Task settings.
Definition at line 55 of file CbmMcbm2018UnpackerTaskTof.h.
References fbSeparateArrayT0.
void CbmMcbm2018UnpackerTaskTof::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 288 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::SetTimeOffsetNs().
|
inline |
Definition at line 62 of file CbmMcbm2018UnpackerTaskTof.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 69 of file CbmMcbm2018UnpackerTaskTof.h.
|
private |
Control flags.
Definition at line 67 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 71 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Init(), Reset(), and SetSeparateArrayT0().
|
private |
If ON, T0 digis are saved in separate TClonesArray.
Definition at line 73 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by Init(), and SetWriteOutputFlag().
|
private |
Definition at line 88 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Finish(), and InitContainers().
|
private |
Histograms.
Definition at line 87 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Finish(), and InitContainers().
|
private |
Definition at line 84 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Init(), and Reset().
|
private |
Output vectors.
Definition at line 83 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Init(), and Reset().
|
private |
If ON the output TClonesArray of digi is written to disk.
Parameters
Definition at line 76 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), and SetDigiMaskAndIdT0().
|
private |
Definition at line 77 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), and SetDigiMaskAndIdT0().
|
private |
Statistics & first TS rejection.
Definition at line 80 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack().
|
private |
Processing algo.
Definition at line 91 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by AddMsComponentToList(), CbmMcbm2018UnpackerTaskTof(), DoUnpack(), Finish(), InitContainers(), ReInitContainers(), SetDiamondDpbIdx(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmMcbm2018UnpackerTaskTof().