CbmRoot
|
#include <CbmMcbm2018MonitorTaskHodo.h>
Public Member Functions | |
CbmMcbm2018MonitorTaskHodo (UInt_t uNbSdpb=1) | |
CbmMcbm2018MonitorTaskHodo (const CbmMcbm2018MonitorTaskHodo &)=delete | |
CbmMcbm2018MonitorTaskHodo | operator= (const CbmMcbm2018MonitorTaskHodo &)=delete |
virtual | ~CbmMcbm2018MonitorTaskHodo () |
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) |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetDpbId (UInt_t uDpbId=0x5b75) |
void | SetHodoElinkIdx (UInt_t uElinkHodoA=5, UInt_t uElinkHodoB=10) |
void | SetHodoSwapXY (Bool_t bSwapHodoA=kFALSE, Bool_t bSwapHodoB=kTRUE) |
void | SetHodoInvertX (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE) |
void | SetHodoInvertY (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | SetWriteOutputFlag (Bool_t bFlagIn) |
Task settings. More... | |
Private Member Functions | |
Bool_t | SaveHistograms () |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
Bool_t | fbWriteOutput |
Switch ON the filling of a additional set of histograms. More... | |
uint64_t | fulTsCounter |
If ON the output TClonesArray of digi is written to disk. More... | |
CbmMcbm2018MonitorAlgoHodo * | fMonitorAlgo |
Processing algo. More... | |
Definition at line 17 of file CbmMcbm2018MonitorTaskHodo.h.
CbmMcbm2018MonitorTaskHodo::CbmMcbm2018MonitorTaskHodo | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 36 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo.
|
delete |
|
virtual |
Definition at line 47 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 160 of file CbmMcbm2018MonitorTaskHodo.cxx.
References CbmMcbm2018MonitorAlgoHodo::AddMsComponentToList(), and fMonitorAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 165 of file CbmMcbm2018MonitorTaskHodo.cxx.
References bMcbm2018MonitorTaskHodoResetHistos, fbMonitorMode, fMonitorAlgo, fulTsCounter, CbmMcbm2018MonitorAlgoHodo::ProcessTs(), CbmMcbm2018MonitorAlgoHodo::ResetHistograms(), and SaveHistograms().
|
virtual |
If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server
Implements CbmMcbmUnpack.
Definition at line 208 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fbMonitorMode, and SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 51 of file CbmMcbm2018MonitorTaskHodo.cxx.
|
virtual |
Control flags
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 95 of file CbmMcbm2018MonitorTaskHodo.cxx.
References CbmMcbm2018MonitorAlgoHodo::CreateHistograms(), fbMonitorMode, first, fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018MonitorAlgoHodo::InitContainers(), and CbmMcbm2018MonitorAlgoHodo::SetMonitorMode().
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 153 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 204 of file CbmMcbm2018MonitorTaskHodo.cxx.
|
private |
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
Make sure we end up in chosen folder
Write plot
Definition at line 215 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().
Referenced by DoUnpack(), and Finish().
void CbmMcbm2018MonitorTaskHodo::SetDpbId | ( | UInt_t | uDpbId = 0x5b75 | ) |
Definition at line 273 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetDpbId().
void CbmMcbm2018MonitorTaskHodo::SetHodoElinkIdx | ( | UInt_t | uElinkHodoA = 5 , |
UInt_t | uElinkHodoB = 10 |
||
) |
Definition at line 276 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetHodoElinkIdx().
void CbmMcbm2018MonitorTaskHodo::SetHodoInvertX | ( | Bool_t | bInvHodoA = kFALSE , |
Bool_t | bInvHodoB = kTRUE |
||
) |
Definition at line 284 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetHodoInvertX().
void CbmMcbm2018MonitorTaskHodo::SetHodoInvertY | ( | Bool_t | bInvHodoA = kFALSE , |
Bool_t | bInvHodoB = kTRUE |
||
) |
Definition at line 288 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetHodoInvertY().
void CbmMcbm2018MonitorTaskHodo::SetHodoSwapXY | ( | Bool_t | bSwapHodoA = kFALSE , |
Bool_t | bSwapHodoB = kTRUE |
||
) |
Definition at line 280 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetHodoSwapXY().
void CbmMcbm2018MonitorTaskHodo::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 266 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Definition at line 43 of file CbmMcbm2018MonitorTaskHodo.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 41 of file CbmMcbm2018MonitorTaskHodo.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 71 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::GetParList().
void CbmMcbm2018MonitorTaskHodo::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 270 of file CbmMcbm2018MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::SetTimeOffsetNs().
|
inline |
Task settings.
Definition at line 56 of file CbmMcbm2018MonitorTaskHodo.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 63 of file CbmMcbm2018MonitorTaskHodo.h.
|
private |
Control flags.
Definition at line 61 of file CbmMcbm2018MonitorTaskHodo.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 65 of file CbmMcbm2018MonitorTaskHodo.h.
Referenced by SetWriteOutputFlag().
|
private |
Processing algo.
Definition at line 71 of file CbmMcbm2018MonitorTaskHodo.h.
Referenced by AddMsComponentToList(), CbmMcbm2018MonitorTaskHodo(), DoUnpack(), InitContainers(), ReInitContainers(), SaveHistograms(), SetDpbId(), SetHodoElinkIdx(), SetHodoInvertX(), SetHodoInvertY(), SetHodoSwapXY(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmMcbm2018MonitorTaskHodo().
|
private |
If ON the output TClonesArray of digi is written to disk.
Statistics & first TS rejection
Definition at line 68 of file CbmMcbm2018MonitorTaskHodo.h.
Referenced by DoUnpack().