CbmRoot
CbmMcbmCheckTimingTask Class Reference

#include <CbmMcbmCheckTimingTask.h>

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

Public Member Functions

 CbmMcbmCheckTimingTask ()
 CBM headers. More...
 
 CbmMcbmCheckTimingTask (const CbmMcbmCheckTimingTask &)=delete
 
CbmMcbmCheckTimingTask operator= (const CbmMcbmCheckTimingTask &)=delete
 
 ~CbmMcbmCheckTimingTask ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *)
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void SetOutFilename (TString sNameIn)
 
void SetReferenceDetector (ECbmModuleId refDetIn, std::string sNameIn, Double_t dTimeRangeBegIn=-1000.0, Double_t dTimeRangeEndIn=1000.0, UInt_t uRangeNbBinsIn=320, UInt_t uChargeCutMinIn=0, UInt_t uChargeCutMaxIn=0)
 
void AddCheckDetector (ECbmModuleId detIn, std::string sNameIn, Double_t dTimeRangeBegIn=-1000.0, Double_t dTimeRangeEndIn=1000.0, UInt_t uRangeNbBinsIn=320, UInt_t uChargeCutMinIn=0, UInt_t uChargeCutMaxIn=0)
 
void RemoveCheckDetector (ECbmModuleId detIn)
 

Private Member Functions

void SaveHistos ()
 
 ClassDef (CbmMcbmCheckTimingTask, 1)
 

Private Attributes

CbmMcbmCheckTimingAlgofpAlgo = nullptr
 
TString fsOutFileName = "data/HistosCheckTiming.root"
 

Detailed Description

Definition at line 23 of file CbmMcbmCheckTimingTask.h.

Constructor & Destructor Documentation

◆ CbmMcbmCheckTimingTask() [1/2]

CbmMcbmCheckTimingTask::CbmMcbmCheckTimingTask ( )

CBM headers.

Default constructor

FAIRROOT headers FAIRSOFT headers (geant, boost, ...) C/C++ headers

Create Algo. To be made generic/switchable when more event building algo are available!

Definition at line 24 of file CbmMcbmCheckTimingTask.cxx.

References fpAlgo.

◆ CbmMcbmCheckTimingTask() [2/2]

CbmMcbmCheckTimingTask::CbmMcbmCheckTimingTask ( const CbmMcbmCheckTimingTask )
delete

◆ ~CbmMcbmCheckTimingTask()

CbmMcbmCheckTimingTask::~CbmMcbmCheckTimingTask ( )

Constructor with parameters (Optional) Destructor

Definition at line 31 of file CbmMcbmCheckTimingTask.cxx.

Member Function Documentation

◆ AddCheckDetector()

void CbmMcbmCheckTimingTask::AddCheckDetector ( ECbmModuleId  detIn,
std::string  sNameIn,
Double_t  dTimeRangeBegIn = -1000.0,
Double_t  dTimeRangeEndIn = 1000.0,
UInt_t  uRangeNbBinsIn = 320,
UInt_t  uChargeCutMinIn = 0,
UInt_t  uChargeCutMaxIn = 0 
)

◆ ClassDef()

CbmMcbmCheckTimingTask::ClassDef ( CbmMcbmCheckTimingTask  ,
 
)
private

◆ Exec()

void CbmMcbmCheckTimingTask::Exec ( Option_t *  )
virtual

Executed for each event.

Call Algo ProcessTs method

Definition at line 51 of file CbmMcbmCheckTimingTask.cxx.

References fpAlgo, and CbmMcbmCheckTimingAlgo::ProcessTs().

◆ Finish()

void CbmMcbmCheckTimingTask::Finish ( )
virtual

Finish task called at the end of the run

Call Algo finish method

Definition at line 61 of file CbmMcbmCheckTimingTask.cxx.

References CbmMcbmCheckTimingAlgo::Finish(), fpAlgo, and SaveHistos().

◆ Init()

InitStatus CbmMcbmCheckTimingTask::Init ( )
virtual

Initiliazation of task at the beginning of a run

Call Algo Init method

Definition at line 39 of file CbmMcbmCheckTimingTask.cxx.

References fpAlgo, and CbmMcbmCheckTimingAlgo::Init().

◆ operator=()

CbmMcbmCheckTimingTask CbmMcbmCheckTimingTask::operator= ( const CbmMcbmCheckTimingTask )
delete

◆ ReInit()

InitStatus CbmMcbmCheckTimingTask::ReInit ( )
virtual

ReInitiliazation of task when the runID changes

Definition at line 48 of file CbmMcbmCheckTimingTask.cxx.

◆ RemoveCheckDetector()

void CbmMcbmCheckTimingTask::RemoveCheckDetector ( ECbmModuleId  detIn)

◆ SaveHistos()

void CbmMcbmCheckTimingTask::SaveHistos ( )
private

Definition at line 68 of file CbmMcbmCheckTimingTask.cxx.

References fpAlgo, and CbmMcbmCheckTimingAlgo::WriteHistos().

Referenced by Finish().

◆ SetOutFilename()

void CbmMcbmCheckTimingTask::SetOutFilename ( TString  sNameIn)

◆ SetParContainers()

void CbmMcbmCheckTimingTask::SetParContainers ( )
virtual

Load the parameter container from the runtime database

Nothing to do

Definition at line 34 of file CbmMcbmCheckTimingTask.cxx.

◆ SetReferenceDetector()

void CbmMcbmCheckTimingTask::SetReferenceDetector ( ECbmModuleId  refDetIn,
std::string  sNameIn,
Double_t  dTimeRangeBegIn = -1000.0,
Double_t  dTimeRangeEndIn = 1000.0,
UInt_t  uRangeNbBinsIn = 320,
UInt_t  uChargeCutMinIn = 0,
UInt_t  uChargeCutMaxIn = 0 
)

Member Data Documentation

◆ fpAlgo

◆ fsOutFileName

TString CbmMcbmCheckTimingTask::fsOutFileName = "data/HistosCheckTiming.root"
private

Name of the histogram output file

Definition at line 79 of file CbmMcbmCheckTimingTask.h.

Referenced by SetOutFilename().


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