CbmRoot
CbmMcbm2018MonitorTaskPsd Class Reference

#include <CbmMcbm2018MonitorTaskPsd.h>

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

Public Member Functions

 CbmMcbm2018MonitorTaskPsd ()
 
virtual ~CbmMcbm2018MonitorTaskPsd ()
 
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 SetChargeHistoArgs (std::vector< Int_t > inVec)
 
void SetAmplHistoArgs (std::vector< Int_t > inVec)
 
void SetZLHistoArgs (std::vector< Int_t > inVec)
 
void SetHistoFilename (TString sNameIn)
 

Private Member Functions

 CbmMcbm2018MonitorTaskPsd (const CbmMcbm2018MonitorTaskPsd &)
 
CbmMcbm2018MonitorTaskPsd operator= (const CbmMcbm2018MonitorTaskPsd &)
 

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...
 
std::vector< Int_t > fviHistoChargeArgs
 
std::vector< Int_t > fviHistoAmplArgs
 
std::vector< Int_t > fviHistoZLArgs
 
TString fsHistoFileName
 
uint64_t fulTsCounter
 Statistics & first TS rejection. More...
 
CbmMcbm2018MonitorAlgoPsdfMonitorAlgo
 Processing algo. More...
 

Detailed Description

Definition at line 20 of file CbmMcbm2018MonitorTaskPsd.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorTaskPsd() [1/2]

CbmMcbm2018MonitorTaskPsd::CbmMcbm2018MonitorTaskPsd ( )

Definition at line 36 of file CbmMcbm2018MonitorTaskPsd.cxx.

References fMonitorAlgo.

◆ ~CbmMcbm2018MonitorTaskPsd()

CbmMcbm2018MonitorTaskPsd::~CbmMcbm2018MonitorTaskPsd ( )
virtual

Definition at line 50 of file CbmMcbm2018MonitorTaskPsd.cxx.

References fMonitorAlgo.

◆ CbmMcbm2018MonitorTaskPsd() [2/2]

CbmMcbm2018MonitorTaskPsd::CbmMcbm2018MonitorTaskPsd ( const CbmMcbm2018MonitorTaskPsd )
private

Member Function Documentation

◆ AddMsComponentToList()

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

References CbmMcbm2018MonitorAlgoPsd::AddMsComponentToList(), and fMonitorAlgo.

◆ DoUnpack()

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

◆ Finish()

void CbmMcbm2018MonitorTaskPsd::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 186 of file CbmMcbm2018MonitorTaskPsd.cxx.

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

◆ Init()

Bool_t CbmMcbm2018MonitorTaskPsd::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 52 of file CbmMcbm2018MonitorTaskPsd.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorTaskPsd::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 83 of file CbmMcbm2018MonitorTaskPsd.cxx.

References CbmMcbm2018MonitorAlgoPsd::CreateHistograms(), fbMonitorMode, fMonitorAlgo, fuHistoryHistoSize, fviHistoAmplArgs, fviHistoChargeArgs, fviHistoZLArgs, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmMcbm2018MonitorAlgoPsd::InitContainers(), CbmMcbm2018MonitorAlgoPsd::SetAmplHistoArgs(), CbmMcbm2018MonitorAlgoPsd::SetChargeHistoArgs(), CbmMcbm2018MonitorAlgoPsd::SetHistoryHistoSize(), CbmMcbm2018MonitorAlgoPsd::SetMonitorMode(), and CbmMcbm2018MonitorAlgoPsd::SetZLHistoArgs().

◆ operator=()

CbmMcbm2018MonitorTaskPsd CbmMcbm2018MonitorTaskPsd::operator= ( const CbmMcbm2018MonitorTaskPsd )
private

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorTaskPsd::ReInitContainers ( )
virtual

Reimplemented from CbmMcbmUnpack.

Definition at line 147 of file CbmMcbm2018MonitorTaskPsd.cxx.

References fMonitorAlgo, and CbmMcbm2018MonitorAlgoPsd::ReInitContainers().

◆ Reset()

void CbmMcbm2018MonitorTaskPsd::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 184 of file CbmMcbm2018MonitorTaskPsd.cxx.

◆ SetAmplHistoArgs()

void CbmMcbm2018MonitorTaskPsd::SetAmplHistoArgs ( std::vector< Int_t >  inVec)
inline

Definition at line 52 of file CbmMcbm2018MonitorTaskPsd.h.

References fviHistoAmplArgs.

◆ SetChargeHistoArgs()

void CbmMcbm2018MonitorTaskPsd::SetChargeHistoArgs ( std::vector< Int_t >  inVec)
inline

Definition at line 49 of file CbmMcbm2018MonitorTaskPsd.h.

References fviHistoChargeArgs.

◆ SetHistoFilename()

void CbmMcbm2018MonitorTaskPsd::SetHistoFilename ( TString  sNameIn)
inline

Definition at line 58 of file CbmMcbm2018MonitorTaskPsd.h.

References fsHistoFileName.

◆ SetHistoryHistoSize()

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

Definition at line 46 of file CbmMcbm2018MonitorTaskPsd.h.

References fuHistoryHistoSize.

◆ SetIgnoreOverlapMs()

void CbmMcbm2018MonitorTaskPsd::SetIgnoreOverlapMs ( Bool_t  bFlagIn = kTRUE)

◆ SetMonitorMode()

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

Algo settings setters.

Definition at line 42 of file CbmMcbm2018MonitorTaskPsd.h.

References fbMonitorMode.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorTaskPsd::SetNbMsInTs ( size_t  ,
size_t   
)
inlinevirtual

Implements CbmMcbmUnpack.

Definition at line 39 of file CbmMcbm2018MonitorTaskPsd.h.

◆ SetParContainers()

void CbmMcbm2018MonitorTaskPsd::SetParContainers ( )
virtual

◆ SetZLHistoArgs()

void CbmMcbm2018MonitorTaskPsd::SetZLHistoArgs ( std::vector< Int_t >  inVec)
inline

Definition at line 55 of file CbmMcbm2018MonitorTaskPsd.h.

References fviHistoZLArgs.

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorTaskPsd::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 65 of file CbmMcbm2018MonitorTaskPsd.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018MonitorTaskPsd::fbMonitorMode
private

Control flags.

Definition at line 63 of file CbmMcbm2018MonitorTaskPsd.h.

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

◆ fMonitorAlgo

◆ fsHistoFileName

TString CbmMcbm2018MonitorTaskPsd::fsHistoFileName
private

ZeroLevel histogram arguments in adc counts

Definition at line 75 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by Finish(), and SetHistoFilename().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorTaskPsd::fuHistoryHistoSize
private

Switch ON the filling of a additional set of histograms.

User settings parameters

Definition at line 68 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by InitContainers(), and SetHistoryHistoSize().

◆ fulTsCounter

uint64_t CbmMcbm2018MonitorTaskPsd::fulTsCounter
private

Statistics & first TS rejection.

Definition at line 78 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by DoUnpack().

◆ fviHistoAmplArgs

std::vector<Int_t> CbmMcbm2018MonitorTaskPsd::fviHistoAmplArgs
private

Charge histogram arguments in adc counts

Definition at line 72 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by InitContainers(), and SetAmplHistoArgs().

◆ fviHistoChargeArgs

std::vector<Int_t> CbmMcbm2018MonitorTaskPsd::fviHistoChargeArgs
private

Definition at line 70 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by InitContainers(), and SetChargeHistoArgs().

◆ fviHistoZLArgs

std::vector<Int_t> CbmMcbm2018MonitorTaskPsd::fviHistoZLArgs
private

Amplitude histogram arguments in adc counts

Definition at line 74 of file CbmMcbm2018MonitorTaskPsd.h.

Referenced by InitContainers(), and SetZLHistoArgs().


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