CbmRoot
|
#include <CbmCosy2019MonitorTaskHodo.h>
Public Member Functions | |
CbmCosy2019MonitorTaskHodo (UInt_t uNbSdpb=1) | |
CbmCosy2019MonitorTaskHodo (const CbmCosy2019MonitorTaskHodo &)=delete | |
CbmCosy2019MonitorTaskHodo | operator= (const CbmCosy2019MonitorTaskHodo &)=delete |
virtual | ~CbmCosy2019MonitorTaskHodo () |
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 | 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. | |
Private Member Functions | |
Bool_t | SaveHistograms () |
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. | |
uint64_t | fulTsCounter |
If ON the output TClonesArray of digi is written to disk. | |
CbmCosy2019MonitorAlgoHodo * | fMonitorAlgo |
Processing algo. | |
Definition at line 21 of file CbmCosy2019MonitorTaskHodo.h.
CbmCosy2019MonitorTaskHodo::CbmCosy2019MonitorTaskHodo | ( | UInt_t | uNbSdpb = 1 | ) |
Definition at line 41 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo.
|
delete |
|
virtual |
Definition at line 53 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo.
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 162 of file CbmCosy2019MonitorTaskHodo.cxx.
References CbmCosy2019MonitorAlgoHodo::AddMsComponentToList(), and fMonitorAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 167 of file CbmCosy2019MonitorTaskHodo.cxx.
References bCosy2019MonitorTaskHodoResetHistos, fbMonitorMode, fMonitorAlgo, fulTsCounter, CbmCosy2019MonitorAlgoHodo::ProcessTs(), CbmCosy2019MonitorAlgoHodo::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 209 of file CbmCosy2019MonitorTaskHodo.cxx.
References fbMonitorMode, and SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 55 of file CbmCosy2019MonitorTaskHodo.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 100 of file CbmCosy2019MonitorTaskHodo.cxx.
References CbmCosy2019MonitorAlgoHodo::CreateHistograms(), fbMonitorMode, first, fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmCosy2019MonitorAlgoHodo::InitContainers(), and CbmCosy2019MonitorAlgoHodo::SetMonitorMode().
|
delete |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 154 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 204 of file CbmCosy2019MonitorTaskHodo.cxx.
|
private |
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
Make sure we end up in chosen folder
Write plot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 215 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().
Referenced by DoUnpack(), and Finish().
void CbmCosy2019MonitorTaskHodo::SetDpbId | ( | UInt_t | uDpbId = 0x5b75 | ) |
Definition at line 271 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetDpbId().
void CbmCosy2019MonitorTaskHodo::SetHodoElinkIdx | ( | UInt_t | uElinkHodoA = 5, |
UInt_t | uElinkHodoB = 10 ) |
Definition at line 272 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetHodoElinkIdx().
void CbmCosy2019MonitorTaskHodo::SetHodoInvertX | ( | Bool_t | bInvHodoA = kFALSE, |
Bool_t | bInvHodoB = kTRUE ) |
Definition at line 280 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetHodoInvertX().
void CbmCosy2019MonitorTaskHodo::SetHodoInvertY | ( | Bool_t | bInvHodoA = kFALSE, |
Bool_t | bInvHodoB = kTRUE ) |
Definition at line 284 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetHodoInvertY().
void CbmCosy2019MonitorTaskHodo::SetHodoSwapXY | ( | Bool_t | bSwapHodoA = kFALSE, |
Bool_t | bSwapHodoB = kTRUE ) |
Definition at line 276 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetHodoSwapXY().
void CbmCosy2019MonitorTaskHodo::SetIgnoreOverlapMs | ( | Bool_t | bFlagIn = kTRUE | ) |
Definition at line 268 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().
|
inline |
Definition at line 46 of file CbmCosy2019MonitorTaskHodo.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 44 of file CbmCosy2019MonitorTaskHodo.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 76 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::GetParList().
void CbmCosy2019MonitorTaskHodo::SetTimeOffsetNs | ( | Double_t | dOffsetIn = 0.0 | ) |
Definition at line 270 of file CbmCosy2019MonitorTaskHodo.cxx.
References fMonitorAlgo, and CbmCosy2019MonitorAlgoHodo::SetTimeOffsetNs().
|
inline |
Task settings.
Definition at line 57 of file CbmCosy2019MonitorTaskHodo.h.
References fbWriteOutput.
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 62 of file CbmCosy2019MonitorTaskHodo.h.
|
private |
Control flags.
Definition at line 61 of file CbmCosy2019MonitorTaskHodo.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 63 of file CbmCosy2019MonitorTaskHodo.h.
Referenced by SetWriteOutputFlag().
|
private |
Processing algo.
Definition at line 69 of file CbmCosy2019MonitorTaskHodo.h.
Referenced by AddMsComponentToList(), CbmCosy2019MonitorTaskHodo(), DoUnpack(), InitContainers(), ReInitContainers(), SaveHistograms(), SetDpbId(), SetHodoElinkIdx(), SetHodoInvertX(), SetHodoInvertY(), SetHodoSwapXY(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmCosy2019MonitorTaskHodo().
|
private |
If ON the output TClonesArray of digi is written to disk.
Statistics & first TS rejection
Definition at line 66 of file CbmCosy2019MonitorTaskHodo.h.
Referenced by DoUnpack().