16#include "TMatrixFSym.h"
28 CbmVertex(
const char* name,
const char* title);
49 const TMatrixFSym& covMat);
58 Double_t
GetX()
const {
return fX; };
59 Double_t
GetY()
const {
return fY; };
60 Double_t
GetZ()
const {
return fZ; };
61 Double_t
GetChi2()
const {
return fChi2; };
62 Int_t
GetNDF()
const {
return fNDF; };
64 void Position(TVector3& pos)
const { pos.SetXYZ(fX, fY, fZ); };
65 void CovMatrix(TMatrixFSym& covMat)
const;
86 const TMatrixFSym& covMat);
106 Double32_t fX, fY, fZ;
120 Double32_t fCovMatrix[6];
void SetVertex(Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t nTracks, const TMatrixFSym &covMat)
void CopyFrom(CbmVertex *hdr)
std::vector< Int_t > trkID
void Position(TVector3 &pos) const
void SetVertexXYZ(Double_t x, Double_t y, Double_t z)
void CovMatrix(TMatrixFSym &covMat) const
Double32_t(& GetCovMatrix())[6]
std::vector< Int_t > GetTrackInds()
Double_t GetCovariance(Int_t i, Int_t j) const