CbmRoot
CbmFindPrimaryVertex.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmFindPrimaryVertex header file -----
3 // ----- Created 28/11/05 by V. Friese -----
4 // -------------------------------------------------------------------------
5 
6 
19 #ifndef CBMFINDPRIMARYVERTEX_H
20 #define CBMFINDPRIMARYVERTEX_H 1
21 
22 
23 #include "CbmVertex.h"
24 #include "FairTask.h"
25 #include "TStopwatch.h"
26 
27 class TClonesArray;
29 
30 
31 class CbmFindPrimaryVertex : public FairTask {
32 
33 public:
36 
37 
42 
43 
50  CbmFindPrimaryVertex(const char* name,
51  const char* title,
52  CbmPrimaryVertexFinder* pvFinder);
53 
54 
56  virtual ~CbmFindPrimaryVertex();
57 
58 
60  virtual InitStatus Init();
61 
62 
64  virtual void Exec(Option_t* opt);
65 
66 
68  virtual void Finish();
69 
70 
71 private:
72  TStopwatch fTimer;
74  TClonesArray* fTracks;
76 
77  Int_t fNofEvents;
78  Double_t fTimeTot;
79 
82 
84 };
85 
86 #endif
CbmFindPrimaryVertex::CbmFindPrimaryVertex
CbmFindPrimaryVertex(const CbmFindPrimaryVertex &)
CbmVertex.h
CbmFindPrimaryVertex::operator=
CbmFindPrimaryVertex & operator=(const CbmFindPrimaryVertex &)
CbmFindPrimaryVertex::fPrimVert
CbmVertex * fPrimVert
Definition: CbmFindPrimaryVertex.h:75
CbmFindPrimaryVertex::fTimer
TStopwatch fTimer
Definition: CbmFindPrimaryVertex.h:72
CbmFindPrimaryVertex::Exec
virtual void Exec(Option_t *opt)
Definition: CbmFindPrimaryVertex.cxx:109
CbmFindPrimaryVertex::Init
virtual InitStatus Init()
Definition: CbmFindPrimaryVertex.cxx:68
CbmFindPrimaryVertex::CbmFindPrimaryVertex
CbmFindPrimaryVertex()
Definition: CbmFindPrimaryVertex.cxx:21
CbmFindPrimaryVertex::fNofEvents
Int_t fNofEvents
Total number of events processed.
Definition: CbmFindPrimaryVertex.h:77
CbmPrimaryVertexFinder
Definition: CbmPrimaryVertexFinder.h:29
CbmVertex
Definition: CbmVertex.h:26
CbmFindPrimaryVertex::~CbmFindPrimaryVertex
virtual ~CbmFindPrimaryVertex()
Definition: CbmFindPrimaryVertex.cxx:63
CbmFindPrimaryVertex::Finish
virtual void Finish()
Definition: CbmFindPrimaryVertex.cxx:138
CbmFindPrimaryVertex::fFinder
CbmPrimaryVertexFinder * fFinder
Definition: CbmFindPrimaryVertex.h:73
CbmFindPrimaryVertex
Definition: CbmFindPrimaryVertex.h:31
CbmFindPrimaryVertex::fTimeTot
Double_t fTimeTot
Total execution time [s].
Definition: CbmFindPrimaryVertex.h:78
CbmFindPrimaryVertex::fTracks
TClonesArray * fTracks
Definition: CbmFindPrimaryVertex.h:74
CbmFindPrimaryVertex::ClassDef
ClassDef(CbmFindPrimaryVertex, 1)