CbmRoot
CbmMcbmCheckTimingTask.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef CBMMCBMCHECKTIMINGTASK_H
9 #define CBMMCBMCHECKTIMINGTASK_H
10 
12 #include "CbmMcbmCheckTimingAlgo.h"
13 
15 #include "FairTask.h"
16 
18 
20 
21 class TClonesArray;
22 
23 class CbmMcbmCheckTimingTask : public FairTask {
24 public:
27 
30 
32  // CbmMcbmCheckTimingTask(Int_t verbose);
33 
34 
37 
38 
40  virtual InitStatus Init();
41 
43  virtual InitStatus ReInit();
44 
45 
47  virtual void Exec(Option_t*);
48 
50  virtual void SetParContainers();
51 
53  virtual void Finish();
54 
55  void SetOutFilename(TString sNameIn);
56 
57  void SetReferenceDetector(ECbmModuleId refDetIn,
58  std::string sNameIn,
59  Double_t dTimeRangeBegIn = -1000.0,
60  Double_t dTimeRangeEndIn = 1000.0,
61  UInt_t uRangeNbBinsIn = 320,
62  UInt_t uChargeCutMinIn = 0,
63  UInt_t uChargeCutMaxIn = 0);
64  void AddCheckDetector(ECbmModuleId detIn,
65  std::string sNameIn,
66  Double_t dTimeRangeBegIn = -1000.0,
67  Double_t dTimeRangeEndIn = 1000.0,
68  UInt_t uRangeNbBinsIn = 320,
69  UInt_t uChargeCutMinIn = 0,
70  UInt_t uChargeCutMaxIn = 0);
72 
73 private:
74  void SaveHistos();
75 
77 
79  TString fsOutFileName = "data/HistosCheckTiming.root";
80 
82 };
83 
84 #endif // CBMMCBM2019TIMEWINEVENTBUILDERTASK_H
CbmMcbmCheckTimingTask::fpAlgo
CbmMcbmCheckTimingAlgo * fpAlgo
Definition: CbmMcbmCheckTimingTask.h:76
CbmMcbmCheckTimingTask::Finish
virtual void Finish()
Definition: CbmMcbmCheckTimingTask.cxx:61
CbmMcbmCheckTimingAlgo.h
CbmMcbmCheckTimingTask::Exec
virtual void Exec(Option_t *)
Definition: CbmMcbmCheckTimingTask.cxx:51
CbmMcbmCheckTimingTask::SetOutFilename
void SetOutFilename(TString sNameIn)
Definition: CbmMcbmCheckTimingTask.cxx:104
CbmMcbmCheckTimingTask::SetReferenceDetector
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)
Definition: CbmMcbmCheckTimingTask.cxx:109
CbmMcbmCheckTimingTask::RemoveCheckDetector
void RemoveCheckDetector(ECbmModuleId detIn)
Definition: CbmMcbmCheckTimingTask.cxx:140
ECbmModuleId
ECbmModuleId
Definition: CbmDefs.h:33
CbmMcbmCheckTimingTask::ReInit
virtual InitStatus ReInit()
Definition: CbmMcbmCheckTimingTask.cxx:48
CbmMcbmCheckTimingTask
Definition: CbmMcbmCheckTimingTask.h:23
CbmMcbmCheckTimingTask::~CbmMcbmCheckTimingTask
~CbmMcbmCheckTimingTask()
Definition: CbmMcbmCheckTimingTask.cxx:31
CbmMcbmCheckTimingTask::SaveHistos
void SaveHistos()
Definition: CbmMcbmCheckTimingTask.cxx:68
CbmMcbmCheckTimingTask::CbmMcbmCheckTimingTask
CbmMcbmCheckTimingTask(const CbmMcbmCheckTimingTask &)=delete
CbmMcbmCheckTimingTask::fsOutFileName
TString fsOutFileName
Definition: CbmMcbmCheckTimingTask.h:79
CbmMcbmCheckTimingAlgo
Definition: CbmMcbmCheckTimingAlgo.h:44
CbmMcbmCheckTimingTask::ClassDef
ClassDef(CbmMcbmCheckTimingTask, 1)
CbmMcbmCheckTimingTask::SetParContainers
virtual void SetParContainers()
Definition: CbmMcbmCheckTimingTask.cxx:34
CbmMcbmCheckTimingTask::operator=
CbmMcbmCheckTimingTask operator=(const CbmMcbmCheckTimingTask &)=delete
CbmMcbmCheckTimingTask::AddCheckDetector
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)
Definition: CbmMcbmCheckTimingTask.cxx:124
CbmMcbmCheckTimingTask::CbmMcbmCheckTimingTask
CbmMcbmCheckTimingTask()
CBM headers.
Definition: CbmMcbmCheckTimingTask.cxx:24
CbmMcbmCheckTimingTask::Init
virtual InitStatus Init()
Definition: CbmMcbmCheckTimingTask.cxx:39