Geant4
10.00.p01
|
#include <G4Mag_EqRhs.hh>
Public Member Functions | |
G4Mag_EqRhs (G4MagneticField *magField) | |
virtual | ~G4Mag_EqRhs () |
virtual void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const =0 |
G4double | FCof () const |
virtual void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) |
Public Member Functions inherited from G4EquationOfMotion | |
G4EquationOfMotion (G4Field *Field) | |
virtual | ~G4EquationOfMotion () |
void | RightHandSide (const G4double y[], G4double dydx[]) const |
void | EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const |
void | GetFieldValue (const G4double Point[4], G4double Field[]) const |
const G4Field * | GetFieldObj () const |
void | SetFieldObj (G4Field *pField) |
Private Attributes | |
G4double | fCof_val |
Static Private Attributes | |
static const G4double | fUnitConstant = 0.299792458 * (GeV/(tesla*m)) |
Definition at line 49 of file G4Mag_EqRhs.hh.
G4Mag_EqRhs::G4Mag_EqRhs | ( | G4MagneticField * | magField | ) |
Definition at line 50 of file G4Mag_EqRhs.cc.
|
virtual |
Definition at line 66 of file G4Mag_EqRhs.cc.
|
pure virtual |
Implements G4EquationOfMotion.
Implemented in G4Mag_SpinEqRhs, G4BlineEquation, G4Mag_UsualEqRhs, G4ErrorMag_UsualEqRhs, G4KM_NucleonEqRhs, and G4KM_OpticalEqRhs.
|
inline |
Definition at line 84 of file G4Mag_EqRhs.hh.
References fCof_val.
Referenced by G4MagHelicalStepper::AdvanceHelix(), G4NystromRK4::ComputeRightHandSide(), G4ErrorMag_UsualEqRhs::EvaluateRhsGivenB(), G4Mag_UsualEqRhs::EvaluateRhsGivenB(), G4Mag_SpinEqRhs::EvaluateRhsGivenB(), and G4ConstRK4::RightHandSideConst().
|
virtual |
Implements G4EquationOfMotion.
Reimplemented in G4Mag_UsualEqRhs, G4Mag_SpinEqRhs, G4KM_NucleonEqRhs, and G4KM_OpticalEqRhs.
Definition at line 56 of file G4Mag_EqRhs.cc.
References eplus, fCof_val, and G4ChargeState::GetCharge().
Referenced by G4Mag_SpinEqRhs::SetChargeMomentumMass(), and G4Mag_UsualEqRhs::SetChargeMomentumMass().
|
private |
Definition at line 73 of file G4Mag_EqRhs.hh.
Referenced by FCof(), and SetChargeMomentumMass().
Definition at line 75 of file G4Mag_EqRhs.hh.