CbmRoot
CbmMcbm2018MonitorTaskTof Class Reference

#include <CbmMcbm2018MonitorTaskTof.h>

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

Public Member Functions

 CbmMcbm2018MonitorTaskTof ()
 
 CbmMcbm2018MonitorTaskTof (const CbmMcbm2018MonitorTaskTof &)=delete
 
CbmMcbm2018MonitorTaskTof operator= (const CbmMcbm2018MonitorTaskTof &)=delete
 
virtual ~CbmMcbm2018MonitorTaskTof ()
 
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 SetDebugMonitorMode (Bool_t bFlagIn=kTRUE)
 Algo settings setters. More...
 
void SetIgnoreCriticalErrors (Bool_t bFlagIn=kTRUE)
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 
void SetHistoryHistoSize (UInt_t inHistorySizeSec=1800)
 
void SetHistoFilename (TString sNameIn)
 
void SetPulserTotLimits (UInt_t uMin, UInt_t uMax)
 
void SetGdpbIndex (Int_t iGdpb=-1)
 

Private Member Functions

Bool_t SaveHistograms ()
 

Private Attributes

Bool_t fbDebugMonitorMode
 Control flags. More...
 
Bool_t fbIgnoreCriticalErrors
 Switch ON the filling of a additional set of histograms. More...
 
UInt_t fuHistoryHistoSize
 If ON not printout at all for critical errors. More...
 
TString fsHistoFileName
 
UInt_t fuMinTotPulser
 
UInt_t fuMaxTotPulser
 
Int_t fiGdpbIndex
 
uint64_t fulTsCounter
 Statistics & first TS rejection. More...
 
CbmMcbm2018MonitorAlgoToffMonitorAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 19 of file CbmMcbm2018MonitorTaskTof.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskTof() [1/2]

CbmMcbm2018MonitorTaskTof::CbmMcbm2018MonitorTaskTof ( )

Definition at line 36 of file CbmMcbm2018MonitorTaskTof.cxx.

References fMonitorAlgo.

◆ CbmMcbm2018MonitorTaskTof() [2/2]

CbmMcbm2018MonitorTaskTof::CbmMcbm2018MonitorTaskTof ( const CbmMcbm2018MonitorTaskTof )
delete

◆ ~CbmMcbm2018MonitorTaskTof()

CbmMcbm2018MonitorTaskTof::~CbmMcbm2018MonitorTaskTof ( )
virtual

Definition at line 50 of file CbmMcbm2018MonitorTaskTof.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

void CbmMcbm2018MonitorTaskTof::AddMsComponentToList ( size_t  component,
UShort_t  usDetectorId 
)
virtual

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 149 of file CbmMcbm2018MonitorTaskTof.cxx.

References CbmMcbm2018MonitorAlgoTof::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmMcbm2018MonitorTaskTof::Finish ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 187 of file CbmMcbm2018MonitorTaskTof.cxx.

References SaveHistograms().

◆ Init()

Bool_t CbmMcbm2018MonitorTaskTof::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 52 of file CbmMcbm2018MonitorTaskTof.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskTof::InitContainers ( )
virtual

Control flags

Transfer parameter values set from calling macro

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)

Obtain vector of pointers on each canvas from the algo (+ optionally desired folder)

Register the histos in the HTTP server

Reimplemented from CbmMcbmUnpack.

Definition at line 83 of file CbmMcbm2018MonitorTaskTof.cxx.

References CbmMcbm2018MonitorAlgoTof::CreateHistograms(), fbDebugMonitorMode, fbIgnoreCriticalErrors, fiGdpbIndex, fMonitorAlgo, fuHistoryHistoSize, fuMaxTotPulser, fuMinTotPulser, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018MonitorAlgoTof::InitContainers(), CbmMcbm2018MonitorAlgoTof::SetDebugMonitorMode(), CbmMcbm2018MonitorAlgoTof::SetGdpbIndex(), CbmMcbm2018MonitorAlgoTof::SetHistoryHistoSize(), CbmMcbm2018MonitorAlgoTof::SetIgnoreCriticalErrors(), and CbmMcbm2018MonitorAlgoTof::SetPulserTotLimits().

◆ operator=()

CbmMcbm2018MonitorTaskTof CbmMcbm2018MonitorTaskTof::operator= ( const CbmMcbm2018MonitorTaskTof )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskTof::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 142 of file CbmMcbm2018MonitorTaskTof.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoTof::ReInitContainers().

◆ Reset()

void CbmMcbm2018MonitorTaskTof::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 185 of file CbmMcbm2018MonitorTaskTof.cxx.

◆ SaveHistograms()

Bool_t CbmMcbm2018MonitorTaskTof::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 193 of file CbmMcbm2018MonitorTaskTof.cxx.

References fMonitorAlgo, fsHistoFileName, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().

Referenced by DoUnpack(), and Finish().

◆ SetDebugMonitorMode()

void CbmMcbm2018MonitorTaskTof::SetDebugMonitorMode ( Bool_t  bFlagIn = kTRUE)
inline

Algo settings setters.

Definition at line 44 of file CbmMcbm2018MonitorTaskTof.h.

References fbDebugMonitorMode.

◆ SetGdpbIndex()

void CbmMcbm2018MonitorTaskTof::SetGdpbIndex ( Int_t  iGdpb = -1)
inline

Definition at line 59 of file CbmMcbm2018MonitorTaskTof.h.

References fiGdpbIndex.

◆ SetHistoFilename()

void CbmMcbm2018MonitorTaskTof::SetHistoFilename ( TString  sNameIn)
inline

Definition at line 54 of file CbmMcbm2018MonitorTaskTof.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

void CbmMcbm2018MonitorTaskTof::SetHistoryHistoSize ( UInt_t  inHistorySizeSec = 1800)
inline

Definition at line 51 of file CbmMcbm2018MonitorTaskTof.h.

References fuHistoryHistoSize.

◆ SetIgnoreCriticalErrors()

void CbmMcbm2018MonitorTaskTof::SetIgnoreCriticalErrors ( Bool_t  bFlagIn = kTRUE)
inline

Definition at line 47 of file CbmMcbm2018MonitorTaskTof.h.

References fbIgnoreCriticalErrors.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskTof::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskTof::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 41 of file CbmMcbm2018MonitorTaskTof.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskTof::SetParContainers ( )
virtual

◆ SetPulserTotLimits()

void CbmMcbm2018MonitorTaskTof::SetPulserTotLimits ( UInt_t  uMin,
UInt_t  uMax 
)
inline

Definition at line 55 of file CbmMcbm2018MonitorTaskTof.h.

References fuMaxTotPulser, and fuMinTotPulser.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskTof::fbDebugMonitorMode
private

Control flags.

Definition at line 66 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetDebugMonitorMode().

◆ fbIgnoreCriticalErrors

Bool_t CbmMcbm2018MonitorTaskTof::fbIgnoreCriticalErrors
private

Switch ON the filling of a additional set of histograms.

Definition at line 68 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetIgnoreCriticalErrors().

◆ fiGdpbIndex

Int_t CbmMcbm2018MonitorTaskTof::fiGdpbIndex
private

Definition at line 75 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetGdpbIndex().

◆ fMonitorAlgo

◆ fsHistoFileName

TString CbmMcbm2018MonitorTaskTof::fsHistoFileName
private

Definition at line 72 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by SaveHistograms(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorTaskTof::fuHistoryHistoSize
private

If ON not printout at all for critical errors.

User settings parameters

Definition at line 71 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskTof::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 78 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by DoUnpack().

◆ fuMaxTotPulser

UInt_t CbmMcbm2018MonitorTaskTof::fuMaxTotPulser
private

Definition at line 74 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmMcbm2018MonitorTaskTof::fuMinTotPulser
private

Definition at line 73 of file CbmMcbm2018MonitorTaskTof.h.

Referenced by InitContainers(), and SetPulserTotLimits().


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