CbmRoot
CbmMvdClusterfinderTB.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // ----- CbmMvdClusterfinderTB header file -----
3 // ----- Created by P.Sitzmann 03.12.2014 -----
4 // ----------------------------------------------------------------------------
5 
6 
7 #ifndef CBMMVDCLUSTERFINDERTB_H
8 #define CBMMVDCLUSTERFINDERTB_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 CbmMvdClusterfinderTB : public FairTask {
22 
23 public:
26 
27 
32  CbmMvdClusterfinderTB(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;
47 
48  TClonesArray* fEvents;
50  TClonesArray* fEventDigis;
51  TClonesArray* fCluster;
52 
53 
55 
56  TString fBranchName; // Name of input branch (MvdDigi)
57 
58 
59  TStopwatch fTimer;
60 
61 
62  // ----- Private methods ---------------------------------------------
64  virtual InitStatus Init();
65 
66 
68  virtual InitStatus ReInit();
69 
70 
72  virtual void Finish();
73 
74 
76  void Register();
77 
78  void GetMvdGeometry();
79 
80 
82  void Reset();
83 
84 
86  void PrintParameters();
87 
88 private:
91 
93 };
94 
95 
96 #endif
CbmMvdClusterfinderTB::Register
void Register()
CbmMvdClusterfinderTB::fEvents
TClonesArray * fEvents
Definition: CbmMvdClusterfinderTB.h:48
CbmMvdClusterfinderTB::operator=
CbmMvdClusterfinderTB operator=(const CbmMvdClusterfinderTB &)
CbmMvdClusterfinderTB::GetMvdGeometry
void GetMvdGeometry()
Definition: CbmMvdClusterfinderTB.cxx:185
CbmMvdClusterfinderTB::ClassDef
ClassDef(CbmMvdClusterfinderTB, 1)
CbmMvdClusterfinderTB::CbmMvdClusterfinderTB
CbmMvdClusterfinderTB(const CbmMvdClusterfinderTB &)
CbmMvdClusterfinderTB::fEventDigis
TClonesArray * fEventDigis
Definition: CbmMvdClusterfinderTB.h:50
CbmMvdClusterfinderTB::~CbmMvdClusterfinderTB
~CbmMvdClusterfinderTB()
Definition: CbmMvdClusterfinderTB.cxx:60
CbmMvdClusterfinderTB::ReInit
virtual InitStatus ReInit()
Definition: CbmMvdClusterfinderTB.cxx:168
CbmMvdClusterfinderTB
Definition: CbmMvdClusterfinderTB.h:21
CbmMvdClusterfinderTB::fMode
Int_t fMode
Definition: CbmMvdClusterfinderTB.h:44
CbmMvdClusterfinderTB::CbmMvdClusterfinderTB
CbmMvdClusterfinderTB()
Definition: CbmMvdClusterfinderTB.cxx:38
CbmMvdClusterfinderTB::fBranchName
TString fBranchName
Definition: CbmMvdClusterfinderTB.h:56
CbmMvdClusterfinderTB::PrintParameters
void PrintParameters()
Definition: CbmMvdClusterfinderTB.cxx:190
CbmMvdClusterfinderTB::Finish
virtual void Finish()
Definition: CbmMvdClusterfinderTB.cxx:173
CbmMvdClusterfinderTB::Exec
void Exec(Option_t *opt)
Definition: CbmMvdClusterfinderTB.cxx:70
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmMvdDetector
Definition: CbmMvdDetector.h:39
CbmMvdClusterfinderTB::fShowDebugHistos
Bool_t fShowDebugHistos
Definition: CbmMvdClusterfinderTB.h:45
CbmMvdClusterfinderTB::Init
virtual InitStatus Init()
Definition: CbmMvdClusterfinderTB.cxx:110
CbmMvdClusterfinderTB::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmMvdClusterfinderTB.h:59
CbmMvdClusterfinderTB::fClusterPluginNr
UInt_t fClusterPluginNr
Definition: CbmMvdClusterfinderTB.h:54
CbmMvdClusterfinderTB::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmMvdClusterfinderTB.h:49
CbmMvdClusterfinderTB::ShowDebugHistos
void ShowDebugHistos()
Definition: CbmMvdClusterfinderTB.h:40
CbmMvdClusterfinderTB::fCluster
TClonesArray * fCluster
Definition: CbmMvdClusterfinderTB.h:51
CbmMvdClusterfinderTB::fDetector
CbmMvdDetector * fDetector
Definition: CbmMvdClusterfinderTB.h:46
CbmMvdClusterfinderTB::Reset
void Reset()
Definition: CbmMvdClusterfinderTB.cxx:181