CbmRoot
CbmPrimaryVertexFinder Class Referenceabstract

#include <CbmPrimaryVertexFinder.h>

Inheritance diagram for CbmPrimaryVertexFinder:
[legend]
Collaboration diagram for CbmPrimaryVertexFinder:
[legend]

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)
 

Detailed Description

Definition at line 29 of file CbmPrimaryVertexFinder.h.

Constructor & Destructor Documentation

◆ CbmPrimaryVertexFinder()

CbmPrimaryVertexFinder::CbmPrimaryVertexFinder ( )
inline

Default constructor

Definition at line 33 of file CbmPrimaryVertexFinder.h.

◆ ~CbmPrimaryVertexFinder()

virtual CbmPrimaryVertexFinder::~CbmPrimaryVertexFinder ( )
inlinevirtual

Destructor

Definition at line 37 of file CbmPrimaryVertexFinder.h.

Member Function Documentation

◆ ClassDef()

CbmPrimaryVertexFinder::ClassDef ( CbmPrimaryVertexFinder  ,
 
)

◆ FindEventVertex()

virtual Int_t CbmPrimaryVertexFinder::FindEventVertex ( CbmEvent event,
TClonesArray *  tracks 
)
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.

Parameters
tracksTClonesArray of CbmStsTracks
eventPointer to event object

Implemented in CbmPVFinderIdeal, and CbmPVFinderKF.

Referenced by CbmFindPrimaryVertexEvents::Exec().

◆ FindPrimaryVertex()

virtual Int_t CbmPrimaryVertexFinder::FindPrimaryVertex ( TClonesArray *  tracks,
CbmVertex vertex 
)
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.

Parameters
tracksTClonesArray of CbmStsTracks
vertexPrimary vertex (output)
eventPointer to event object

Implemented in CbmPVFinderIdeal, and CbmPVFinderKF.

Referenced by CbmFindPrimaryVertex::Exec().

◆ Init()

virtual void CbmPrimaryVertexFinder::Init ( )
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().


The documentation for this class was generated from the following file: