1 #ifndef __StVertexT_h__
2 #define __StVertexT_h__
3 #include "StMuDstVtxT.h"
6 StVertexT(Double_t x = 0, Double_t y = 0, Double_t z = 0,
7 Double_t sigma_x = 0, Double_t sigma_y = 0, Double_t sigma_z = 0,
8 Int_t multU = 0, Int_t mult = 0, Int_t multW = 0, Int_t multE = 0, Int_t q = 0, Int_t r = 0,
9 Int_t ndf = 0, Double_t prob = 0, Double_t chi2 = 0,
10 Short_t idTruth = 0, Short_t Qual = 0, Int_t idParentTk = 0) :
11 StMuDstVtxT(x,y,z,sigma_x,sigma_y,sigma_z,multU,mult,multW,multE,q,r,idTruth,Qual,idParentTk),
12 fNDF(ndf), fProb(prob), fChi2(chi2),
13 fiMuDst(0), fChi2MuDst(0), fiKF(0), fChi2KF(0) {}
15 StMuDstVtxT(dst), fNDF(ndf), fProb(prob), fChi2(chi2),
16 fiMuDst(0), fChi2MuDst(0), fiKF(0), fChi2KF(0) {}
20 TMath::Sqrt(v.Vertex().GetCovariance(0,0)),
21 TMath::Sqrt(v.Vertex().GetCovariance(1,1)),
22 TMath::Sqrt(v.Vertex().GetCovariance(2,2)),
23 -1, v.NoTracks(), -1, v.MultW(), v.MultE(), v.Q(), 0,
24 v.IdTruth(), v.QaTruth(), v.IdParentTk()),
25 fNDF(v.Vertex().GetNDF()),fProb(TMath::Prob(v.Vertex().GetChi2(),v.Vertex().GetNDF())),
26 fChi2(v.Vertex().GetChi2()),
27 fiMuDst(0), fChi2MuDst(0), fiKF(0), fChi2KF(0) {
30 fNoDaughtersMc = v.NoDaughtersMc();
31 fgePidMc = v.gePidMc();
34 void SetMuDst(Int_t i, Double_t p) {fiMuDst = i; fChi2MuDst = p;}
35 void SetKF(Int_t i, Double_t p) {fiKF = i; fChi2KF = p;}