1 #ifndef RKCartesianDistance_H 2 #define RKCartesianDistance_H 24 return (
a.position() -
b.position()).
mag() + (
a.momentum() -
b.momentum()).
mag() /
b.momentum().mag();
ROOT::Math::SVector< T, N > RKSmallVector
RKSmallVector< double, 6 > Vector
Scalar operator()(const Vector &rka, const Vector &rkb, const Scalar &s) const override
Estimator of the distance between two state vectors, e.g. for convergence test.
~RKCartesianDistance() override
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())