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. | |
void | SetNbMsInTs (size_t, size_t) |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
Algo settings setters. | |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | SetDiamondDpbIdx (UInt_t uIdx=2) |
void | SetSeparateArrayBmon (Bool_t bFlagIn=kTRUE) |
Task settings. | |
void | SetDigiMaskAndIdBmon (UInt_t uMask, UInt_t uMaskedIdBmon) |
void | SetWriteOutputFlag (Bool_t bFlagIn) |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. | |
Bool_t | fbSeparateArrayBmon |
Switch ON the filling of a additional set of histograms. | |
Bool_t | fbWriteOutput |
If ON, Bmon digis are saved in separate TClonesArray. | |
UInt_t | fuDigiMaskedIdBmon |
If ON the output TClonesArray of digi is written to disk. | |
UInt_t | fuDigiMaskId |
uint64_t | fulTsCounter |
Statistics & first TS rejection. | |
std::vector< CbmTofDigi > * | fpvDigiTof = nullptr |
Output vectors. | |
std::vector< CbmTofDigi > * | fpvDigiBmon = nullptr |
TH1 * | fhArraySize = nullptr |
Histograms. | |
TH1 * | fhArrayCapacity = nullptr |
CbmMcbm2018UnpackerAlgoTof * | fUnpackerAlgo |
Processing algo. | |
Definition at line 24 of file CbmMcbm2018UnpackerTaskTof.h.
CbmMcbm2018UnpackerTaskTof::CbmMcbm2018UnpackerTaskTof | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 40 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
delete |
|
virtual |
Definition at line 54 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 161 of file CbmMcbm2018UnpackerTaskTof.cxx.
References CbmMcbm2018UnpackerAlgoTof::AddMsComponentToList(), and fUnpackerAlgo.
|
virtual |
Copy the digis in the DaqBuffer
Insert data in Bmon output container
Insert data in TOF output container
Implements CbmMcbmUnpack.
Definition at line 166 of file CbmMcbm2018UnpackerTaskTof.cxx.
References bMcbm2018UnpackerTaskTofResetHistos, CbmStar2019Algo< T >::ClearVector(), fbMonitorMode, fbSeparateArrayBmon, fhArrayCapacity, fhArraySize, fpvDigiBmon, fpvDigiTof, fuDigiMaskedIdBmon, 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)
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 233 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbMonitorMode, fhArrayCapacity, fhArraySize, fUnpackerAlgo, and CbmStar2019Algo< T >::GetHistoVector().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 56 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbSeparateArrayBmon, fbWriteOutput, fpvDigiBmon, 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 99 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 153 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 225 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbSeparateArrayBmon, fpvDigiBmon, and fpvDigiTof.
void CbmMcbm2018UnpackerTaskTof::SetDiamondDpbIdx | ( | UInt_t | uIdx = 2 | ) |
Definition at line 277 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::SetDiamondDpbIdx().
|
inline |
Definition at line 57 of file CbmMcbm2018UnpackerTaskTof.h.
References fuDigiMaskedIdBmon, and fuDigiMaskId.
void CbmMcbm2018UnpackerTaskTof::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 274 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Algo settings setters.
Definition at line 50 of file CbmMcbm2018UnpackerTaskTof.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 47 of file CbmMcbm2018UnpackerTaskTof.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 75 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo, and CbmMcbm2018UnpackerAlgoTof::GetParList().
|
inline |
Task settings.
Definition at line 56 of file CbmMcbm2018UnpackerTaskTof.h.
References fbSeparateArrayBmon.
void CbmMcbm2018UnpackerTaskTof::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 276 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 67 of file CbmMcbm2018UnpackerTaskTof.h.
|
private |
Control flags.
Definition at line 66 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 68 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Init(), Reset(), and SetSeparateArrayBmon().
|
private |
If ON, Bmon digis are saved in separate TClonesArray.
Definition at line 69 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by Init(), and SetWriteOutputFlag().
|
private |
Definition at line 84 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Finish(), and InitContainers().
|
private |
Histograms.
Definition at line 83 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Finish(), and InitContainers().
|
private |
Definition at line 80 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), Init(), and Reset().
|
private |
Output vectors.
Definition at line 79 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 72 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), and SetDigiMaskAndIdBmon().
|
private |
Definition at line 73 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack(), and SetDigiMaskAndIdBmon().
|
private |
Statistics & first TS rejection.
Definition at line 76 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by DoUnpack().
|
private |
Processing algo.
Definition at line 87 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by AddMsComponentToList(), CbmMcbm2018UnpackerTaskTof(), DoUnpack(), Finish(), InitContainers(), ReInitContainers(), SetDiamondDpbIdx(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmMcbm2018UnpackerTaskTof().