9#include "MdcRecoUtil/Pdt.h"
10#include "MdcRecoUtil/PdtEntry.h"
11#include "TrkFitter/TrkLineRep.h"
12#include "TrkBase/TrkSimpTraj.h"
13#include "TrkBase/TrkRecoTrk.h"
14#include "TrkBase/TrkExchangePar.h"
15#include "MdcGeom/BesAngle.h"
34 double stFndRng,
double endFndRng) :
35 TrkSimpleRep(trk, hypo, nact, nsv, ndc, chi2, stFndRng, endFndRng),
75 HepSymMatrix& theCov = localPar.covariance();
86 theCov(ex_d0, ex_d0) = lineCov(ln_d0, ln_d0);
87 theCov(ex_phi0, ex_d0) = lineCov(ln_phi0, ln_d0);
88 theCov(ex_phi0, ex_phi0) = lineCov(ln_phi0, ln_phi0);
89 theCov(ex_z0, ex_d0) = lineCov(ln_z0, ln_d0);
90 theCov(ex_z0, ex_phi0) = lineCov(ln_z0, ln_phi0);
91 theCov(ex_z0, ex_z0) = lineCov(ln_z0, ln_z0);
92 theCov(ex_tD, ex_d0) = lineCov(ln_tD, ln_d0);
93 theCov(ex_tD, ex_phi0) = lineCov(ln_tD, ln_phi0);
94 theCov(ex_tD, ex_z0) = lineCov(ln_tD, ln_z0);
95 theCov(ex_tD, ex_tD) = lineCov(ln_tD, ln_tD);
106 <<
" d0: " << _traj.
d0()
107 <<
" z0: " << _traj.
z0()
108 <<
" tnDip: " << _traj.
tanDip()
146 double m_betainv=-9999.;
148 if (m_betainv < 0.0) {
150 mass2 = mass2 * mass2;
153 assert(ptot2 != 0.0);
154 m_betainv = sqrt( (ptot2 + mass2)/ ptot2);
156 double tof = fltL * m_betainv * cinv;
static PdtEntry * lookup(const std::string &name)
virtual TrkLineRep * clone(TrkRecoTrk *newTrack) const
virtual TrkExchangePar helix(double fltLen) const
virtual TrkDifTraj & traj()
double arrivalTime(double fltLen) const
virtual void printAll(std::ostream &ostr) const
virtual void print(std::ostream &ostr) const
virtual TrkLineRep * cloneNewHypo(PdtPid::PidType hypo)
TrkLineRep(const TrkExchangePar &inPar, TrkRecoTrk *myTrack, PdtPid::PidType hypo, const TrkHotList *=0)
virtual TrkSimpTraj & simpTraj()
HepSymMatrix & covariance()
TrkRecoTrk * parentTrack()
virtual PdtPid::PidType particleType() const