CbmRoot
CbmStar2019MonitorTask Class Reference

#include <CbmStar2019MonitorTask.h>

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

Public Member Functions

 CbmStar2019MonitorTask ()
 
virtual ~CbmStar2019MonitorTask ()
 
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 SetSectorIndex (Int_t iSector=-1)
 
Bool_t SaveLatencyHistograms (TString sFilename)
 

Private Member Functions

Bool_t SaveHistograms ()
 
 CbmStar2019MonitorTask (const CbmStar2019MonitorTask &)
 
CbmStar2019MonitorTask operator= (const CbmStar2019MonitorTask &)
 

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 fiSectorIndex
 
TList * fParCList
 Parameters management. More...
 
uint64_t fulTsCounter
 Statistics & first TS rejection. More...
 
CbmStar2019MonitorAlgofMonitorAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 21 of file CbmStar2019MonitorTask.h.

Constructor & Destructor Documentation

◆ CbmStar2019MonitorTask() [1/2]

CbmStar2019MonitorTask::CbmStar2019MonitorTask ( )

Definition at line 36 of file CbmStar2019MonitorTask.cxx.

References fMonitorAlgo.

◆ ~CbmStar2019MonitorTask()

CbmStar2019MonitorTask::~CbmStar2019MonitorTask ( )
virtual

Definition at line 51 of file CbmStar2019MonitorTask.cxx.

References fMonitorAlgo.

◆ CbmStar2019MonitorTask() [2/2]

CbmStar2019MonitorTask::CbmStar2019MonitorTask ( const CbmStar2019MonitorTask )
private

Member Function Documentation

◆ AddMsComponentToList()

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

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 150 of file CbmStar2019MonitorTask.cxx.

References CbmStar2019MonitorAlgo::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmStar2019MonitorTask::Finish ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 188 of file CbmStar2019MonitorTask.cxx.

References SaveHistograms().

◆ Init()

Bool_t CbmStar2019MonitorTask::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 53 of file CbmStar2019MonitorTask.cxx.

◆ InitContainers()

Bool_t CbmStar2019MonitorTask::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 84 of file CbmStar2019MonitorTask.cxx.

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

◆ operator=()

CbmStar2019MonitorTask CbmStar2019MonitorTask::operator= ( const CbmStar2019MonitorTask )
private

◆ ReInitContainers()

Bool_t CbmStar2019MonitorTask::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 143 of file CbmStar2019MonitorTask.cxx.

References fMonitorAlgo, and CbmStar2019MonitorAlgo::ReInitContainers().

◆ Reset()

void CbmStar2019MonitorTask::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 186 of file CbmStar2019MonitorTask.cxx.

◆ SaveHistograms()

Bool_t CbmStar2019MonitorTask::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 198 of file CbmStar2019MonitorTask.cxx.

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

Referenced by DoUnpack(), and Finish().

◆ SaveLatencyHistograms()

Bool_t CbmStar2019MonitorTask::SaveLatencyHistograms ( TString  sFilename)

◆ SetDebugMonitorMode()

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

Algo settings setters.

Definition at line 43 of file CbmStar2019MonitorTask.h.

References fbDebugMonitorMode.

◆ SetHistoFilename()

void CbmStar2019MonitorTask::SetHistoFilename ( TString  sNameIn)
inline

Definition at line 53 of file CbmStar2019MonitorTask.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 50 of file CbmStar2019MonitorTask.h.

References fuHistoryHistoSize.

◆ SetIgnoreCriticalErrors()

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

Definition at line 46 of file CbmStar2019MonitorTask.h.

References fbIgnoreCriticalErrors.

◆ SetIgnoreOverlapMs()

void CbmStar2019MonitorTask::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetNbMsInTs()

void CbmStar2019MonitorTask::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 40 of file CbmStar2019MonitorTask.h.

◆ SetParContainers()

void CbmStar2019MonitorTask::SetParContainers ( )
virtual

◆ SetPulserTotLimits()

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

Definition at line 54 of file CbmStar2019MonitorTask.h.

References fuMaxTotPulser, and fuMinTotPulser.

◆ SetSectorIndex()

void CbmStar2019MonitorTask::SetSectorIndex ( Int_t  iSector = -1)
inline

Definition at line 58 of file CbmStar2019MonitorTask.h.

References fiSectorIndex.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmStar2019MonitorTask::fbDebugMonitorMode
private

Control flags.

Definition at line 67 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetDebugMonitorMode().

◆ fbIgnoreCriticalErrors

Bool_t CbmStar2019MonitorTask::fbIgnoreCriticalErrors
private

Switch ON the filling of a additional set of histograms.

Definition at line 69 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetIgnoreCriticalErrors().

◆ fiSectorIndex

Int_t CbmStar2019MonitorTask::fiSectorIndex
private

Definition at line 76 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetSectorIndex().

◆ fMonitorAlgo

◆ fParCList

TList* CbmStar2019MonitorTask::fParCList
private

Parameters management.

Definition at line 79 of file CbmStar2019MonitorTask.h.

Referenced by SetParContainers().

◆ fsHistoFileName

TString CbmStar2019MonitorTask::fsHistoFileName
private

Definition at line 73 of file CbmStar2019MonitorTask.h.

Referenced by SaveHistograms(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmStar2019MonitorTask::fuHistoryHistoSize
private

If ON not printout at all for critical errors.

User settings parameters

Definition at line 72 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmStar2019MonitorTask::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 82 of file CbmStar2019MonitorTask.h.

Referenced by DoUnpack().

◆ fuMaxTotPulser

UInt_t CbmStar2019MonitorTask::fuMaxTotPulser
private

Definition at line 75 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmStar2019MonitorTask::fuMinTotPulser
private

Definition at line 74 of file CbmStar2019MonitorTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().


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