23#include <RtypesCore.h>
24#include <TMatrixFSymfwd.h>
40 CbmVertex(
const char* name,
const char* title);
54 CbmVertex(
const char* name,
const char* title,
double x,
double y,
double z,
double chi2, int32_t ndf,
55 int32_t nTracks,
const TMatrixFSym& covMat);
63 virtual void Print(Option_t* opt =
"")
const;
74 void CovMatrix(TMatrixFSym& covMat)
const;
81 bool SetTracks(std::vector<uint32_t>& indexVector);
96 void SetVertex(
double x,
double y,
double z,
double chi2, int32_t ndf, int32_t nTracks,
const TMatrixFSym& covMat);
100 virtual std::string
ToString()
const;
bool SetTracks(std::vector< uint32_t > &indexVector)
std::vector< uint32_t > fTrkIdx
void Position(TVector3 &pos) const
virtual std::string ToString() const
bool FindTrackByIndex(uint32_t iTrack) const
Accessors to the Global track array. Check if track with global index iTrack was actually used for ve...
void CovMatrix(TMatrixFSym &covMat) const
int32_t GetTrackIndex(int32_t iTrack) const
Accessors to the Global track array. Retrieve the tracks being actually used for vertex fit by entry ...
double GetCovariance(int32_t i, int32_t j) const
int32_t GetNTracks() const
void SetVertex(double x, double y, double z, double chi2, int32_t ndf, int32_t nTracks, const TMatrixFSym &covMat)
virtual void Print(Option_t *opt="") const