CbmRoot
CbmMvdClusterfinder.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdClusterfinder header file -----
3 // ----- Created by P.Sitzmann 03.12.2014 -----
4 // ----------------------------------------------------------------------------
5 
6 
7 #ifndef CBMMVDCLUSTERFINDER_H
8 #define CBMMVDCLUSTERFINDER_H 1
9 
10 
11 #include "FairTask.h"
12 
13 #include "TStopwatch.h"
14 
15 class CbmMvdDetector;
16 class TClonesArray;
17 class TString;
18 class CbmDigiManager;
19 
20 
21 class CbmMvdClusterfinder : public FairTask {
22 
23 public:
26 
27 
32  CbmMvdClusterfinder(const char* name, Int_t mode = 0, Int_t iVerbose = 1);
33 
34 
37 
38  void Exec(Option_t* opt);
39 
40  void ShowDebugHistos() { fShowDebugHistos = kTRUE; }
41 
42 private:
44  Int_t fMode;
48 
49  TClonesArray* fCluster;
50 
52 
53  TString fBranchName; // Name of input branch (MvdDigi)
54 
55 
56  TStopwatch fTimer;
57 
58 
59  // ----- Private methods ---------------------------------------------
61  virtual InitStatus Init();
62 
63 
65  virtual InitStatus ReInit();
66 
67 
69  virtual void Finish();
70 
71 
73  void Register();
74 
75  void GetMvdGeometry();
76 
77 
79  void Reset();
80 
81 
83  void PrintParameters();
84 
85 private:
88 
90 };
91 
92 
93 #endif
CbmMvdClusterfinder::Reset
void Reset()
Definition: CbmMvdClusterfinder.cxx:181
CbmMvdClusterfinder::fBranchName
TString fBranchName
Definition: CbmMvdClusterfinder.h:53
CbmMvdClusterfinder::ClassDef
ClassDef(CbmMvdClusterfinder, 1)
CbmMvdClusterfinder::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdClusterfinder.h:40
CbmMvdClusterfinder::Exec
void Exec(Option_t *opt)
Definition: CbmMvdClusterfinder.cxx:77
CbmMvdClusterfinder::~CbmMvdClusterfinder
~CbmMvdClusterfinder()
Definition: CbmMvdClusterfinder.cxx:67
CbmMvdClusterfinder
Definition: CbmMvdClusterfinder.h:21
CbmMvdClusterfinder::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdClusterfinder.cxx:185
CbmMvdClusterfinder::fCluster
TClonesArray * fCluster
Definition: CbmMvdClusterfinder.h:49
CbmMvdClusterfinder::operator=
CbmMvdClusterfinder operator=(const CbmMvdClusterfinder &)
CbmMvdClusterfinder::PrintParameters
void PrintParameters()
Definition: CbmMvdClusterfinder.cxx:190
CbmMvdClusterfinder::Finish
virtual void Finish()
Definition: CbmMvdClusterfinder.cxx:173
CbmMvdClusterfinder::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdClusterfinder.h:46
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmMvdClusterfinder::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmMvdClusterfinder.h:47
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdClusterfinder::Init
virtual InitStatus Init()
Definition: CbmMvdClusterfinder.cxx:110
CbmMvdClusterfinder::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdClusterfinder.h:56
CbmMvdClusterfinder::Register
void Register()
CbmMvdClusterfinder::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdClusterfinder.cxx:168
CbmMvdClusterfinder::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdClusterfinder.h:45
CbmMvdClusterfinder::CbmMvdClusterfinder
CbmMvdClusterfinder(const CbmMvdClusterfinder &)
CbmMvdClusterfinder::CbmMvdClusterfinder
CbmMvdClusterfinder()
Definition: CbmMvdClusterfinder.cxx:39
CbmMvdClusterfinder::fClusterPluginNr
UInt_t fClusterPluginNr
Definition: CbmMvdClusterfinder.h:51
CbmMvdClusterfinder::fMode
Int_t fMode
Definition: CbmMvdClusterfinder.h:44