CbmRoot
CbmPrimaryVertexFinder.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmPrimaryVertexFinder header file -----
3 // ----- Created 28/11/05 by V. Friese -----
4 // -------------------------------------------------------------------------
5 
6 
17 #ifndef CBMPRIMARYVERTEXFINDER_H
18 #define CBMPRIMARYVERTEXFINDER_H 1
19 
20 
21 #include "TObject.h"
22 
23 
24 class TClonesArray;
25 class CbmEvent;
26 class CbmVertex;
27 
28 
29 class CbmPrimaryVertexFinder : public TObject {
30 
31 public:
34 
35 
38 
39 
43  virtual void Init() {};
44 
45 
54  virtual Int_t FindPrimaryVertex(TClonesArray* tracks, CbmVertex* vertex) = 0;
55 
56 
63  virtual Int_t FindEventVertex(CbmEvent* event, TClonesArray* tracks) = 0;
64 
65 
67 };
68 
69 #endif
tracks
TClonesArray * tracks
Definition: Analyze_matching.h:17
CbmPrimaryVertexFinder::Init
virtual void Init()
Definition: CbmPrimaryVertexFinder.h:43
CbmPrimaryVertexFinder::FindEventVertex
virtual Int_t FindEventVertex(CbmEvent *event, TClonesArray *tracks)=0
CbmPrimaryVertexFinder
Definition: CbmPrimaryVertexFinder.h:29
CbmVertex
Definition: CbmVertex.h:26
CbmPrimaryVertexFinder::CbmPrimaryVertexFinder
CbmPrimaryVertexFinder()
Definition: CbmPrimaryVertexFinder.h:33
CbmPrimaryVertexFinder::FindPrimaryVertex
virtual Int_t FindPrimaryVertex(TClonesArray *tracks, CbmVertex *vertex)=0
CbmEvent
Class characterising one event by a collection of links (indices) to data objects,...
Definition: CbmEvent.h:30
CbmPrimaryVertexFinder::ClassDef
ClassDef(CbmPrimaryVertexFinder, 1)
CbmPrimaryVertexFinder::~CbmPrimaryVertexFinder
virtual ~CbmPrimaryVertexFinder()
Definition: CbmPrimaryVertexFinder.h:37