7 #include "Math/Vector3D.h"
61 double cosAlpha = transverseMomentum.Dot(displacement)/transverseMomentum.r()/displacement.r();
62 return 200*
sqrt(1-cosAlpha*cosAlpha)/0.2998*transverseMomentum.r()/displacement.r();
const TrackExtraRef & extra() const
reference to "extra" object
double px() const
x coordinate of momentum vector
const math::XYZPoint & outerPosition() const
position of the outermost hit
double estimate_field(const reco::Track &track, bool highQuality=false)
const math::XYZPoint & innerPosition() const
position of the innermost hit
double pt() const
track transverse momentum
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
XYZVectorD XYZVector
spatial vector with cartesian internal representation
double vy() const
y coordinate of the reference point on track
Power< A, B >::type pow(const A &a, const B &b)
double py() const
y coordinate of momentum vector
double vx() const
x coordinate of the reference point on track