33 double stFndRng,
double endFndRng) :
34 TrkSimpleRep(trk, hypo, nact, nsv, ndc, chi2, stFndRng, endFndRng),
35 _traj(inPar.params(), inPar.covariance())
74 ostr <<
"TrkHelixRep "
77 <<
" om: "<<_traj.
omega()
80 <<
" d0: " << _traj.
d0()
81 <<
" z0: " << _traj.
z0()
82 <<
" ct: " << _traj.
tanDip()
130 static HepVector derivs;
double deltaChi;
133 if (errCode.
failure())
return false;
136 double tErr2 = c(1,1);
140 if (
e2<0)
return false;
149 if (ier!=0)
return false;
152 p1 -= deltaChi*derivs;
153 for (
unsigned i=0; i<p0.num_row(); ++i)
for (
unsigned j=0; j<i+1 ;++j) {
154 w.fast(i+1,j+1) -= derivs[i]*derivs[j];
157 if (ier!=0)
return false;
159 residErr=h->
hitRms()*sqrt(w(1,1)+1);
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER jdahep COMMON hepevt $ !serial number $ !number of particles $ !status code $ !particle ident KF $ !parent particles $ !childreen particles $ !four momentum
virtual TrkDifTraj & traj()
const IfdKey & myKey() const
virtual bool resid(const TrkHitOnTrk *h, double &residual, double &residErr, bool exclude) const
virtual TrkHelixRep * clone(TrkRecoTrk *newTrack) const
virtual void printAll(std::ostream &ostr) const
virtual void print(std::ostream &ostr) const
virtual TrkExchangePar helix(double fltLen) const
virtual TrkSimpTraj & simpTraj()
virtual TrkHelixRep * cloneNewHypo(PdtPid::PidType hypo)
TrkHelixRep(const TrkExchangePar &inPar, TrkRecoTrk *myTrack, PdtPid::PidType hypo, const TrkHotList *=0)
const TrkRep * getParentRep() const
TrkErrCode getFitStuff(HepVector &derivs, double &deltaChi) const
HepSymMatrix & covariance()
TrkRecoTrk * parentTrack()
virtual PdtPid::PidType particleType() const
virtual double pt(double fltL=0.) const
virtual int charge() const