Derivative calculation for the 6D cartesian case. More...
#include <CartesianLorentzForce.h>
Public Types | |
typedef RKDerivative< double, 6 > | Base |
typedef Base::Scalar | Scalar |
typedef Base::Vector | Vector |
Public Types inherited from RKDerivative< double, 6 > | |
typedef double | Scalar |
typedef RKSmallVector< double, N > | Vector |
Public Member Functions | |
CartesianLorentzForce (const RKLocalFieldProvider &field, double ch) | |
virtual Vector | operator() (Scalar z, const Vector &state) const |
Public Member Functions inherited from RKDerivative< double, 6 > | |
virtual | ~RKDerivative () |
Private Attributes | |
double | theCharge |
const RKLocalFieldProvider & | theField |
Derivative calculation for the 6D cartesian case.
Definition at line 10 of file CartesianLorentzForce.h.
typedef RKDerivative< double,6> CartesianLorentzForce::Base |
Definition at line 13 of file CartesianLorentzForce.h.
Definition at line 14 of file CartesianLorentzForce.h.
Definition at line 15 of file CartesianLorentzForce.h.
|
inline |
Definition at line 17 of file CartesianLorentzForce.h.
|
inlinevirtual |
Derivative d(pos)/ds is simply normalized momentum
Lorentz force in absence of electric field
Implements RKDerivative< double, 6 >.
Definition at line 33 of file CartesianLorentzForce.h.
References Basic3DVector< T >::cross(), RKLocalFieldProvider::inTesla(), relval_steps::k, CartesianStateAdaptor::momentum(), CartesianStateAdaptor::position(), CartesianStateAdaptor::rkstate(), dqm_diff::start, theCharge, theField, and Basic3DVector< T >::unit().
|
private |
Definition at line 25 of file CartesianLorentzForce.h.
Referenced by operator()().
|
private |
Definition at line 24 of file CartesianLorentzForce.h.
Referenced by operator()().