CbmRoot
CbmMvdHitfinderTB.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdHitfinderTB header file -----
3 // ----- Created by C. Dritsa (2009) -----
4 // ----- Maintained by M.Deveaux (m.deveaux(att)gsi.de) -----
5 // ----------------------------------------------------------------------------
6 
7 #ifndef CBMMVDHITFINDERTB_H
8 #define CBMMVDHITFINDERTB_H 1
9 
10 #include "FairTask.h"
11 #include "TStopwatch.h"
12 
13 class CbmMvdDetector;
14 
15 
16 class CbmMvdHitfinderTB : public FairTask {
17 
18 public:
21 
22 
27  CbmMvdHitfinderTB(const char* name, Int_t iVerbose = 1);
28  CbmMvdHitfinderTB(const char* name, Int_t mode, Int_t iVerbose);
29 
31  virtual ~CbmMvdHitfinderTB();
32 
33  void Exec(Option_t* opt);
34  void UseClusterfinder(Bool_t clusterfinderFlag) {
35  useClusterfinder = clusterfinderFlag;
36  }; //* enable use of external clusterfinder
37  void ShowDebugHistos() { fShowDebugHistos = kTRUE; }
38 
39 protected:
40 private:
42 
43  TClonesArray* fInputDigis;
44  TClonesArray* fInputCluster;
45  TClonesArray* fHits;
46 
50  TStopwatch fTimer;
51  Int_t fmode;
52 
53  // ----- Private methods ---------------------------------------------
55  virtual InitStatus Init();
56 
57 
59  virtual InitStatus ReInit();
60 
61 
63  virtual void Finish();
64 
65 
67  void Register();
68 
69 
71  void Reset();
72 
73  void GetMvdGeometry();
74 
76  void PrintParameters();
77 
78 private:
81 
83 };
84 
85 
86 #endif
CbmMvdHitfinderTB::ClassDef
ClassDef(CbmMvdHitfinderTB, 1)
CbmMvdHitfinderTB::useClusterfinder
Bool_t useClusterfinder
Definition: CbmMvdHitfinderTB.h:48
CbmMvdHitfinderTB::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdHitfinderTB.h:50
CbmMvdHitfinderTB::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdHitfinderTB.cxx:166
CbmMvdHitfinderTB::Exec
void Exec(Option_t *opt)
Definition: CbmMvdHitfinderTB.cxx:90
CbmMvdHitfinderTB::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdHitfinderTB.cxx:180
CbmMvdHitfinderTB::fInputDigis
TClonesArray * fInputDigis
Definition: CbmMvdHitfinderTB.h:43
CbmMvdHitfinderTB::Reset
void Reset()
Definition: CbmMvdHitfinderTB.cxx:176
CbmMvdHitfinderTB::Finish
virtual void Finish()
Definition: CbmMvdHitfinderTB.cxx:171
CbmMvdHitfinderTB::Init
virtual InitStatus Init()
Definition: CbmMvdHitfinderTB.cxx:117
CbmMvdHitfinderTB::CbmMvdHitfinderTB
CbmMvdHitfinderTB()
Definition: CbmMvdHitfinderTB.cxx:34
CbmMvdHitfinderTB::UseClusterfinder
void UseClusterfinder(Bool_t clusterfinderFlag)
Definition: CbmMvdHitfinderTB.h:34
CbmMvdHitfinderTB
Definition: CbmMvdHitfinderTB.h:16
CbmMvdHitfinderTB::fInputCluster
TClonesArray * fInputCluster
Definition: CbmMvdHitfinderTB.h:44
CbmMvdHitfinderTB::operator=
CbmMvdHitfinderTB operator=(const CbmMvdHitfinderTB &)
CbmMvdHitfinderTB::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdHitfinderTB.h:37
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdHitfinderTB::fmode
Int_t fmode
Definition: CbmMvdHitfinderTB.h:51
CbmMvdHitfinderTB::PrintParameters
void PrintParameters()
Definition: CbmMvdHitfinderTB.cxx:185
CbmMvdHitfinderTB::~CbmMvdHitfinderTB
virtual ~CbmMvdHitfinderTB()
Definition: CbmMvdHitfinderTB.cxx:80
CbmMvdHitfinderTB::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdHitfinderTB.h:41
CbmMvdHitfinderTB::Register
void Register()
CbmMvdHitfinderTB::fHitfinderPluginNr
UInt_t fHitfinderPluginNr
Definition: CbmMvdHitfinderTB.h:47
CbmMvdHitfinderTB::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdHitfinderTB.h:49
CbmMvdHitfinderTB::fHits
TClonesArray * fHits
Definition: CbmMvdHitfinderTB.h:45
CbmMvdHitfinderTB::CbmMvdHitfinderTB
CbmMvdHitfinderTB(const CbmMvdHitfinderTB &)