#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 60 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 6 of file RK4PreciseStep.cc.
References gather_cfg::cout, mps_splice::currentStart, SiStripPI::max, min(), Basic3DVector< T >::perp(), CartesianState::position(), funct::pow(), command_line::start, stepWithAccuracy(), verbose(), and Basic3DVector< T >::z().
std::pair< CartesianState, double > RK4PreciseStep::stepWithAccuracy | ( | const CartesianState & | start, |
const RKCartesianDerivative & | deriv, | ||
double | step | ||
) | const |
Definition at line 49 of file RK4PreciseStep.cc.
References change_name::diff, distance(), and SiPixelPI::one.
Referenced by operator()().
|
private |