CbmRoot
CbmMcbm2018MonitorTaskHodo Class Reference

#include <CbmMcbm2018MonitorTaskHodo.h>

Inheritance diagram for CbmMcbm2018MonitorTaskHodo:
[legend]
Collaboration diagram for CbmMcbm2018MonitorTaskHodo:
[legend]

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...
 
CbmMcbm2018MonitorAlgoHodofMonitorAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 17 of file CbmMcbm2018MonitorTaskHodo.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskHodo() [1/2]

CbmMcbm2018MonitorTaskHodo::CbmMcbm2018MonitorTaskHodo ( UInt_t  uNbSdpb = 1)

Definition at line 36 of file CbmMcbm2018MonitorTaskHodo.cxx.

References fMonitorAlgo.

◆ CbmMcbm2018MonitorTaskHodo() [2/2]

CbmMcbm2018MonitorTaskHodo::CbmMcbm2018MonitorTaskHodo ( const CbmMcbm2018MonitorTaskHodo )
delete

◆ ~CbmMcbm2018MonitorTaskHodo()

CbmMcbm2018MonitorTaskHodo::~CbmMcbm2018MonitorTaskHodo ( )
virtual

Definition at line 47 of file CbmMcbm2018MonitorTaskHodo.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

void CbmMcbm2018MonitorTaskHodo::AddMsComponentToList ( size_t  component,
UShort_t  usDetectorId 
)
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.

◆ DoUnpack()

Bool_t CbmMcbm2018MonitorTaskHodo::DoUnpack ( const fles::Timeslice &  ts,
size_t  component 
)
virtual

◆ Finish()

void CbmMcbm2018MonitorTaskHodo::Finish ( )
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().

◆ Init()

Bool_t CbmMcbm2018MonitorTaskHodo::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 51 of file CbmMcbm2018MonitorTaskHodo.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskHodo::InitContainers ( )
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().

◆ operator=()

CbmMcbm2018MonitorTaskHodo CbmMcbm2018MonitorTaskHodo::operator= ( const CbmMcbm2018MonitorTaskHodo )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskHodo::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 153 of file CbmMcbm2018MonitorTaskHodo.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoHodo::ReInitContainers().

◆ Reset()

void CbmMcbm2018MonitorTaskHodo::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 204 of file CbmMcbm2018MonitorTaskHodo.cxx.

◆ SaveHistograms()

Bool_t CbmMcbm2018MonitorTaskHodo::SaveHistograms ( )
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().

◆ SetDpbId()

void CbmMcbm2018MonitorTaskHodo::SetDpbId ( UInt_t  uDpbId = 0x5b75)

◆ SetHodoElinkIdx()

void CbmMcbm2018MonitorTaskHodo::SetHodoElinkIdx ( UInt_t  uElinkHodoA = 5,
UInt_t  uElinkHodoB = 10 
)

◆ SetHodoInvertX()

void CbmMcbm2018MonitorTaskHodo::SetHodoInvertX ( Bool_t  bInvHodoA = kFALSE,
Bool_t  bInvHodoB = kTRUE 
)

◆ SetHodoInvertY()

void CbmMcbm2018MonitorTaskHodo::SetHodoInvertY ( Bool_t  bInvHodoA = kFALSE,
Bool_t  bInvHodoB = kTRUE 
)

◆ SetHodoSwapXY()

void CbmMcbm2018MonitorTaskHodo::SetHodoSwapXY ( Bool_t  bSwapHodoA = kFALSE,
Bool_t  bSwapHodoB = kTRUE 
)

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskHodo::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetMonitorMode()

void CbmMcbm2018MonitorTaskHodo::SetMonitorMode ( Bool_t  bFlagIn = kTRUE)
inline

Definition at line 43 of file CbmMcbm2018MonitorTaskHodo.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskHodo::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 41 of file CbmMcbm2018MonitorTaskHodo.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskHodo::SetParContainers ( )
virtual

◆ SetTimeOffsetNs()

void CbmMcbm2018MonitorTaskHodo::SetTimeOffsetNs ( Double_t  dOffsetIn = 0.0)

◆ SetWriteOutputFlag()

void CbmMcbm2018MonitorTaskHodo::SetWriteOutputFlag ( Bool_t  bFlagIn)
inline

Task settings.

Definition at line 56 of file CbmMcbm2018MonitorTaskHodo.h.

References fbWriteOutput.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskHodo::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 63 of file CbmMcbm2018MonitorTaskHodo.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018MonitorTaskHodo::fbMonitorMode
private

Control flags.

Definition at line 61 of file CbmMcbm2018MonitorTaskHodo.h.

Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().

◆ fbWriteOutput

Bool_t CbmMcbm2018MonitorTaskHodo::fbWriteOutput
private

Switch ON the filling of a additional set of histograms.

Definition at line 65 of file CbmMcbm2018MonitorTaskHodo.h.

Referenced by SetWriteOutputFlag().

◆ fMonitorAlgo

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskHodo::fulTsCounter
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().


The documentation for this class was generated from the following files: