CbmRoot
CbmStar2019MonitorPulserTask Class Reference

#include <CbmStar2019MonitorPulserTask.h>

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

Public Member Functions

 CbmStar2019MonitorPulserTask ()
 
virtual ~CbmStar2019MonitorPulserTask ()
 
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 SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 Algo settings setters. More...
 
void SetHistoFilename (TString sNameIn)
 
void SetEtofFeeIndexing (Bool_t bFlagIn=kTRUE)
 
void SetUpdateFreqTs (UInt_t uFreq=100)
 
void SetPulserTotLimits (UInt_t uMin, UInt_t uMax)
 
void SetPulserChannel (UInt_t uChan)
 
void SetSectorIndex (Int_t iSector=-1)
 
void SetHistoryHistoSize (UInt_t inHistorySizeSec=1800)
 

Private Member Functions

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

Private Attributes

Bool_t fbEtofFeeIndexing
 Control flags. More...
 
TString fsHistoFileName
 User settings parameters. More...
 
UInt_t fuUpdateFreqTs
 
UInt_t fuPulserMinTot
 
UInt_t fuPulserMaxTot
 
UInt_t fuPulserChannel
 
Int_t fiSectorIndex
 
UInt_t fuHistoryHistoSize
 
TList * fParCList
 Parameters management. More...
 
uint64_t fulTsCounter
 Statistics & first TS rejection. More...
 
CbmStar2019MonitorPulserAlgofMonitorPulserAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 21 of file CbmStar2019MonitorPulserTask.h.

Constructor & Destructor Documentation

◆ CbmStar2019MonitorPulserTask() [1/2]

CbmStar2019MonitorPulserTask::CbmStar2019MonitorPulserTask ( )

Definition at line 36 of file CbmStar2019MonitorPulserTask.cxx.

References fMonitorPulserAlgo.

◆ ~CbmStar2019MonitorPulserTask()

CbmStar2019MonitorPulserTask::~CbmStar2019MonitorPulserTask ( )
virtual

Definition at line 52 of file CbmStar2019MonitorPulserTask.cxx.

References fMonitorPulserAlgo.

◆ CbmStar2019MonitorPulserTask() [2/2]

CbmStar2019MonitorPulserTask::CbmStar2019MonitorPulserTask ( const CbmStar2019MonitorPulserTask )
private

Member Function Documentation

◆ AddMsComponentToList()

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

Temp until we change from CbmMcbmUnpack to something else.

Implements CbmMcbmUnpack.

Definition at line 154 of file CbmStar2019MonitorPulserTask.cxx.

References CbmStar2019MonitorPulserAlgo::AddMsComponentToList(), and fMonitorPulserAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmStar2019MonitorPulserTask::Finish ( )
virtual

◆ Init()

Bool_t CbmStar2019MonitorPulserTask::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 56 of file CbmStar2019MonitorPulserTask.cxx.

◆ InitContainers()

Bool_t CbmStar2019MonitorPulserTask::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 87 of file CbmStar2019MonitorPulserTask.cxx.

References CbmStar2019MonitorPulserAlgo::CreateHistograms(), fbEtofFeeIndexing, fiSectorIndex, fMonitorPulserAlgo, fuPulserChannel, fuPulserMaxTot, fuPulserMinTot, fuUpdateFreqTs, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmStar2019MonitorPulserAlgo::InitContainers(), CbmStar2019MonitorPulserAlgo::SetEtofFeeIndexing(), CbmStar2019MonitorPulserAlgo::SetPulserChannel(), CbmStar2019MonitorPulserAlgo::SetPulserTotLimits(), CbmStar2019MonitorPulserAlgo::SetSectorIndex(), and CbmStar2019MonitorPulserAlgo::SetUpdateFreqTs().

◆ operator=()

CbmStar2019MonitorPulserTask CbmStar2019MonitorPulserTask::operator= ( const CbmStar2019MonitorPulserTask )
private

◆ ReInitContainers()

Bool_t CbmStar2019MonitorPulserTask::ReInitContainers ( )
virtual

◆ Reset()

void CbmStar2019MonitorPulserTask::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 190 of file CbmStar2019MonitorPulserTask.cxx.

◆ SaveHistograms()

Bool_t CbmStar2019MonitorPulserTask::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 201 of file CbmStar2019MonitorPulserTask.cxx.

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

Referenced by DoUnpack(), and Finish().

◆ SetEtofFeeIndexing()

void CbmStar2019MonitorPulserTask::SetEtofFeeIndexing ( Bool_t  bFlagIn = kTRUE)
inline

Definition at line 45 of file CbmStar2019MonitorPulserTask.h.

References fbEtofFeeIndexing.

◆ SetHistoFilename()

void CbmStar2019MonitorPulserTask::SetHistoFilename ( TString  sNameIn)
inline

Definition at line 44 of file CbmStar2019MonitorPulserTask.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 55 of file CbmStar2019MonitorPulserTask.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmStar2019MonitorPulserTask::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

Algo settings setters.

Definition at line 197 of file CbmStar2019MonitorPulserTask.cxx.

References fMonitorPulserAlgo, and CbmStar2019Algo< T >::SetIgnoreOverlapMs().

◆ SetNbMsInTs()

void CbmStar2019MonitorPulserTask::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 40 of file CbmStar2019MonitorPulserTask.h.

◆ SetParContainers()

void CbmStar2019MonitorPulserTask::SetParContainers ( )
virtual

◆ SetPulserChannel()

void CbmStar2019MonitorPulserTask::SetPulserChannel ( UInt_t  uChan)
inline

Definition at line 53 of file CbmStar2019MonitorPulserTask.h.

References fuPulserChannel.

◆ SetPulserTotLimits()

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

Definition at line 49 of file CbmStar2019MonitorPulserTask.h.

References fuPulserMaxTot, and fuPulserMinTot.

◆ SetSectorIndex()

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

Definition at line 54 of file CbmStar2019MonitorPulserTask.h.

References fiSectorIndex.

◆ SetUpdateFreqTs()

void CbmStar2019MonitorPulserTask::SetUpdateFreqTs ( UInt_t  uFreq = 100)
inline

Definition at line 48 of file CbmStar2019MonitorPulserTask.h.

References fuUpdateFreqTs.

Member Data Documentation

◆ fbEtofFeeIndexing

Bool_t CbmStar2019MonitorPulserTask::fbEtofFeeIndexing
private

Control flags.

Definition at line 63 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetEtofFeeIndexing().

◆ fiSectorIndex

Int_t CbmStar2019MonitorPulserTask::fiSectorIndex
private

Definition at line 71 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetSectorIndex().

◆ fMonitorPulserAlgo

◆ fParCList

TList* CbmStar2019MonitorPulserTask::fParCList
private

Parameters management.

Definition at line 75 of file CbmStar2019MonitorPulserTask.h.

Referenced by SetParContainers().

◆ fsHistoFileName

TString CbmStar2019MonitorPulserTask::fsHistoFileName
private

User settings parameters.

Definition at line 66 of file CbmStar2019MonitorPulserTask.h.

Referenced by SaveHistograms(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmStar2019MonitorPulserTask::fuHistoryHistoSize
private

Definition at line 72 of file CbmStar2019MonitorPulserTask.h.

Referenced by SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmStar2019MonitorPulserTask::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 78 of file CbmStar2019MonitorPulserTask.h.

Referenced by DoUnpack().

◆ fuPulserChannel

UInt_t CbmStar2019MonitorPulserTask::fuPulserChannel
private

Definition at line 70 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetPulserChannel().

◆ fuPulserMaxTot

UInt_t CbmStar2019MonitorPulserTask::fuPulserMaxTot
private

Definition at line 69 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuPulserMinTot

UInt_t CbmStar2019MonitorPulserTask::fuPulserMinTot
private

Definition at line 68 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetPulserTotLimits().

◆ fuUpdateFreqTs

UInt_t CbmStar2019MonitorPulserTask::fuUpdateFreqTs
private

Definition at line 67 of file CbmStar2019MonitorPulserTask.h.

Referenced by InitContainers(), and SetUpdateFreqTs().


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