Geant4  10.00.p01
G4Mag_SpinEqRhs Class Reference

#include <G4Mag_SpinEqRhs.hh>

+ Inheritance diagram for G4Mag_SpinEqRhs:
+ Collaboration diagram for G4Mag_SpinEqRhs:

Public Member Functions

 G4Mag_SpinEqRhs (G4MagneticField *MagField)
 
 ~G4Mag_SpinEqRhs ()
 
void SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass)
 
void EvaluateRhsGivenB (const G4double y[], const G4double B[3], G4double dydx[]) const
 
void SetAnomaly (G4double a)
 
G4double GetAnomaly () const
 
- Public Member Functions inherited from G4Mag_EqRhs
 G4Mag_EqRhs (G4MagneticField *magField)
 
virtual ~G4Mag_EqRhs ()
 
G4double FCof () const
 
- Public Member Functions inherited from G4EquationOfMotion
 G4EquationOfMotion (G4Field *Field)
 
virtual ~G4EquationOfMotion ()
 
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 omegac
 
G4double anomaly
 
G4double beta
 
G4double gamma
 

Detailed Description

Definition at line 51 of file G4Mag_SpinEqRhs.hh.

Constructor & Destructor Documentation

G4Mag_SpinEqRhs::G4Mag_SpinEqRhs ( G4MagneticField MagField)

Definition at line 45 of file G4Mag_SpinEqRhs.cc.

G4Mag_SpinEqRhs::~G4Mag_SpinEqRhs ( )

Definition at line 51 of file G4Mag_SpinEqRhs.cc.

Member Function Documentation

void G4Mag_SpinEqRhs::EvaluateRhsGivenB ( const G4double  y[],
const G4double  B[3],
G4double  dydx[] 
) const
virtual

Implements G4Mag_EqRhs.

Definition at line 83 of file G4Mag_SpinEqRhs.cc.

References anomaly, beta, charge, G4Mag_EqRhs::FCof(), gamma, omegac, and sqr().

+ Here is the call graph for this function:

G4double G4Mag_SpinEqRhs::GetAnomaly ( ) const
inline

Definition at line 70 of file G4Mag_SpinEqRhs.hh.

References anomaly.

void G4Mag_SpinEqRhs::SetAnomaly ( G4double  a)
inline

Definition at line 69 of file G4Mag_SpinEqRhs.hh.

References a, and anomaly.

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

Reimplemented from G4Mag_EqRhs.

Definition at line 56 of file G4Mag_SpinEqRhs.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

G4double G4Mag_SpinEqRhs::anomaly
private
G4double G4Mag_SpinEqRhs::beta
private

Definition at line 79 of file G4Mag_SpinEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::charge
private

Definition at line 75 of file G4Mag_SpinEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::gamma
private

Definition at line 79 of file G4Mag_SpinEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::magMoment
private

Definition at line 75 of file G4Mag_SpinEqRhs.hh.

Referenced by SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::mass
private

Definition at line 75 of file G4Mag_SpinEqRhs.hh.

Referenced by SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::omegac
private

Definition at line 77 of file G4Mag_SpinEqRhs.hh.

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4Mag_SpinEqRhs::spin
private

Definition at line 75 of file G4Mag_SpinEqRhs.hh.

Referenced by SetChargeMomentumMass().


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