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

#include <CbmMcbm2018MonitorTaskBmon.h>

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

Public Member Functions

 CbmMcbm2018MonitorTaskBmon ()
 
 CbmMcbm2018MonitorTaskBmon (const CbmMcbm2018MonitorTaskBmon &)=delete
 
CbmMcbm2018MonitorTaskBmon operator= (const CbmMcbm2018MonitorTaskBmon &)=delete
 
virtual ~CbmMcbm2018MonitorTaskBmon ()
 
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)
 Algo settings setters.
 
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 SetSpillThreshold (UInt_t uCntLimit)
 
void SetSpillThresholdNonPulser (UInt_t uCntLimit)
 
void SetSpillCheckInterval (Double_t dIntervalSec)
 
void SetChannelMap (UInt_t uChan0, UInt_t uChan1, UInt_t uChan2, UInt_t uChan3, UInt_t uChan4, UInt_t uChan5, UInt_t uChan6, UInt_t uChan7)
 

Private Attributes

Bool_t fbMonitorMode
 Control flags.
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms.
 
UInt_t fuHistoryHistoSize
 Switch ON the filling of a additional set of histograms.
 
TString fsHistoFileName
 
UInt_t fuMinTotPulser
 
UInt_t fuMaxTotPulser
 
UInt_t fuOffSpillCountLimit
 
UInt_t fuOffSpillCountLimitNonPulser
 
Double_t fdSpillCheckInterval
 
uint64_t fulTsCounter
 Statistics & first TS rejection.
 
CbmMcbm2018MonitorAlgoBmonfMonitorAlgo
 Processing algo.
 

Detailed Description

Definition at line 22 of file CbmMcbm2018MonitorTaskBmon.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskBmon() [1/2]

CbmMcbm2018MonitorTaskBmon::CbmMcbm2018MonitorTaskBmon ( )

Definition at line 40 of file CbmMcbm2018MonitorTaskBmon.cxx.

References fMonitorAlgo.

◆ CbmMcbm2018MonitorTaskBmon() [2/2]

CbmMcbm2018MonitorTaskBmon::CbmMcbm2018MonitorTaskBmon ( const CbmMcbm2018MonitorTaskBmon & )
delete

◆ ~CbmMcbm2018MonitorTaskBmon()

CbmMcbm2018MonitorTaskBmon::~CbmMcbm2018MonitorTaskBmon ( )
virtual

Definition at line 57 of file CbmMcbm2018MonitorTaskBmon.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

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

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 161 of file CbmMcbm2018MonitorTaskBmon.cxx.

References CbmMcbm2018MonitorAlgoBmon::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmMcbm2018MonitorTaskBmon::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 191 of file CbmMcbm2018MonitorTaskBmon.cxx.

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

◆ Init()

Bool_t CbmMcbm2018MonitorTaskBmon::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 59 of file CbmMcbm2018MonitorTaskBmon.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskBmon::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 91 of file CbmMcbm2018MonitorTaskBmon.cxx.

References CbmMcbm2018MonitorAlgoBmon::CreateHistograms(), fbMonitorMode, fdSpillCheckInterval, fMonitorAlgo, fuHistoryHistoSize, fuMaxTotPulser, fuMinTotPulser, fuOffSpillCountLimit, fuOffSpillCountLimitNonPulser, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018MonitorAlgoBmon::InitContainers(), CbmMcbm2018MonitorAlgoBmon::SetHistoryHistoSize(), CbmMcbm2018MonitorAlgoBmon::SetMonitorMode(), CbmMcbm2018MonitorAlgoBmon::SetPulserTotLimits(), CbmMcbm2018MonitorAlgoBmon::SetSpillCheckInterval(), CbmMcbm2018MonitorAlgoBmon::SetSpillThreshold(), and CbmMcbm2018MonitorAlgoBmon::SetSpillThresholdNonPulser().

◆ operator=()

CbmMcbm2018MonitorTaskBmon CbmMcbm2018MonitorTaskBmon::operator= ( const CbmMcbm2018MonitorTaskBmon & )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskBmon::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 153 of file CbmMcbm2018MonitorTaskBmon.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoBmon::ReInitContainers().

◆ Reset()

void CbmMcbm2018MonitorTaskBmon::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 189 of file CbmMcbm2018MonitorTaskBmon.cxx.

◆ SetChannelMap()

void CbmMcbm2018MonitorTaskBmon::SetChannelMap ( UInt_t uChan0,
UInt_t uChan1,
UInt_t uChan2,
UInt_t uChan3,
UInt_t uChan4,
UInt_t uChan5,
UInt_t uChan6,
UInt_t uChan7 )

◆ SetHistoFilename()

void CbmMcbm2018MonitorTaskBmon::SetHistoFilename ( TString sNameIn)
inline

Definition at line 50 of file CbmMcbm2018MonitorTaskBmon.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 49 of file CbmMcbm2018MonitorTaskBmon.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskBmon::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Algo settings setters.

Definition at line 47 of file CbmMcbm2018MonitorTaskBmon.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskBmon::SetNbMsInTs ( size_t ,
size_t  )
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 44 of file CbmMcbm2018MonitorTaskBmon.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskBmon::SetParContainers ( )
virtual

◆ SetPulserTotLimits()

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

Definition at line 51 of file CbmMcbm2018MonitorTaskBmon.h.

References fuMaxTotPulser, and fuMinTotPulser.

◆ SetSpillCheckInterval()

void CbmMcbm2018MonitorTaskBmon::SetSpillCheckInterval ( Double_t dIntervalSec)
inline

Definition at line 58 of file CbmMcbm2018MonitorTaskBmon.h.

References fdSpillCheckInterval.

◆ SetSpillThreshold()

void CbmMcbm2018MonitorTaskBmon::SetSpillThreshold ( UInt_t uCntLimit)
inline

Definition at line 56 of file CbmMcbm2018MonitorTaskBmon.h.

References fuOffSpillCountLimit.

◆ SetSpillThresholdNonPulser()

void CbmMcbm2018MonitorTaskBmon::SetSpillThresholdNonPulser ( UInt_t uCntLimit)
inline

Definition at line 57 of file CbmMcbm2018MonitorTaskBmon.h.

References fuOffSpillCountLimitNonPulser.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskBmon::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 65 of file CbmMcbm2018MonitorTaskBmon.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018MonitorTaskBmon::fbMonitorMode
private

Control flags.

Definition at line 64 of file CbmMcbm2018MonitorTaskBmon.h.

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

◆ fdSpillCheckInterval

Double_t CbmMcbm2018MonitorTaskBmon::fdSpillCheckInterval
private

Definition at line 74 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetSpillCheckInterval().

◆ fMonitorAlgo

◆ fsHistoFileName

TString CbmMcbm2018MonitorTaskBmon::fsHistoFileName
private

Definition at line 69 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by Finish(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorTaskBmon::fuHistoryHistoSize
private

Switch ON the filling of a additional set of histograms.

User settings parameters

Definition at line 68 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskBmon::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 77 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by DoUnpack().

◆ fuMaxTotPulser

UInt_t CbmMcbm2018MonitorTaskBmon::fuMaxTotPulser
private

Definition at line 71 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmMcbm2018MonitorTaskBmon::fuMinTotPulser
private

Definition at line 70 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuOffSpillCountLimit

UInt_t CbmMcbm2018MonitorTaskBmon::fuOffSpillCountLimit
private

Definition at line 72 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetSpillThreshold().

◆ fuOffSpillCountLimitNonPulser

UInt_t CbmMcbm2018MonitorTaskBmon::fuOffSpillCountLimitNonPulser
private

Definition at line 73 of file CbmMcbm2018MonitorTaskBmon.h.

Referenced by InitContainers(), and SetSpillThresholdNonPulser().


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