#include <G4EqEMFieldWithEDM.hh>
|
| G4EqEMFieldWithEDM (G4ElectroMagneticField *emField) |
|
| ~G4EqEMFieldWithEDM () |
|
void | SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass) |
|
void | EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const |
|
void | SetAnomaly (G4double a) |
|
G4double | GetAnomaly () const |
|
void | SetEta (G4double n) |
|
G4double | GetEta () const |
|
| 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) |
|
Definition at line 50 of file G4EqEMFieldWithEDM.hh.
◆ G4EqEMFieldWithEDM()
◆ ~G4EqEMFieldWithEDM()
G4EqEMFieldWithEDM::~G4EqEMFieldWithEDM |
( |
| ) |
|
◆ EvaluateRhsGivenB()
Definition at line 85 of file G4EqEMFieldWithEDM.cc.
121 G4double pModuleInverse = 1.0/std::sqrt(pSquared) ;
127 dydx[0] = y[3]*pModuleInverse ;
128 dydx[1] = y[4]*pModuleInverse ;
129 dydx[2] = y[5]*pModuleInverse ;
131 dydx[3] = cof1*(cof2*Field[3] + (y[4]*Field[2] - y[5]*Field[1])) ;
133 dydx[4] = cof1*(cof2*Field[4] + (
y[5]*Field[0] -
y[3]*Field[2])) ;
135 dydx[5] = cof1*(cof2*Field[5] + (
y[3]*Field[1] -
y[4]*Field[0])) ;
137 dydx[6] = dydx[8] = 0.;
140 dydx[7] = inverse_velocity;
158 if (
charge == 0.) pcharge = 1.;
162 if (Spin.mag2() != 0.) {
164 pcharge*
omegac*( ucb*(Spin.cross(BField))-udb*(Spin.cross(u))
168 - uce*(u*(Spin*EField) - EField*(Spin*u))
169 +
eta/2.*(Spin.cross(EField) - ude*(Spin.cross(u))
171 + (u*(Spin*BField) - BField*(Spin*u)) ) );
174 dydx[ 9] = dSpin.x();
175 dydx[10] = dSpin.y();
176 dydx[11] = dSpin.z();
◆ GetAnomaly()
G4double G4EqEMFieldWithEDM::GetAnomaly |
( |
| ) |
const |
|
inline |
◆ GetEta()
G4double G4EqEMFieldWithEDM::GetEta |
( |
| ) |
const |
|
inline |
◆ SetAnomaly()
void G4EqEMFieldWithEDM::SetAnomaly |
( |
G4double |
a | ) |
|
|
inline |
◆ SetChargeMomentumMass()
◆ SetEta()
void G4EqEMFieldWithEDM::SetEta |
( |
G4double |
n | ) |
|
|
inline |
◆ anomaly
◆ beta
◆ charge
◆ eta
◆ fElectroMagCof
G4double G4EqEMFieldWithEDM::fElectroMagCof |
|
private |
◆ fMassCof
◆ gamma
◆ magMoment
◆ mass
◆ omegac
◆ spin
The documentation for this class was generated from the following files: