CbmRoot
|
Implementation of the primary vertex finder using KF utility. More...
#include <CbmPVFinderKFGlobal.h>
Public Member Functions | |
CbmPVFinderKFGlobal ()=default | |
Default constructor. | |
~CbmPVFinderKFGlobal ()=default | |
Destructior. | |
virtual Int_t | FindPrimaryVertex (TClonesArray *tracks, CbmVertex *vertex) |
Execution of PV finding. | |
virtual Int_t | FindEventVertex (CbmEvent *event, TClonesArray *tracks) |
Execution of PV finding. | |
ClassDef (CbmPVFinderKFGlobal, 1) | |
virtual void | Init () |
ClassDef (CbmPrimaryVertexFinder, 1) | |
Implementation of the primary vertex finder using KF utility.
Definition at line 18 of file CbmPVFinderKFGlobal.h.
|
default |
Default constructor.
|
default |
Destructior.
|
inherited |
CbmPVFinderKFGlobal::ClassDef | ( | CbmPVFinderKFGlobal | , |
1 | ) |
|
virtual |
Execution of PV finding.
event | Pointer to event object |
tracks | TClonesArray of CbmStsTracks |
Implements CbmPrimaryVertexFinder.
Definition at line 70 of file CbmPVFinderKFGlobal.cxx.
References CbmKFPrimaryVertexFinder::AddTrack(), CbmKFPrimaryVertexFinder::Fit(), CbmKFTrack::GetCovMatrix(), CbmVertex::GetNTracks(), CbmKFTrack::GetTrack(), CbmKFPrimaryVertexFinder::GetUsedTracks(), CbmKFVertexInterface::GetVertex(), kGlobalTrack, CbmKFTrack::SetGlobalTrack(), CbmVertex::SetTracks(), and tracks.
|
virtual |
Execution of PV finding.
tracks | TClonesArray of CbmStsTracks |
vertex | Primary vertex (output) |
event | Pointer to event object |
Implements CbmPrimaryVertexFinder.
Definition at line 26 of file CbmPVFinderKFGlobal.cxx.
References CbmKFPrimaryVertexFinder::AddTrack(), CbmKFPrimaryVertexFinder::Fit(), CbmKFTrack::GetCovMatrix(), CbmVertex::GetNTracks(), CbmKFTrack::GetTrack(), CbmKFVertexInterface::GetVertex(), CbmKFTrack::SetGlobalTrack(), and tracks.
|
inlinevirtualinherited |
Initialisation (virtual). If needed, to be implemented in the derived class. Else no action.
Reimplemented in CbmPVFinderIdeal.
Definition at line 47 of file CbmPrimaryVertexFinder.h.
Referenced by CbmFindPrimaryVertex::Init(), and CbmFindPrimaryVertexEvents::Init().