199 if ( (
const_cast<EvtRecTrack*
>(m_visibleEvidence))->isMdcKalTrackValid() ) {
220 double dr(0),phi0(0),kappa(0),dz(0),tanl(0);
229 if (kappa > 0.0000000001)
231 else if (kappa < -0.0000000001)
235 if(kappa!=0) pxy = 1.0/fabs(kappa);
237 double px = pxy * (-
sin(phi0));
238 double py = pxy *
cos(phi0);
239 double pz = pxy * tanl;
241 double e = sqrt( pxy*pxy + pz*pz +
mass*
mass );
245 tmp->
setP4( HepLorentzVector(px, py, pz, e));
251 double e = sqrt(
mass*
mass + mdcTrack->
p3().mag2() );
252 tmp->
setP4( HepLorentzVector(mdcTrack->
p3(), e) );