#include <CartesianState.h>
Public Types | |
typedef double | Scalar |
typedef VectorDoublet < Vector3D, Vector3D > | Vector |
typedef Basic3DVector< Scalar > | Vector3D |
Public Member Functions | |
CartesianState () | |
CartesianState (const Vector &v, Scalar s) | |
CartesianState (const Vector3D &pos, const Vector3D &mom, Scalar s) | |
Scalar | charge () const |
const Vector3D & | momentum () const |
const Vector & | parameters () const |
const Vector3D & | position () const |
Private Attributes | |
Scalar | charge_ |
Vector | par_ |
Definition at line 7 of file CartesianState.h.
typedef double CartesianState::Scalar |
Definition at line 10 of file CartesianState.h.
Definition at line 12 of file CartesianState.h.
typedef Basic3DVector<Scalar> CartesianState::Vector3D |
Definition at line 11 of file CartesianState.h.
CartesianState::CartesianState | ( | ) | [inline] |
Definition at line 14 of file CartesianState.h.
{}
Scalar CartesianState::charge | ( | void | ) | const [inline] |
Definition at line 24 of file CartesianState.h.
References charge_.
Referenced by operator*(), operator+(), operator-(), and operator/().
{ return charge_;}
const Vector3D& CartesianState::momentum | ( | ) | const [inline] |
Definition at line 20 of file CartesianState.h.
References par_, and VectorDoublet< V1, V2 >::second().
Referenced by RK4PreciseStep::distance().
const Vector& CartesianState::parameters | ( | void | ) | const [inline] |
Definition at line 22 of file CartesianState.h.
References par_.
Referenced by operator*(), operator+(), operator-(), and operator/().
{ return par_;}
const Vector3D& CartesianState::position | ( | void | ) | const [inline] |
Definition at line 19 of file CartesianState.h.
References VectorDoublet< V1, V2 >::first(), and par_.
Referenced by RK4PreciseStep::distance(), and RK4PreciseStep::operator()().
Scalar CartesianState::charge_ [private] |
Definition at line 29 of file CartesianState.h.
Referenced by charge().
Vector CartesianState::par_ [private] |
Definition at line 28 of file CartesianState.h.
Referenced by momentum(), parameters(), and position().