11 using namespace tauImpactParameter;
20 double s=(asin((x+(r+dxy)*
sin(phi))/r)-phi)/(2*kappa);
21 double y=-r*
cos(2.0*s*kappa+phi)+(r+dxy)*
cos(phi);
22 double z=dz+s*
tan(lam);
23 return TVector3(x,y,z);
33 double s=(acos(((r+dxy)*
cos(phi)-y)/r)-phi)/(2*kappa);
34 double x=r*
sin(2.0*s*kappa+phi)-(r+dxy)*
sin(phi);
35 double z=dz+s*
tan(lam);
36 return TVector3(x,y,z);
45 double s=(z-dz)/
tan(lam);
47 double x=r*
sin(2.0*s*kappa+phi)-(r+dxy)*
sin(phi);
48 double y=-r*
cos(2.0*s*kappa+phi)+(r+dxy)*
cos(phi);
49 return TVector3(x,y,z);
virtual int pdgId() const
Sin< T >::type sin(const T &t)
virtual double charge() const
T x() const
Cartesian x coordinate.
static TVectorT< double > computeLorentzVectorPar(const TVectorT< double > &inpar)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
virtual double parameter(int i) const
virtual double mass() const
Geom::Phi< T > phi() const
virtual double bField() const
static const G4double kappa
static TMatrixTSym< double > propagateError(std::function< TVectorT< double >(const TVectorT< double > &)> f, const TVectorT< double > &inPar, TMatrixTSym< double > &inCov, double epsilon=0.001, double errorEpsilonRatio=1000)