|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4ErrorMag_UsualEqRhs serves to reverse the magnetic field when propagation is backwards. It is used for error propagation. More...
#include <G4ErrorMag_UsualEqRhs.hh>
Public Member Functions | |
| G4ErrorMag_UsualEqRhs (G4MagneticField *MagField) | |
| ~G4ErrorMag_UsualEqRhs () override=default | |
| void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const override |
| Public Member Functions inherited from G4Mag_UsualEqRhs | |
| G4Mag_UsualEqRhs (G4MagneticField *MagField) | |
| ~G4Mag_UsualEqRhs () override=default | |
| void | EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const override |
| void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) override |
| G4EquationType | GetEquationType () const override |
| Public Member Functions inherited from G4Mag_EqRhs | |
| G4Mag_EqRhs (G4MagneticField *magField) | |
| ~G4Mag_EqRhs () override=default | |
| G4double | FCof () const |
| Public Member Functions inherited from G4EquationOfMotion | |
| G4EquationOfMotion (G4Field *Field) | |
| virtual | ~G4EquationOfMotion ()=default |
| 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 |
| G4Field * | GetFieldObj () |
| void | SetFieldObj (G4Field *pField) |
G4ErrorMag_UsualEqRhs serves to reverse the magnetic field when propagation is backwards. It is used for error propagation.
Definition at line 46 of file G4ErrorMag_UsualEqRhs.hh.
| G4ErrorMag_UsualEqRhs::G4ErrorMag_UsualEqRhs | ( | G4MagneticField * | MagField | ) |
Constructor for G4ErrorMag_UsualEqRhs.
| [in] | MagField | Pointer to the magnetic field. |
Definition at line 36 of file G4ErrorMag_UsualEqRhs.cc.
|
overridedefault |
Default Destructor.
|
overridevirtual |
Calculates the value of the derivative, given the value of the magnetic field. Reverses dedx if propagation is backwards.
| [in] | y | Coefficients array. |
| [in] | B | Field value. |
| [out] | dydx | Derivatives array. |
Implements G4Mag_EqRhs.
Definition at line 44 of file G4ErrorMag_UsualEqRhs.cc.