|
CbmRoot
|
#include <CbmCosy2019UnpackerTaskHodo.h>
Public Member Functions | |
| CbmCosy2019UnpackerTaskHodo (UInt_t uNbSdpb=1) | |
| CbmCosy2019UnpackerTaskHodo (const CbmCosy2019UnpackerTaskHodo &)=delete | |
| CbmCosy2019UnpackerTaskHodo | operator= (const CbmCosy2019UnpackerTaskHodo &)=delete |
| virtual | ~CbmCosy2019UnpackerTaskHodo () |
| 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 | SetTimeOffsetNsSts (Double_t dOffsetIn=0.0) |
| void | SetTimeOffsetNsAsicSts (UInt_t uAsicIdx, Double_t dOffsetIn=0.0) |
| void | MaskNoisyChannelSts (UInt_t uFeb, UInt_t uChan, Bool_t bMasked=kTRUE) |
| void | SetAdcCutSts (UInt_t uAdc) |
| void | SetWriteOutputFlag (Bool_t bFlagIn) |
| Task settings. | |
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. | |
| std::vector< FebChanMaskSts > | fvChanMasks |
| If ON the output TClonesArray of digi is written to disk. | |
| uint64_t | fulTsCounter |
| Statistics & first TS rejection. | |
| std::vector< CbmStsDigi > * | fpvDigiSts = nullptr |
| Output vectors. | |
| std::vector< CbmErrorMessage > * | fpvErrorSts = nullptr |
| CbmCosy2019UnpackerAlgoHodo * | fUnpackerAlgo |
| Processing algo. | |
| CbmMcbm2018UnpackerAlgoSts * | fUnpackerAlgoSts = nullptr |
Definition at line 30 of file CbmCosy2019UnpackerTaskHodo.h.
| CbmCosy2019UnpackerTaskHodo::CbmCosy2019UnpackerTaskHodo | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 41 of file CbmCosy2019UnpackerTaskHodo.cxx.
References CbmMcbmUnpack::CbmMcbmUnpack(), fbMonitorMode, fbWriteOutput, fulTsCounter, fUnpackerAlgo, fUnpackerAlgoSts, and fvChanMasks.
Referenced by CbmCosy2019UnpackerTaskHodo(), and operator=().
|
delete |
References CbmCosy2019UnpackerTaskHodo().
|
virtual |
Definition at line 53 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo, and fUnpackerAlgoSts.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 192 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo, and fUnpackerAlgoSts.
|
virtual |
Copy the digis in the output Buffer
Sort the buffers of hits due to the time offsets applied
Copy the errors in the output Buffer Cannot be done in algo as merging outputs of 2 different ones! => Less efficient than STS only due to double sorting
Implements CbmMcbmUnpack.
Definition at line 198 of file CbmCosy2019UnpackerTaskHodo.cxx.
References bCosy2019UnpackerTaskHodoResetHistos, fbMonitorMode, fpvDigiSts, fpvErrorSts, fulTsCounter, fUnpackerAlgo, and fUnpackerAlgoSts.
|
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 251 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fbMonitorMode, fUnpackerAlgo, and fUnpackerAlgoSts.
|
virtual |
WARNING: incompatible with the hodoscopes unpacker!!!!
Create output vector and register it
create output error vector and register it
Implements CbmMcbmUnpack.
Definition at line 59 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fbWriteOutput, fpvDigiSts, and fpvErrorSts.
|
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 127 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fbMonitorMode, fUnpackerAlgo, fUnpackerAlgoSts, and fvChanMasks.
| void CbmCosy2019UnpackerTaskHodo::MaskNoisyChannelSts | ( | UInt_t | uFeb, |
| UInt_t | uChan, | ||
| Bool_t | bMasked = kTRUE ) |
Definition at line 314 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fvChanMasks.
|
delete |
References CbmCosy2019UnpackerTaskHodo().
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 183 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo, and fUnpackerAlgoSts.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 245 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fpvDigiSts, and fpvErrorSts.
| void CbmCosy2019UnpackerTaskHodo::SetAdcCutSts | ( | UInt_t | uAdc | ) |
Definition at line 319 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgoSts.
| void CbmCosy2019UnpackerTaskHodo::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 291 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo, and fUnpackerAlgoSts.
|
inline |
Definition at line 55 of file CbmCosy2019UnpackerTaskHodo.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 53 of file CbmCosy2019UnpackerTaskHodo.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 84 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo, and fUnpackerAlgoSts.
| void CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 297 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo.
| void CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNsAsic | ( | UInt_t | uAsicIdx, |
| Double_t | dOffsetIn = 0.0 ) |
Definition at line 304 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgo.
| void CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNsAsicSts | ( | UInt_t | uAsicIdx, |
| Double_t | dOffsetIn = 0.0 ) |
Definition at line 309 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgoSts.
| void CbmCosy2019UnpackerTaskHodo::SetTimeOffsetNsSts | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 299 of file CbmCosy2019UnpackerTaskHodo.cxx.
References fUnpackerAlgoSts.
|
inline |
Task settings.
Definition at line 67 of file CbmCosy2019UnpackerTaskHodo.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 72 of file CbmCosy2019UnpackerTaskHodo.h.
|
private |
Control flags.
Definition at line 71 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by CbmCosy2019UnpackerTaskHodo(), DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 73 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by CbmCosy2019UnpackerTaskHodo(), Init(), and SetWriteOutputFlag().
|
private |
Output vectors.
Definition at line 82 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by DoUnpack(), Init(), and Reset().
|
private |
Definition at line 83 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by DoUnpack(), Init(), and Reset().
|
private |
Statistics & first TS rejection.
Definition at line 79 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by CbmCosy2019UnpackerTaskHodo(), and DoUnpack().
|
private |
Processing algo.
Definition at line 86 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by AddMsComponentToList(), CbmCosy2019UnpackerTaskHodo(), DoUnpack(), Finish(), InitContainers(), ReInitContainers(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), SetTimeOffsetNsAsic(), and ~CbmCosy2019UnpackerTaskHodo().
|
private |
Definition at line 87 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by AddMsComponentToList(), CbmCosy2019UnpackerTaskHodo(), DoUnpack(), Finish(), InitContainers(), ReInitContainers(), SetAdcCutSts(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNsAsicSts(), SetTimeOffsetNsSts(), and ~CbmCosy2019UnpackerTaskHodo().
|
private |
If ON the output TClonesArray of digi is written to disk.
Temporary storage of user parameters
Definition at line 76 of file CbmCosy2019UnpackerTaskHodo.h.
Referenced by CbmCosy2019UnpackerTaskHodo(), InitContainers(), and MaskNoisyChannelSts().