|
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 39 of file CbmMcbm2018UnpackerTaskTof.cxx.
References CbmMcbmUnpack::CbmMcbmUnpack(), fbDebugMonitorMode, fbMonitorMode, fbSeparateArrayBmon, fbWriteOutput, fuDigiMaskedIdBmon, fuDigiMaskId, fulTsCounter, and fUnpackerAlgo.
Referenced by CbmMcbm2018UnpackerTaskTof(), and operator=().
|
delete |
References CbmMcbm2018UnpackerTaskTof().
|
virtual |
Definition at line 53 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 160 of file CbmMcbm2018UnpackerTaskTof.cxx.
References 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 165 of file CbmMcbm2018UnpackerTaskTof.cxx.
References bMcbm2018UnpackerTaskTofResetHistos, fbMonitorMode, fbSeparateArrayBmon, fhArrayCapacity, fhArraySize, fpvDigiBmon, fpvDigiTof, fuDigiMaskedIdBmon, fuDigiMaskId, fulTsCounter, and fUnpackerAlgo.
|
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 232 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbMonitorMode, fhArrayCapacity, fhArraySize, and fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 55 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 98 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbMonitorMode, fhArrayCapacity, fhArraySize, and fUnpackerAlgo.
|
delete |
References CbmMcbm2018UnpackerTaskTof().
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 152 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 224 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fbSeparateArrayBmon, fpvDigiBmon, and fpvDigiTof.
| void CbmMcbm2018UnpackerTaskTof::SetDiamondDpbIdx | ( | UInt_t | uIdx = 2 | ) |
Definition at line 276 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
inline |
Definition at line 57 of file CbmMcbm2018UnpackerTaskTof.h.
References fuDigiMaskedIdBmon, and fuDigiMaskId.
| void CbmMcbm2018UnpackerTaskTof::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 273 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
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 74 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
inline |
Task settings.
Definition at line 56 of file CbmMcbm2018UnpackerTaskTof.h.
References fbSeparateArrayBmon.
| void CbmMcbm2018UnpackerTaskTof::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 275 of file CbmMcbm2018UnpackerTaskTof.cxx.
References fUnpackerAlgo.
|
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.
Referenced by CbmMcbm2018UnpackerTaskTof().
|
private |
Control flags.
Definition at line 66 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by CbmMcbm2018UnpackerTaskTof(), 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 CbmMcbm2018UnpackerTaskTof(), 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 CbmMcbm2018UnpackerTaskTof(), 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.
Definition at line 72 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by CbmMcbm2018UnpackerTaskTof(), DoUnpack(), and SetDigiMaskAndIdBmon().
|
private |
Definition at line 73 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by CbmMcbm2018UnpackerTaskTof(), DoUnpack(), and SetDigiMaskAndIdBmon().
|
private |
Statistics & first TS rejection.
Definition at line 76 of file CbmMcbm2018UnpackerTaskTof.h.
Referenced by CbmMcbm2018UnpackerTaskTof(), and 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().