CbmRoot
|
#include <CbmKFPrimaryVertexFinder.h>
Public Member Functions | |
CbmKFPrimaryVertexFinder () | |
~CbmKFPrimaryVertexFinder () | |
virtual void | Clear (Option_t *opt="") |
void | AddTrack (CbmKFTrackInterface *Track, int32_t idx=-1) |
void | SetTracks (std::vector< CbmKFTrackInterface * > &vTracks) |
int | GetUsedTracks (std::vector< uint32_t > &idx) const |
void | Fit (CbmKFVertexInterface &vtx) |
ClassDef (CbmKFPrimaryVertexFinder, 2) | |
Private Attributes | |
std::vector< std::tuple< CbmKFTrackInterface *, int32_t, bool > > | Tracks |
The CbmKFPrimaryVertexFinder class
Class to find primary vertex with the Kalman Filter method
Definition at line 23 of file CbmKFPrimaryVertexFinder.h.
|
inline |
Definition at line 28 of file CbmKFPrimaryVertexFinder.h.
References Clear().
|
inline |
Definition at line 29 of file CbmKFPrimaryVertexFinder.h.
void CbmKFPrimaryVertexFinder::AddTrack | ( | CbmKFTrackInterface * | Track, |
int32_t | idx = -1 ) |
Definition at line 28 of file CbmKFPrimaryVertexFinder.cxx.
References Tracks.
Referenced by CbmPVFinderKF::FindEventVertex(), CbmPVFinderKFGlobal::FindEventVertex(), CbmPVFinderKF::FindPrimaryVertex(), and CbmPVFinderKFGlobal::FindPrimaryVertex().
CbmKFPrimaryVertexFinder::ClassDef | ( | CbmKFPrimaryVertexFinder | , |
2 | ) |
|
virtual |
Referenced by CbmKFPrimaryVertexFinder().
void CbmKFPrimaryVertexFinder::Fit | ( | CbmKFVertexInterface & | vtx | ) |
Definition at line 39 of file CbmKFPrimaryVertexFinder.cxx.
References CbmKFTube::dz, CbmKFVertexInterface::GetCovMatrix(), CbmKFVertexInterface::GetRefChi2(), CbmKFVertexInterface::GetRefNDF(), CbmKFVertexInterface::GetRefNTracks(), CbmKFVertexInterface::GetRefX(), CbmKFVertexInterface::GetRefY(), CbmKFVertexInterface::GetRefZ(), CbmKF::Instance(), CbmKFTube::RR, Tracks, CbmKF::vTargets, and CbmKFTube::z.
Referenced by CbmPVFinderKF::FindEventVertex(), CbmPVFinderKFGlobal::FindEventVertex(), CbmPVFinderKF::FindPrimaryVertex(), and CbmPVFinderKFGlobal::FindPrimaryVertex().
int CbmKFPrimaryVertexFinder::GetUsedTracks | ( | std::vector< uint32_t > & | idx | ) | const |
Return the list of indices og global tracks used for PV fit, if they were provided by the user
Definition at line 214 of file CbmKFPrimaryVertexFinder.cxx.
References Tracks.
Referenced by CbmPVFinderKFGlobal::FindEventVertex().
void CbmKFPrimaryVertexFinder::SetTracks | ( | std::vector< CbmKFTrackInterface * > & | vTracks | ) |
Definition at line 33 of file CbmKFPrimaryVertexFinder.cxx.
References Tracks.
|
private |
Definition at line 25 of file CbmKFPrimaryVertexFinder.h.
Referenced by AddTrack(), ClassImp(), Fit(), GetUsedTracks(), and SetTracks().