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