CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018MonitorTaskMuchLite Class Reference

#include <CbmMcbm2018MonitorTaskMuchLite.h>

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

Public Member Functions

 CbmMcbm2018MonitorTaskMuchLite ()
 
virtual ~CbmMcbm2018MonitorTaskMuchLite ()
 
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)
 
void SetNbMsInTs (size_t, size_t)
 
void SetMonitorMode (Bool_t bFlagIn=kTRUE)
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 
void SetHistoryHistoSize (UInt_t inHistorySizeSec=1800)
 
void SetHistoFileName (TString sFileName="data/SetupHistos.root")
 
void SetSpillThreshold (UInt_t uCntLimit)
 
void SetPrintMessage (Bool_t bPrintMessOn=kTRUE, stsxyter::MessagePrintMask ctrl=stsxyter::MessagePrintMask::msg_print_Hex|stsxyter::MessagePrintMask::msg_print_Human)
 
void SetMuchMode (Bool_t bMuchMode=kTRUE)
 
void SetBinningFwFlag (Bool_t bEnable=kTRUE)
 => Quick and dirty hack for binning FW!!!
 

Private Attributes

Bool_t fbMonitorMode
 
Bool_t fbDebugMonitorMode
 
Bool_t fbMuchMode
 
Bool_t fbBinningFw = kFALSE
 => Quick and dirty hack for binning FW!!!
 
UInt_t fuHistoryHistoSize = 3600
 Histograms related variables.
 
TString fsHistoFilename
 
UInt_t fuOffSpillCountLimit = 200
 
uint64_t fulTsCounter
 
Bool_t fbPrintMessages
 
stsxyter::MessagePrintMask fPrintMessCtrl
 
CbmMcbm2018MonitorAlgoMuchLitefMonitorAlgo
 

Detailed Description

Definition at line 41 of file CbmMcbm2018MonitorTaskMuchLite.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskMuchLite()

CbmMcbm2018MonitorTaskMuchLite::CbmMcbm2018MonitorTaskMuchLite ( )

Definition at line 35 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

References fMonitorAlgo.

◆ ~CbmMcbm2018MonitorTaskMuchLite()

CbmMcbm2018MonitorTaskMuchLite::~CbmMcbm2018MonitorTaskMuchLite ( )
virtual

Definition at line 48 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

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

◆ DoUnpack()

◆ Finish()

void CbmMcbm2018MonitorTaskMuchLite::Finish ( )
virtual

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

Save the histograms in a file

Make sure we end up in chosen folder

Write plot

Restore old global file and folder pointer to avoid messing with FairRoot

Implements CbmMcbmUnpack.

Definition at line 342 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

References CbmMcbm2018MonitorAlgoMuchLite::Finish(), fMonitorAlgo, fsHistoFilename, and CbmStar2019Algo< T >::GetHistoVector().

◆ Init()

Bool_t CbmMcbm2018MonitorTaskMuchLite::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 50 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskMuchLite::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 86 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

References CbmMcbm2018MonitorAlgoMuchLite::CreateHistograms(), fbMonitorMode, fMonitorAlgo, fuHistoryHistoSize, fuOffSpillCountLimit, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018MonitorAlgoMuchLite::InitContainers(), CbmMcbm2018MonitorAlgoMuchLite::SetHistoryHistoSize(), CbmMcbm2018MonitorAlgoMuchLite::SetMonitorMode(), and CbmMcbm2018MonitorAlgoMuchLite::SetSpillThreshold().

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskMuchLite::ReInitContainers ( )
virtual

◆ Reset()

void CbmMcbm2018MonitorTaskMuchLite::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 340 of file CbmMcbm2018MonitorTaskMuchLite.cxx.

◆ SetBinningFwFlag()

void CbmMcbm2018MonitorTaskMuchLite::SetBinningFwFlag ( Bool_t bEnable = kTRUE)
inline

=> Quick and dirty hack for binning FW!!!

Definition at line 100 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fbBinningFw.

◆ SetHistoFileName()

void CbmMcbm2018MonitorTaskMuchLite::SetHistoFileName ( TString sFileName = "data/SetupHistos.root")
inline

Definition at line 77 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fsHistoFilename.

◆ SetHistoryHistoSize()

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

Definition at line 76 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskMuchLite::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Definition at line 66 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fbMonitorMode.

◆ SetMuchMode()

void CbmMcbm2018MonitorTaskMuchLite::SetMuchMode ( Bool_t bMuchMode = kTRUE)
inline

Definition at line 93 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fbMuchMode.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskMuchLite::SetNbMsInTs ( size_t ,
size_t  )
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 64 of file CbmMcbm2018MonitorTaskMuchLite.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskMuchLite::SetParContainers ( )
virtual

◆ SetPrintMessage()

void CbmMcbm2018MonitorTaskMuchLite::SetPrintMessage ( Bool_t bPrintMessOn = kTRUE,
stsxyter::MessagePrintMask ctrl = stsxyter::MessagePrintMask::msg_print_Hex | stsxyter::MessagePrintMask::msg_print_Human )
inline

Definition at line 80 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fbPrintMessages, and fPrintMessCtrl.

◆ SetSpillThreshold()

void CbmMcbm2018MonitorTaskMuchLite::SetSpillThreshold ( UInt_t uCntLimit)
inline

Definition at line 78 of file CbmMcbm2018MonitorTaskMuchLite.h.

References fuOffSpillCountLimit.

Member Data Documentation

◆ fbBinningFw

Bool_t CbmMcbm2018MonitorTaskMuchLite::fbBinningFw = kFALSE
private

=> Quick and dirty hack for binning FW!!!

Definition at line 110 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by SetBinningFwFlag().

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskMuchLite::fbDebugMonitorMode
private

Definition at line 106 of file CbmMcbm2018MonitorTaskMuchLite.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018MonitorTaskMuchLite::fbMonitorMode
private

Definition at line 105 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by InitContainers(), and SetMonitorMode().

◆ fbMuchMode

Bool_t CbmMcbm2018MonitorTaskMuchLite::fbMuchMode
private

Definition at line 107 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by SetMuchMode().

◆ fbPrintMessages

Bool_t CbmMcbm2018MonitorTaskMuchLite::fbPrintMessages
private

Definition at line 118 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by SetPrintMessage().

◆ fMonitorAlgo

◆ fPrintMessCtrl

stsxyter::MessagePrintMask CbmMcbm2018MonitorTaskMuchLite::fPrintMessCtrl
private

Definition at line 120 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by SetPrintMessage().

◆ fsHistoFilename

TString CbmMcbm2018MonitorTaskMuchLite::fsHistoFilename
private

Size in seconds of the evolution histograms

Definition at line 115 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by DoUnpack(), Finish(), and SetHistoFileName().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorTaskMuchLite::fuHistoryHistoSize = 3600
private

Histograms related variables.

Definition at line 114 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskMuchLite::fulTsCounter
private

Definition at line 117 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by DoUnpack().

◆ fuOffSpillCountLimit

UInt_t CbmMcbm2018MonitorTaskMuchLite::fuOffSpillCountLimit = 200
private

Definition at line 116 of file CbmMcbm2018MonitorTaskMuchLite.h.

Referenced by InitContainers(), and SetSpillThreshold().


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