BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
20
class
TClonesArray
;
21
class
CbmVertex
;
22
23
class
CbmPrimaryVertexFinder
:
public
TObject
24
{
25
26
public
:
27
/** Default constructor **/
28
CbmPrimaryVertexFinder
() {};
29
30
/** Destructor **/
31
virtual
~CbmPrimaryVertexFinder
() {};
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
47
ClassDef
(
CbmPrimaryVertexFinder
, 1);
48
};
49
50
#endif
Int_t
int Int_t
ClassDef
#define ClassDef(name, id)
TObject.h
CbmPrimaryVertexFinder
Definition
CbmPrimaryVertexFinder.h:24
CbmPrimaryVertexFinder::CbmPrimaryVertexFinder
CbmPrimaryVertexFinder()
Default constructor.
Definition
CbmPrimaryVertexFinder.h:28
CbmPrimaryVertexFinder::Init
virtual void Init()
Initialisation (virtual).
Definition
CbmPrimaryVertexFinder.h:36
CbmPrimaryVertexFinder::~CbmPrimaryVertexFinder
virtual ~CbmPrimaryVertexFinder()
Destructor.
Definition
CbmPrimaryVertexFinder.h:31
CbmPrimaryVertexFinder::FindPrimaryVertex
virtual Int_t FindPrimaryVertex(TClonesArray *tracks, CbmVertex *vertex)=0
Execution of PV finding (abstract).
CbmVertex
CbmVertex.h.
Definition
CbmVertex.h:21
TClonesArray
TObject
TObject::TClonesArray
friend friend class TClonesArray
install
include
CbmPrimaryVertexFinder.h
Generated on
for BmnRoot by
1.17.0