1 #ifndef CartesianStateAdaptor_H 2 #define CartesianStateAdaptor_H static Vector3D momentum(const RKSmallVector< double, 6 > &rk)
T x() const
Cartesian x coordinate.
ROOT::Math::SVector< T, N > RKSmallVector
T y() const
Cartesian y coordinate.
static Vector3D position(const RKSmallVector< double, 6 > &rk)
Basic3DVector< Scalar > Vector3D
const Vector3D & momentum() const
T z() const
Cartesian z coordinate.
const Vector3D & position() const
static RKSmallVector< double, 6 > rkstate(const Vector3D &pos, const Vector3D &mom)
CartesianStateAdaptor(const RKSmallVector< double, 6 > &rk)