CbmRoot
CbmMvdDigiToHitTB.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdDigiToHitTB header file -----
3 // ----- Created by P.Sitzmann 03.12.2014 -----
4 // ----------------------------------------------------------------------------
5 
6 
7 #ifndef CBMMVDDIGITOHITTB_H
8 #define CBMMVDDIGITOHITTB_H 1
9 
10 
11 #include "FairTask.h"
12 
13 #include "TStopwatch.h"
14 
15 class CbmMvdDetector;
16 class TClonesArray;
17 class TString;
18 
19 
20 class CbmMvdDigiToHitTB : public FairTask {
21 
22 public:
25 
26 
31  CbmMvdDigiToHitTB(const char* name, Int_t mode = 0, Int_t iVerbose = 1);
32 
33 
36 
37  void Exec(Option_t* opt);
38 
39  void ShowDebugHistos() { fShowDebugHistos = kTRUE; }
40 
41 private:
43  Int_t fMode;
46 
47  TClonesArray* fEvents;
48  TClonesArray* fInputDigis;
49  TClonesArray* fEventDigis;
50  TClonesArray* fCluster;
51 
52 
54 
55  TString fBranchName; // Name of input branch (MvdDigi)
56 
57 
58  TStopwatch fTimer;
59 
60 
61  // ----- Private methods ---------------------------------------------
63  virtual InitStatus Init();
64 
65 
67  virtual InitStatus ReInit();
68 
69 
71  virtual void Finish();
72 
73 
75  void Register();
76 
77  void GetMvdGeometry();
78 
79 
81  void Reset();
82 
83 
85  void PrintParameters();
86 
87 private:
90 
92 };
93 
94 
95 #endif
CbmMvdDigiToHitTB::Init
virtual InitStatus Init()
Definition: CbmMvdDigiToHitTB.cxx:107
CbmMvdDigiToHitTB::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdDigiToHitTB.cxx:160
CbmMvdDigiToHitTB::~CbmMvdDigiToHitTB
~CbmMvdDigiToHitTB()
Definition: CbmMvdDigiToHitTB.cxx:59
CbmMvdDigiToHitTB::Reset
void Reset()
Definition: CbmMvdDigiToHitTB.cxx:173
CbmMvdDigiToHitTB
Definition: CbmMvdDigiToHitTB.h:20
CbmMvdDigiToHitTB::PrintParameters
void PrintParameters()
Definition: CbmMvdDigiToHitTB.cxx:182
CbmMvdDigiToHitTB::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdDigiToHitTB.h:45
CbmMvdDigiToHitTB::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdDigiToHitTB.h:44
CbmMvdDigiToHitTB::fEvents
TClonesArray * fEvents
Definition: CbmMvdDigiToHitTB.h:47
CbmMvdDigiToHitTB::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdDigiToHitTB.h:58
CbmMvdDigiToHitTB::fInputDigis
TClonesArray * fInputDigis
Definition: CbmMvdDigiToHitTB.h:48
CbmMvdDigiToHitTB::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdDigiToHitTB.h:39
CbmMvdDigiToHitTB::fEventDigis
TClonesArray * fEventDigis
Definition: CbmMvdDigiToHitTB.h:49
CbmMvdDigiToHitTB::Exec
void Exec(Option_t *opt)
Definition: CbmMvdDigiToHitTB.cxx:69
CbmMvdDigiToHitTB::CbmMvdDigiToHitTB
CbmMvdDigiToHitTB()
Definition: CbmMvdDigiToHitTB.cxx:37
CbmMvdDigiToHitTB::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdDigiToHitTB.cxx:177
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdDigiToHitTB::Finish
virtual void Finish()
Definition: CbmMvdDigiToHitTB.cxx:165
CbmMvdDigiToHitTB::operator=
CbmMvdDigiToHitTB operator=(const CbmMvdDigiToHitTB &)
CbmMvdDigiToHitTB::fCluster
TClonesArray * fCluster
Definition: CbmMvdDigiToHitTB.h:50
CbmMvdDigiToHitTB::ClassDef
ClassDef(CbmMvdDigiToHitTB, 1)
CbmMvdDigiToHitTB::fMode
Int_t fMode
Definition: CbmMvdDigiToHitTB.h:43
CbmMvdDigiToHitTB::fBranchName
TString fBranchName
Definition: CbmMvdDigiToHitTB.h:55
CbmMvdDigiToHitTB::CbmMvdDigiToHitTB
CbmMvdDigiToHitTB(const CbmMvdDigiToHitTB &)
CbmMvdDigiToHitTB::Register
void Register()
CbmMvdDigiToHitTB::fClusterPluginNr
UInt_t fClusterPluginNr
Definition: CbmMvdDigiToHitTB.h:53