CbmRoot
CbmMcbm2018MonitorTaskT0 Class Reference

#include <CbmMcbm2018MonitorTaskT0.h>

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

Public Member Functions

 CbmMcbm2018MonitorTaskT0 ()
 
 CbmMcbm2018MonitorTaskT0 (const CbmMcbm2018MonitorTaskT0 &)=delete
 
CbmMcbm2018MonitorTaskT0 operator= (const CbmMcbm2018MonitorTaskT0 &)=delete
 
virtual ~CbmMcbm2018MonitorTaskT0 ()
 
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)
 Algo settings setters. More...
 
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 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. More...
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms. More...
 
UInt_t fuHistoryHistoSize
 Switch ON the filling of a additional set of histograms. More...
 
TString fsHistoFileName
 
UInt_t fuMinTotPulser
 
UInt_t fuMaxTotPulser
 
UInt_t fuOffSpillCountLimit
 
uint64_t fulTsCounter
 Statistics & first TS rejection. More...
 
CbmMcbm2018MonitorAlgoT0fMonitorAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 18 of file CbmMcbm2018MonitorTaskT0.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskT0() [1/2]

CbmMcbm2018MonitorTaskT0::CbmMcbm2018MonitorTaskT0 ( )

Definition at line 35 of file CbmMcbm2018MonitorTaskT0.cxx.

References fMonitorAlgo.

◆ CbmMcbm2018MonitorTaskT0() [2/2]

CbmMcbm2018MonitorTaskT0::CbmMcbm2018MonitorTaskT0 ( const CbmMcbm2018MonitorTaskT0 )
delete

◆ ~CbmMcbm2018MonitorTaskT0()

CbmMcbm2018MonitorTaskT0::~CbmMcbm2018MonitorTaskT0 ( )
virtual

Definition at line 49 of file CbmMcbm2018MonitorTaskT0.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

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

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 152 of file CbmMcbm2018MonitorTaskT0.cxx.

References CbmMcbm2018MonitorAlgoT0::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmMcbm2018MonitorTaskT0::Finish ( )
virtual

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

(Re-)Create ROOT file to store the histos

Save the histograms in a file

Make sure we end up in chosen folder

Write plot

Implements CbmMcbmUnpack.

Definition at line 184 of file CbmMcbm2018MonitorTaskT0.cxx.

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

◆ Init()

Bool_t CbmMcbm2018MonitorTaskT0::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 51 of file CbmMcbm2018MonitorTaskT0.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskT0::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 82 of file CbmMcbm2018MonitorTaskT0.cxx.

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

◆ operator=()

CbmMcbm2018MonitorTaskT0 CbmMcbm2018MonitorTaskT0::operator= ( const CbmMcbm2018MonitorTaskT0 )
delete

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskT0::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 145 of file CbmMcbm2018MonitorTaskT0.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoT0::ReInitContainers().

◆ Reset()

void CbmMcbm2018MonitorTaskT0::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 182 of file CbmMcbm2018MonitorTaskT0.cxx.

◆ SetChannelMap()

void CbmMcbm2018MonitorTaskT0::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 CbmMcbm2018MonitorTaskT0::SetHistoFilename ( TString  sNameIn)
inline

Definition at line 50 of file CbmMcbm2018MonitorTaskT0.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 47 of file CbmMcbm2018MonitorTaskT0.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskT0::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Algo settings setters.

Definition at line 43 of file CbmMcbm2018MonitorTaskT0.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskT0::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 40 of file CbmMcbm2018MonitorTaskT0.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskT0::SetParContainers ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 58 of file CbmMcbm2018MonitorTaskT0.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoT0::GetParList().

◆ SetPulserTotLimits()

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

Definition at line 51 of file CbmMcbm2018MonitorTaskT0.h.

References fuMaxTotPulser, and fuMinTotPulser.

◆ SetSpillThreshold()

void CbmMcbm2018MonitorTaskT0::SetSpillThreshold ( UInt_t  uCntLimit)
inline

Definition at line 55 of file CbmMcbm2018MonitorTaskT0.h.

References fuOffSpillCountLimit.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskT0::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 72 of file CbmMcbm2018MonitorTaskT0.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018MonitorTaskT0::fbMonitorMode
private

Control flags.

Definition at line 70 of file CbmMcbm2018MonitorTaskT0.h.

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

◆ fMonitorAlgo

◆ fsHistoFileName

TString CbmMcbm2018MonitorTaskT0::fsHistoFileName
private

Definition at line 76 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by Finish(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorTaskT0::fuHistoryHistoSize
private

Switch ON the filling of a additional set of histograms.

User settings parameters

Definition at line 75 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskT0::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 82 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by DoUnpack().

◆ fuMaxTotPulser

UInt_t CbmMcbm2018MonitorTaskT0::fuMaxTotPulser
private

Definition at line 78 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmMcbm2018MonitorTaskT0::fuMinTotPulser
private

Definition at line 77 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuOffSpillCountLimit

UInt_t CbmMcbm2018MonitorTaskT0::fuOffSpillCountLimit
private

Definition at line 79 of file CbmMcbm2018MonitorTaskT0.h.

Referenced by InitContainers(), and SetSpillThreshold().


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