Belle II Software development
|
Monopole equation of motion class. More...
#include <G4MonopoleEquation.h>
Public Member Functions | |
G4MonopoleEquation (G4MagneticField *mField) | |
Constructor. | |
~G4MonopoleEquation () | |
Destructor. | |
virtual void | SetChargeMomentumMass (G4ChargeState particleChargeState, G4double momentum, G4double mass) |
G4EquationOfMotion::SetChargeMomentumMass() implementation. | |
virtual void | EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const |
Given the value of the electromagnetic field, this function calculates the value of the derivative dydx. | |
Private Attributes | |
G4double | fMagCharge |
Magnetic charge of the monopole, in e+ units. | |
G4double | fElCharge |
Electric charge in case of a dyon. | |
G4double | fMassCof |
Square of the monopole mass. | |
Monopole equation of motion class.
Equation of motion define stepper in G4, which defines chord finder, which is required to perform transportation process.
Definition at line 30 of file G4MonopoleEquation.h.
|
explicit |
Constructor.
mField | Pointer to the field in which the particle will propagate. |
Definition at line 22 of file G4MonopoleEquation.cc.
~G4MonopoleEquation | ( | ) |
|
virtual |
Given the value of the electromagnetic field, this function calculates the value of the derivative dydx.
y | y[6]: 0-2 dr/ds - velocity, 3-5 dp/ds - momentum derivatives. |
Field | Field[3]: Field components. |
dydx | dydx[8]: Where to store results. |
Definition at line 46 of file G4MonopoleEquation.cc.
|
virtual |
G4EquationOfMotion::SetChargeMomentumMass() implementation.
Reads particle properties for equation of motion definition.
particleChargeState | Charge information about the particle. Luckily, G4ChargeState have magnetic charge member variable. Magnetic charge is taken from it in e+ untis. |
momentum | This argument of base function is ignored. |
mass | Mass of the particle. |
Definition at line 30 of file G4MonopoleEquation.cc.
|
private |
Electric charge in case of a dyon.
Definition at line 74 of file G4MonopoleEquation.h.
|
private |
Magnetic charge of the monopole, in e+ units.
Definition at line 73 of file G4MonopoleEquation.h.
|
private |
Square of the monopole mass.
Definition at line 75 of file G4MonopoleEquation.h.