21 if (localY.
mag() < 0.1) {
24 localY = localY.
unit();
50 double k = 2.99792458e-3;
51 double transverseMomentum = localMom.
perp();
52 if (!(transverseMomentum != 0)) {
54 return std::pair<bool, double>(
false, 0);
74 std::pair<bool, double>
res = crossing.pathLength(localPlane);
GlobalPoint toGlobal(const LocalPoint &lp) const
Vector3DBase< typename PreciseFloatType< T, U >::Type, FrameTag > cross(const Vector3DBase< U, FrameTag > &v) const
T curvature(T InversePt, const MagneticField &field)
std::pair< bool, double > operator()(const Plane &plane, const Vector3D &position, const Vector3D &momentum, double charge, const PropagationDirection propDir=alongMomentum)
const BasicVectorType & basicVector() const
static Plane transformPlane(const Plane &plane, const GloballyPositioned< T > &frame)
const RKLocalFieldProvider & theField
Vector inTesla(const LocalPoint &lp) const
the argument lp is in the local frame specified in the constructor
Vector3DBase unit() const
const Frame * theFieldFrame