Geant4  10.01.p03
G4EqEMFieldWithSpin Class Reference

#include <G4EqEMFieldWithSpin.hh>

+ Inheritance diagram for G4EqEMFieldWithSpin:
+ Collaboration diagram for G4EqEMFieldWithSpin:

Public Member Functions

 G4EqEMFieldWithSpin (G4ElectroMagneticField *emField)
 
 ~G4EqEMFieldWithSpin ()
 
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
 
- 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 G4FieldGetFieldObj () const
 
void SetFieldObj (G4Field *pField)
 

Private Attributes

G4double charge
 
G4double mass
 
G4double magMoment
 
G4double spin
 
G4double fElectroMagCof
 
G4double fMassCof
 
G4double omegac
 
G4double anomaly
 
G4double beta
 
G4double gamma
 

Detailed Description

Definition at line 49 of file G4EqEMFieldWithSpin.hh.

Constructor & Destructor Documentation

G4EqEMFieldWithSpin::G4EqEMFieldWithSpin ( G4ElectroMagneticField emField)

Definition at line 45 of file G4EqEMFieldWithSpin.cc.

G4EqEMFieldWithSpin::~G4EqEMFieldWithSpin ( )

Definition at line 52 of file G4EqEMFieldWithSpin.cc.

Member Function Documentation

void G4EqEMFieldWithSpin::EvaluateRhsGivenB ( const G4double  y[],
const G4double  Field[],
G4double  dydx[] 
) const

Definition at line 85 of file G4EqEMFieldWithSpin.cc.

References anomaly, beta, charge, fElectroMagCof, fMassCof, gamma, and omegac.

G4double G4EqEMFieldWithSpin::GetAnomaly ( ) const
inline

Definition at line 68 of file G4EqEMFieldWithSpin.hh.

References anomaly.

void G4EqEMFieldWithSpin::SetAnomaly ( G4double  a)
inline

Definition at line 67 of file G4EqEMFieldWithSpin.hh.

References a, and anomaly.

void G4EqEMFieldWithSpin::SetChargeMomentumMass ( G4ChargeState  particleCharge,
G4double  MomentumXc,
G4double  mass 
)
virtual

Implements G4EquationOfMotion.

Definition at line 57 of file G4EqEMFieldWithSpin.cc.

References anomaly, beta, charge, eplus, fElectroMagCof, fMassCof, gamma, G4ChargeState::GetCharge(), G4ChargeState::GetMagneticDipoleMoment(), G4ChargeState::GetSpin(), magMoment, mass, omegac, spin, and sqr().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4EqEMFieldWithSpin::anomaly
private
G4double G4EqEMFieldWithSpin::beta
private

Definition at line 79 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::charge
private

Definition at line 73 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::fElectroMagCof
private

Definition at line 75 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::fMassCof
private

Definition at line 76 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::gamma
private

Definition at line 79 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::magMoment
private

Definition at line 73 of file G4EqEMFieldWithSpin.hh.

Referenced by SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::mass
private

Definition at line 73 of file G4EqEMFieldWithSpin.hh.

Referenced by SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::omegac
private

Definition at line 78 of file G4EqEMFieldWithSpin.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithSpin::spin
private

Definition at line 73 of file G4EqEMFieldWithSpin.hh.

Referenced by SetChargeMomentumMass().


The documentation for this class was generated from the following files: