CbmRoot
|
#include <CbmMcbmCheckTimingTask.h>
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 | |
CbmMcbmCheckTimingAlgo * | fpAlgo = nullptr |
TString | fsOutFileName = "data/HistosCheckTiming.root" |
Definition at line 23 of file CbmMcbmCheckTimingTask.h.
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.
|
delete |
CbmMcbmCheckTimingTask::~CbmMcbmCheckTimingTask | ( | ) |
Constructor with parameters (Optional) Destructor
Definition at line 31 of file CbmMcbmCheckTimingTask.cxx.
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 |
||
) |
Definition at line 124 of file CbmMcbmCheckTimingTask.cxx.
References CbmMcbmCheckTimingAlgo::AddCheckDetector(), and fpAlgo.
|
private |
|
virtual |
Executed for each event.
Call Algo ProcessTs method
Definition at line 51 of file CbmMcbmCheckTimingTask.cxx.
References fpAlgo, and CbmMcbmCheckTimingAlgo::ProcessTs().
|
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().
|
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().
|
delete |
|
virtual |
ReInitiliazation of task when the runID changes
Definition at line 48 of file CbmMcbmCheckTimingTask.cxx.
void CbmMcbmCheckTimingTask::RemoveCheckDetector | ( | ECbmModuleId | detIn | ) |
Definition at line 140 of file CbmMcbmCheckTimingTask.cxx.
References fpAlgo, and CbmMcbmCheckTimingAlgo::RemoveCheckDetector().
|
private |
Definition at line 68 of file CbmMcbmCheckTimingTask.cxx.
References fpAlgo, and CbmMcbmCheckTimingAlgo::WriteHistos().
Referenced by Finish().
void CbmMcbmCheckTimingTask::SetOutFilename | ( | TString | sNameIn | ) |
Definition at line 104 of file CbmMcbmCheckTimingTask.cxx.
References fpAlgo, fsOutFileName, and CbmMcbmCheckTimingAlgo::SetOutFilename().
|
virtual |
Load the parameter container from the runtime database
Nothing to do
Definition at line 34 of file CbmMcbmCheckTimingTask.cxx.
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 |
||
) |
Definition at line 109 of file CbmMcbmCheckTimingTask.cxx.
References fpAlgo, and CbmMcbmCheckTimingAlgo::SetReferenceDetector().
|
private |
Definition at line 76 of file CbmMcbmCheckTimingTask.h.
Referenced by AddCheckDetector(), CbmMcbmCheckTimingTask(), Exec(), Finish(), Init(), RemoveCheckDetector(), SaveHistos(), SetOutFilename(), and SetReferenceDetector().
|
private |
Name of the histogram output file
Definition at line 79 of file CbmMcbmCheckTimingTask.h.
Referenced by SetOutFilename().