BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
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/** CbmPrimaryVertexFinder
7 *@author V.Friese ,v.friese@gsi.de>
8 **
9 ** Abstract base class for primary vertex finder algorithms. Each derived
10 ** class must implement the method FindPrimaryVertex. The input is the
11 ** array of CbmStsTracks (later to be replaced by CbmGlobalTracks), the
12 ** output is one object of type CbmVertex.
13 **/
14
15#ifndef CBMPRIMARYVERTEXFINDER_H
16#define CBMPRIMARYVERTEXFINDER_H 1
17
18#include "TObject.h"
19
20class TClonesArray;
21class CbmVertex;
22
24{
25
26 public:
27 /** Default constructor **/
29
30 /** Destructor **/
32
33 /** Initialisation (virtual). If needed, to be implemented in the
34 ** derived class. Else no action.
35 **/
36 virtual void Init() {};
37
38 /** Execution of PV finding (abstract). To be implemented in
39 ** the derived class. Task: Take the track array and find the vertex.
40 ** Set the vertex parameters of the object vertex with its SetVertex
41 ** method.
42 *@param tracks TClonesArray of CbmStsTracks
43 *@param vertex Primary vertex (output)
44 **/
45 virtual Int_t FindPrimaryVertex(TClonesArray* tracks, CbmVertex* vertex) = 0;
46
48};
49
50#endif
int Int_t
#define ClassDef(name, id)
CbmPrimaryVertexFinder()
Default constructor.
virtual void Init()
Initialisation (virtual).
virtual ~CbmPrimaryVertexFinder()
Destructor.
virtual Int_t FindPrimaryVertex(TClonesArray *tracks, CbmVertex *vertex)=0
Execution of PV finding (abstract).
CbmVertex.h.
Definition CbmVertex.h:21
friend friend class TClonesArray