Geant4-11
|
#include <G4EqEMFieldWithSpin.hh>
Public Member Functions | |
virtual void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const =0 |
void | EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const |
void | EvaluateRhsReturnB (const G4double y[], G4double dydx[], G4double Field[]) const |
G4EqEMFieldWithSpin (G4ElectroMagneticField *emField) | |
G4double | GetAnomaly () const |
G4Field * | GetFieldObj () |
const G4Field * | GetFieldObj () const |
void | GetFieldValue (const G4double Point[4], G4double Field[]) const |
void | RightHandSide (const G4double y[], G4double dydx[]) const |
void | SetAnomaly (G4double a) |
void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) |
void | SetFieldObj (G4Field *pField) |
~G4EqEMFieldWithSpin () | |
Private Attributes | |
G4double | anomaly |
G4double | beta |
G4double | charge |
G4double | fElectroMagCof |
G4double | fMassCof |
G4double | gamma |
G4Field * | itsField = nullptr |
G4double | magMoment |
G4double | mass |
G4double | omegac |
G4double | spin |
Definition at line 43 of file G4EqEMFieldWithSpin.hh.
G4EqEMFieldWithSpin::G4EqEMFieldWithSpin | ( | G4ElectroMagneticField * | emField | ) |
Definition at line 38 of file G4EqEMFieldWithSpin.cc.
G4EqEMFieldWithSpin::~G4EqEMFieldWithSpin | ( | ) |
Definition at line 45 of file G4EqEMFieldWithSpin.cc.
|
pure virtualinherited |
Implemented in G4ErrorMag_UsualEqRhs, G4Mag_SpinEqRhs, G4Mag_UsualEqRhs, G4KM_NucleonEqRhs, G4KM_OpticalEqRhs, and G4Mag_EqRhs.
Referenced by G4RKG3_Stepper::StepNoErr(), and G4RKG3_Stepper::Stepper().
void G4EqEMFieldWithSpin::EvaluateRhsGivenB | ( | const G4double | y[], |
const G4double | Field[], | ||
G4double | dydx[] | ||
) | const |
Definition at line 78 of file G4EqEMFieldWithSpin.cc.
References anomaly, beta, source.hepunit::c_light, charge, fElectroMagCof, fMassCof, gamma, omegac, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inlineinherited |
Referenced by G4RKG3_Stepper::StepNoErr().
|
inline |
|
inlineinherited |
|
inlineinherited |
Referenced by G4NystromRK4::GetField().
|
inlineinherited |
Referenced by G4BFieldIntegrationDriver::GetFieldValue(), and G4MultiLevelLocator::ReportFieldValue().
|
inlineinherited |
Referenced by G4ModifiedMidpoint::DoStep(), and G4VFSALIntegrationStepper::RightHandSide().
|
inline |
|
virtual |
Implements G4EquationOfMotion.
Definition at line 50 of file G4EqEMFieldWithSpin.cc.
References anomaly, beta, source.hepunit::c_light, source.hepunit::c_squared, charge, eplus, fElectroMagCof, fMassCof, gamma, G4ChargeState::GetCharge(), G4ChargeState::GetMagneticDipoleMoment(), G4ChargeState::GetSpin(), source.hepunit::hbar_Planck, magMoment, mass, omegac, spin, and sqr().
|
inlineinherited |
Referenced by G4FieldManager::SetDetectorField(), and G4NystromRK4::SetDistanceForConstantField().
|
private |
Definition at line 72 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), GetAnomaly(), SetAnomaly(), and SetChargeMomentumMass().
|
private |
Definition at line 73 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 67 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 69 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 70 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 73 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
privateinherited |
Definition at line 90 of file G4EquationOfMotion.hh.
|
private |
Definition at line 67 of file G4EqEMFieldWithSpin.hh.
Referenced by SetChargeMomentumMass().
|
private |
Definition at line 67 of file G4EqEMFieldWithSpin.hh.
Referenced by SetChargeMomentumMass().
|
private |
Definition at line 72 of file G4EqEMFieldWithSpin.hh.
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().
|
private |
Definition at line 67 of file G4EqEMFieldWithSpin.hh.
Referenced by SetChargeMomentumMass().