CbmRoot
|
#include <CbmPrimaryVertexFinder.h>
Public Member Functions | |
CbmPrimaryVertexFinder () | |
virtual | ~CbmPrimaryVertexFinder () |
virtual void | Init () |
virtual Int_t | FindPrimaryVertex (TClonesArray *tracks, CbmVertex *vertex)=0 |
virtual Int_t | FindEventVertex (CbmEvent *event, TClonesArray *tracks)=0 |
ClassDef (CbmPrimaryVertexFinder, 1) | |
Definition at line 29 of file CbmPrimaryVertexFinder.h.
|
inline |
Default constructor
Definition at line 33 of file CbmPrimaryVertexFinder.h.
|
inlinevirtual |
Destructor
Definition at line 37 of file CbmPrimaryVertexFinder.h.
CbmPrimaryVertexFinder::ClassDef | ( | CbmPrimaryVertexFinder | , |
1 | |||
) |
|
pure virtual |
Execution of PV finding (abstract). To be implemented in the derived class. Task: Take the track array and find the vertex. Set the event vertex parameters with its SetVertex method.
tracks | TClonesArray of CbmStsTracks |
event | Pointer to event object |
Implemented in CbmPVFinderIdeal, and CbmPVFinderKF.
Referenced by CbmFindPrimaryVertexEvents::Exec().
|
pure virtual |
Execution of PV finding (abstract). To be implemented in the derived class. Task: Take the track array and find the vertex. Set the vertex parameters of the object vertex with its SetVertex method.
tracks | TClonesArray of CbmStsTracks |
vertex | Primary vertex (output) |
event | Pointer to event object |
Implemented in CbmPVFinderIdeal, and CbmPVFinderKF.
Referenced by CbmFindPrimaryVertex::Exec().
|
inlinevirtual |
Initialisation (virtual). If needed, to be implemented in the derived class. Else no action.
Reimplemented in CbmPVFinderIdeal.
Definition at line 43 of file CbmPrimaryVertexFinder.h.
Referenced by CbmFindPrimaryVertex::Init(), and CbmFindPrimaryVertexEvents::Init().