#include <RK4PreciseStep.h>
Public Member Functions | |
double | distance (const CartesianState &a, const CartesianState &b) const |
CartesianState | operator() (const CartesianState &start, const RKCartesianDerivative &deriv, double step, double eps) const |
std::pair< CartesianState, double > | stepWithAccuracy (const CartesianState &start, const RKCartesianDerivative &deriv, double step) const |
Private Member Functions | |
bool | verbose () const |
Definition at line 10 of file RK4PreciseStep.h.
double RK4PreciseStep::distance | ( | const CartesianState & | a, |
const CartesianState & | b | ||
) | const |
Definition at line 63 of file RK4PreciseStep.cc.
References Basic3DVector< T >::mag(), mag(), CartesianState::momentum(), and CartesianState::position().
Referenced by stepWithAccuracy().
CartesianState RK4PreciseStep::operator() | ( | const CartesianState & | start, |
const RKCartesianDerivative & | deriv, | ||
double | step, | ||
double | eps | ||
) | const |
Definition at line 7 of file RK4PreciseStep.cc.
References gather_cfg::cout, max(), min, Basic3DVector< T >::perp(), CartesianState::position(), funct::pow(), dqm_diff::start, relval_parameters_module::step, stepWithAccuracy(), verbose(), and Basic3DVector< T >::z().
std::pair< CartesianState, double > RK4PreciseStep::stepWithAccuracy | ( | const CartesianState & | start, |
const RKCartesianDerivative & | deriv, | ||
double | step | ||
) | const |
Definition at line 52 of file RK4PreciseStep.cc.
References diffTreeTool::diff, and distance().
Referenced by operator()().
|
private |
Definition at line 68 of file RK4PreciseStep.cc.
Referenced by operator()().