CbmRoot
CbmMvdDigiToHit.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdDigiToHit header file -----
3 // ----- Created by P.Sitzmann 03.12.2014 -----
4 // ----------------------------------------------------------------------------
5 
6 
7 #ifndef CBMMVDDIGITOHIT_H
8 #define CBMMVDDIGITOHIT_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 CbmMvdDigiToHit : public FairTask {
21 
22 public:
25 
26 
31  CbmMvdDigiToHit(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* fInputDigis;
48  TClonesArray* fHit;
49 
50  UInt_t fHitPluginNr;
51 
52  TString fBranchName; // Name of input branch (MvdDigi)
53 
54 
55  TStopwatch fTimer;
56 
57 
58  // ----- Private methods ---------------------------------------------
60  virtual InitStatus Init();
61 
62 
64  virtual InitStatus ReInit();
65 
66 
68  virtual void Finish();
69 
70 
72  void Register();
73 
74  void GetMvdGeometry();
75 
76 
78  void Reset();
79 
80 
82  void PrintParameters();
83 
84 private:
87 
89 };
90 
91 
92 #endif
CbmMvdDigiToHit
Definition: CbmMvdDigiToHit.h:20
CbmMvdDigiToHit::CbmMvdDigiToHit
CbmMvdDigiToHit()
Definition: CbmMvdDigiToHit.cxx:45
CbmMvdDigiToHit::fBranchName
TString fBranchName
Definition: CbmMvdDigiToHit.h:52
CbmMvdDigiToHit::fHitPluginNr
UInt_t fHitPluginNr
Definition: CbmMvdDigiToHit.h:50
CbmMvdDigiToHit::Init
virtual InitStatus Init()
Definition: CbmMvdDigiToHit.cxx:113
CbmMvdDigiToHit::fMode
Int_t fMode
Definition: CbmMvdDigiToHit.h:43
CbmMvdDigiToHit::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdDigiToHit.h:44
CbmMvdDigiToHit::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdDigiToHit.h:55
CbmMvdDigiToHit::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdDigiToHit.h:45
CbmMvdDigiToHit::~CbmMvdDigiToHit
~CbmMvdDigiToHit()
Definition: CbmMvdDigiToHit.cxx:71
CbmMvdDigiToHit::Register
void Register()
CbmMvdDigiToHit::fHit
TClonesArray * fHit
Definition: CbmMvdDigiToHit.h:48
CbmMvdDigiToHit::ClassDef
ClassDef(CbmMvdDigiToHit, 1)
CbmMvdDigiToHit::CbmMvdDigiToHit
CbmMvdDigiToHit(const CbmMvdDigiToHit &)
CbmMvdDigiToHit::Finish
virtual void Finish()
Definition: CbmMvdDigiToHit.cxx:173
CbmMvdDigiToHit::fInputDigis
TClonesArray * fInputDigis
Definition: CbmMvdDigiToHit.h:47
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdDigiToHit::operator=
CbmMvdDigiToHit operator=(const CbmMvdDigiToHit &)
CbmMvdDigiToHit::PrintParameters
void PrintParameters()
Definition: CbmMvdDigiToHit.cxx:190
CbmMvdDigiToHit::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdDigiToHit.cxx:185
CbmMvdDigiToHit::Exec
void Exec(Option_t *opt)
Definition: CbmMvdDigiToHit.cxx:81
CbmMvdDigiToHit::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdDigiToHit.h:39
CbmMvdDigiToHit::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdDigiToHit.cxx:168
CbmMvdDigiToHit::Reset
void Reset()
Definition: CbmMvdDigiToHit.cxx:181