15#include "TMatrixFSym.h"
39 BmnVertex(Double_t x, Double_t y, Double_t z, Double_t chi2,
40 Int_t ndf, Int_t nTracks,
const TMatrixFSym& covMat, Int_t flag, vector<Int_t> idxs);
49 Double_t
GetX()
const {
return fX; };
50 Double_t
GetY()
const {
return fY; };
51 Double_t
GetZ()
const {
return fZ; };
52 Double_t
GetChi2()
const {
return fChi2; };
53 Int_t
GetNDF()
const {
return fNDF; };
55 void Position(TVector3& pos)
const { pos.SetXYZ(fX, fY, fZ); };
75 void SetVertex(Double_t x, Double_t y, Double_t z, Double_t chi2,
76 Int_t ndf, Int_t nTracks,
const TMatrixFSym& covMat, Int_t flag, vector<Int_t> idxs);
83 Double32_t fX, fY, fZ;
97 Double32_t fCovMatrix[6];
100 vector<Int_t> fTrackIdxs;
std::vector< Int_t > & GetTrackIdxs()
void Position(TVector3 &pos) const
virtual std::string ToString() const
BmnVertex(Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)
void CovMatrix(TMatrixFSym &covMat) const
Double_t GetCovariance(Int_t i, Int_t j) const
void SetVertex(Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat, Int_t flag, vector< Int_t > idxs)