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

#include <CbmMcbmSpillFindTask.h>

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

Public Member Functions

 CbmMcbmSpillFindTask ()
 
 CbmMcbmSpillFindTask (const CbmMcbmSpillFindTask &)=delete
 
CbmMcbmSpillFindTask operator= (const CbmMcbmSpillFindTask &)=delete
 
virtual ~CbmMcbmSpillFindTask ()
 
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 SetSpillCheckIntervalSec (Double_t dInterval)
 

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
 
Double_t fdSpillCheckInterval = 0.5
 
uint64_t fulTsCounter
 Statistics & first TS rejection.
 
CbmMcbmSpillFindAlgofMonitorAlgo
 Processing algo.
 

Detailed Description

Definition at line 22 of file CbmMcbmSpillFindTask.h.

Constructor & Destructor Documentation

◆ CbmMcbmSpillFindTask() [1/2]

CbmMcbmSpillFindTask::CbmMcbmSpillFindTask ( )

Definition at line 40 of file CbmMcbmSpillFindTask.cxx.

References fMonitorAlgo.

◆ CbmMcbmSpillFindTask() [2/2]

CbmMcbmSpillFindTask::CbmMcbmSpillFindTask ( const CbmMcbmSpillFindTask & )
delete

◆ ~CbmMcbmSpillFindTask()

CbmMcbmSpillFindTask::~CbmMcbmSpillFindTask ( )
virtual

Definition at line 55 of file CbmMcbmSpillFindTask.cxx.

References fMonitorAlgo.

Member Function Documentation

◆ AddMsComponentToList()

void CbmMcbmSpillFindTask::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 CbmMcbmSpillFindTask.cxx.

References CbmMcbmSpillFindAlgo::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmMcbmSpillFindTask::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 180 of file CbmMcbmSpillFindTask.cxx.

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

◆ Init()

Bool_t CbmMcbmSpillFindTask::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 57 of file CbmMcbmSpillFindTask.cxx.

◆ InitContainers()

Bool_t CbmMcbmSpillFindTask::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 89 of file CbmMcbmSpillFindTask.cxx.

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

◆ operator=()

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

◆ ReInitContainers()

Bool_t CbmMcbmSpillFindTask::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 142 of file CbmMcbmSpillFindTask.cxx.

References fMonitorAlgo, and CbmMcbmSpillFindAlgo::ReInitContainers().

◆ Reset()

void CbmMcbmSpillFindTask::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 178 of file CbmMcbmSpillFindTask.cxx.

◆ SetHistoFilename()

void CbmMcbmSpillFindTask::SetHistoFilename ( TString sNameIn)
inline

Definition at line 50 of file CbmMcbmSpillFindTask.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 49 of file CbmMcbmSpillFindTask.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmMcbmSpillFindTask::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Algo settings setters.

Definition at line 47 of file CbmMcbmSpillFindTask.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbmSpillFindTask::SetNbMsInTs ( size_t ,
size_t  )
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 44 of file CbmMcbmSpillFindTask.h.

◆ SetParContainers()

void CbmMcbmSpillFindTask::SetParContainers ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 65 of file CbmMcbmSpillFindTask.cxx.

References fMonitorAlgo, and CbmMcbmSpillFindAlgo::GetParList().

◆ SetPulserTotLimits()

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

Definition at line 51 of file CbmMcbmSpillFindTask.h.

References fuMaxTotPulser, and fuMinTotPulser.

◆ SetSpillCheckIntervalSec()

void CbmMcbmSpillFindTask::SetSpillCheckIntervalSec ( Double_t dInterval)
inline

Definition at line 57 of file CbmMcbmSpillFindTask.h.

References fdSpillCheckInterval.

◆ SetSpillThreshold()

void CbmMcbmSpillFindTask::SetSpillThreshold ( UInt_t uCntLimit)
inline

Definition at line 56 of file CbmMcbmSpillFindTask.h.

References fuOffSpillCountLimit.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbmSpillFindTask::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 62 of file CbmMcbmSpillFindTask.h.

◆ fbMonitorMode

Bool_t CbmMcbmSpillFindTask::fbMonitorMode
private

Control flags.

Definition at line 61 of file CbmMcbmSpillFindTask.h.

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

◆ fdSpillCheckInterval

Double_t CbmMcbmSpillFindTask::fdSpillCheckInterval = 0.5
private

Definition at line 70 of file CbmMcbmSpillFindTask.h.

Referenced by InitContainers(), and SetSpillCheckIntervalSec().

◆ fMonitorAlgo

◆ fsHistoFileName

TString CbmMcbmSpillFindTask::fsHistoFileName
private

Definition at line 66 of file CbmMcbmSpillFindTask.h.

Referenced by Finish(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmMcbmSpillFindTask::fuHistoryHistoSize
private

Switch ON the filling of a additional set of histograms.

User settings parameters

Definition at line 65 of file CbmMcbmSpillFindTask.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbmSpillFindTask::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 73 of file CbmMcbmSpillFindTask.h.

Referenced by DoUnpack().

◆ fuMaxTotPulser

UInt_t CbmMcbmSpillFindTask::fuMaxTotPulser
private

Definition at line 68 of file CbmMcbmSpillFindTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmMcbmSpillFindTask::fuMinTotPulser
private

Definition at line 67 of file CbmMcbmSpillFindTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuOffSpillCountLimit

UInt_t CbmMcbmSpillFindTask::fuOffSpillCountLimit
private

Definition at line 69 of file CbmMcbmSpillFindTask.h.

Referenced by InitContainers(), and SetSpillThreshold().


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