|
CbmRoot
|
#include <CbmMcbm2018UnpackerTaskSts.h>
Public Member Functions | |
| CbmMcbm2018UnpackerTaskSts (UInt_t uNbSdpb=1) | |
| CbmMcbm2018UnpackerTaskSts (const CbmMcbm2018UnpackerTaskSts &)=delete | |
| CbmMcbm2018UnpackerTaskSts | operator= (const CbmMcbm2018UnpackerTaskSts &)=delete |
| virtual | ~CbmMcbm2018UnpackerTaskSts () |
| 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) |
| void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
| void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
| void | SetTimeOffsetNsAsic (UInt_t uAsicIdx, Double_t dOffsetIn=0.0) |
| void | MaskNoisyChannel (UInt_t uFeb, UInt_t uChan, Bool_t bMasked=kTRUE) |
| void | SetAdcCut (UInt_t uAdc) |
| void | SetBinningFwFlag (Bool_t bEnable=kTRUE) |
| => Quick and dirty hack for binning FW!!! | |
| void | SetWriteOutputFlag (Bool_t bFlagIn) |
| Task settings. | |
| void | SeparatePulserOutput (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 | fbWriteOutput |
| Switch ON the filling of a additional set of histograms. | |
| Bool_t | fbPulserOutput = kTRUE |
| If ON the output TClonesArray of digi is written to disk. | |
| std::vector< FebChanMask > | fvChanMasks |
| If ON a separate output vector of digi is used for the pulser. | |
| uint64_t | fulTsCounter |
| Statistics & first TS rejection. | |
| std::vector< CbmStsDigi > * | fpvDigiSts = nullptr |
| Output vectors. | |
| std::vector< CbmStsDigi > * | fpvPulserDigiSts = nullptr |
| std::vector< CbmErrorMessage > * | fpvErrorSts = nullptr |
| CbmMcbm2018UnpackerAlgoSts * | fUnpackerAlgo |
| Processing algo. | |
Definition at line 30 of file CbmMcbm2018UnpackerTaskSts.h.
| CbmMcbm2018UnpackerTaskSts::CbmMcbm2018UnpackerTaskSts | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 38 of file CbmMcbm2018UnpackerTaskSts.cxx.
References CbmMcbmUnpack::CbmMcbmUnpack(), fbMonitorMode, fbWriteOutput, fulTsCounter, fUnpackerAlgo, and fvChanMasks.
Referenced by CbmMcbm2018UnpackerTaskSts(), and operator=().
|
delete |
References CbmMcbm2018UnpackerTaskSts().
|
virtual |
Definition at line 49 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 164 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 169 of file CbmMcbm2018UnpackerTaskSts.cxx.
References bMcbm2018UnpackerTaskStsResetHistos, fbMonitorMode, 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 205 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fbMonitorMode, and fUnpackerAlgo.
|
virtual |
WARNING: incompatible with the hodoscopes unpacker!!!!
Get address of vector from algo
Get address of pulser vector from algo
Get address of error vector from algo
Implements CbmMcbmUnpack.
Definition at line 51 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fbPulserOutput, fbWriteOutput, fpvDigiSts, fpvErrorSts, fpvPulserDigiSts, and fUnpackerAlgo.
|
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 106 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fbMonitorMode, fUnpackerAlgo, and fvChanMasks.
| void CbmMcbm2018UnpackerTaskSts::MaskNoisyChannel | ( | UInt_t | uFeb, |
| UInt_t | uChan, | ||
| Bool_t | bMasked = kTRUE ) |
Definition at line 252 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fvChanMasks.
|
delete |
References CbmMcbm2018UnpackerTaskSts().
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 156 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 198 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fbPulserOutput, and fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SeparatePulserOutput | ( | Bool_t | bFlagIn | ) |
Definition at line 261 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fbPulserOutput, and fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SetAdcCut | ( | UInt_t | uAdc | ) |
Definition at line 257 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SetBinningFwFlag | ( | Bool_t | bEnable = kTRUE | ) |
=> Quick and dirty hack for binning FW!!!
Definition at line 259 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 243 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
|
inline |
Definition at line 55 of file CbmMcbm2018UnpackerTaskSts.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 53 of file CbmMcbm2018UnpackerTaskSts.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 82 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 245 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
| void CbmMcbm2018UnpackerTaskSts::SetTimeOffsetNsAsic | ( | UInt_t | uAsicIdx, |
| Double_t | dOffsetIn = 0.0 ) |
Definition at line 247 of file CbmMcbm2018UnpackerTaskSts.cxx.
References fUnpackerAlgo.
|
inline |
Task settings.
Definition at line 67 of file CbmMcbm2018UnpackerTaskSts.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 73 of file CbmMcbm2018UnpackerTaskSts.h.
|
private |
Control flags.
Definition at line 72 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by CbmMcbm2018UnpackerTaskSts(), DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
If ON the output TClonesArray of digi is written to disk.
Definition at line 75 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by Init(), Reset(), and SeparatePulserOutput().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 74 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by CbmMcbm2018UnpackerTaskSts(), Init(), and SetWriteOutputFlag().
|
private |
|
private |
Definition at line 86 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by Init().
|
private |
Definition at line 85 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by Init().
|
private |
Statistics & first TS rejection.
Definition at line 81 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by CbmMcbm2018UnpackerTaskSts(), and DoUnpack().
|
private |
Processing algo.
Definition at line 89 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by AddMsComponentToList(), CbmMcbm2018UnpackerTaskSts(), DoUnpack(), Finish(), Init(), InitContainers(), ReInitContainers(), Reset(), SeparatePulserOutput(), SetAdcCut(), SetBinningFwFlag(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), SetTimeOffsetNsAsic(), and ~CbmMcbm2018UnpackerTaskSts().
|
private |
If ON a separate output vector of digi is used for the pulser.
Temporary storage of user parameters
Definition at line 78 of file CbmMcbm2018UnpackerTaskSts.h.
Referenced by CbmMcbm2018UnpackerTaskSts(), InitContainers(), and MaskNoisyChannel().