Geant4
10.03
|
#include <G4EqMagElectricField.hh>
Public Member Functions | |
G4EqMagElectricField (G4ElectroMagneticField *emField) | |
~G4EqMagElectricField () | |
void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) |
void | EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const |
Public Member Functions inherited from G4EquationOfMotion | |
G4EquationOfMotion (G4Field *Field) | |
virtual | ~G4EquationOfMotion () |
virtual void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const =0 |
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 | fElectroMagCof |
G4double | fMassCof |
Definition at line 48 of file G4EqMagElectricField.hh.
|
inline |
Definition at line 52 of file G4EqMagElectricField.hh.
|
inline |
Definition at line 55 of file G4EqMagElectricField.hh.
void G4EqMagElectricField::EvaluateRhsGivenB | ( | const G4double | y[], |
const G4double | Field[], | ||
G4double | dydx[] | ||
) | const |
Definition at line 58 of file G4EqMagElectricField.cc.
References fElectroMagCof, and fMassCof.
|
virtual |
Implements G4EquationOfMotion.
Definition at line 46 of file G4EqMagElectricField.cc.
References eplus, fElectroMagCof, fMassCof, and G4ChargeState::GetCharge().
|
private |
Definition at line 69 of file G4EqMagElectricField.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 70 of file G4EqMagElectricField.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().