CbmRoot
CbmMvdHitfinder.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdHitfinder header file -----
3 // ----- Created by C. Dritsa (2009) -----
4 // ----- Maintained by M.Deveaux (m.deveaux(att)gsi.de) -----
5 // ----------------------------------------------------------------------------
6 
7 #ifndef CBMMVDHITFINDER_H
8 #define CBMMVDHITFINDER_H 1
9 
10 #include "FairTask.h"
11 #include "TStopwatch.h"
12 
13 class CbmMvdDetector;
14 class CbmDigiManager;
15 
16 
17 class CbmMvdHitfinder : public FairTask {
18 
19 public:
22 
23 
28  CbmMvdHitfinder(const char* name, Int_t iVerbose = 1);
29  CbmMvdHitfinder(const char* name, Int_t mode, Int_t iVerbose);
30 
32  virtual ~CbmMvdHitfinder();
33 
34  void Exec(Option_t* opt);
35  void UseClusterfinder(Bool_t clusterfinderFlag) {
36  useClusterfinder = clusterfinderFlag;
37  }; //* enable use of external clusterfinder
38  void ShowDebugHistos() { fShowDebugHistos = kTRUE; }
39 
40 protected:
41 private:
44 
45  TClonesArray* fInputCluster;
46  TClonesArray* fHits;
47 
51  TStopwatch fTimer;
52  Int_t fmode;
53 
54  // ----- Private methods ---------------------------------------------
56  virtual InitStatus Init();
57 
58 
60  virtual InitStatus ReInit();
61 
62 
64  virtual void Finish();
65 
66 
68  void Register();
69 
70 
72  void Reset();
73 
74  void GetMvdGeometry();
75 
77  void PrintParameters();
78 
79 private:
82 
84 };
85 
86 
87 #endif
CbmMvdHitfinder::Exec
void Exec(Option_t *opt)
Definition: CbmMvdHitfinder.cxx:90
CbmMvdHitfinder::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdHitfinder.cxx:194
CbmMvdHitfinder
Definition: CbmMvdHitfinder.h:17
CbmMvdHitfinder::useClusterfinder
Bool_t useClusterfinder
Definition: CbmMvdHitfinder.h:49
CbmMvdHitfinder::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdHitfinder.h:51
CbmMvdHitfinder::operator=
CbmMvdHitfinder operator=(const CbmMvdHitfinder &)
CbmMvdHitfinder::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdHitfinder.h:38
CbmMvdHitfinder::CbmMvdHitfinder
CbmMvdHitfinder()
Definition: CbmMvdHitfinder.cxx:36
CbmMvdHitfinder::fHitfinderPluginNr
UInt_t fHitfinderPluginNr
Definition: CbmMvdHitfinder.h:48
CbmMvdHitfinder::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmMvdHitfinder.h:43
CbmMvdHitfinder::fmode
Int_t fmode
Definition: CbmMvdHitfinder.h:52
CbmMvdHitfinder::CbmMvdHitfinder
CbmMvdHitfinder(const CbmMvdHitfinder &)
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmMvdHitfinder::fInputCluster
TClonesArray * fInputCluster
Definition: CbmMvdHitfinder.h:45
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdHitfinder::fHits
TClonesArray * fHits
Definition: CbmMvdHitfinder.h:46
CbmMvdHitfinder::UseClusterfinder
void UseClusterfinder(Bool_t clusterfinderFlag)
Definition: CbmMvdHitfinder.h:35
CbmMvdHitfinder::ClassDef
ClassDef(CbmMvdHitfinder, 1)
CbmMvdHitfinder::Register
void Register()
CbmMvdHitfinder::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdHitfinder.h:50
CbmMvdHitfinder::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdHitfinder.h:42
CbmMvdHitfinder::Reset
void Reset()
Definition: CbmMvdHitfinder.cxx:204
CbmMvdHitfinder::Finish
virtual void Finish()
Definition: CbmMvdHitfinder.cxx:199
CbmMvdHitfinder::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdHitfinder.cxx:208
CbmMvdHitfinder::PrintParameters
void PrintParameters()
Definition: CbmMvdHitfinder.cxx:213
CbmMvdHitfinder::Init
virtual InitStatus Init()
Definition: CbmMvdHitfinder.cxx:125
CbmMvdHitfinder::~CbmMvdHitfinder
virtual ~CbmMvdHitfinder()
Definition: CbmMvdHitfinder.cxx:80