ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EqEMFieldWithEDM Class Reference

#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4EqEMFieldWithEDM.hh>

+ Inheritance diagram for G4EqEMFieldWithEDM:
+ Collaboration diagram for G4EqEMFieldWithEDM:

Public Member Functions

 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
 
- 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
 
G4FieldGetFieldObj ()
 
void SetFieldObj (G4Field *pField)
 

Private Attributes

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

Detailed Description

Definition at line 44 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 44 of file G4EqEMFieldWithEDM.hh

Constructor & Destructor Documentation

G4EqEMFieldWithEDM::G4EqEMFieldWithEDM ( G4ElectroMagneticField emField)

Definition at line 42 of file G4EqEMFieldWithEDM.cc.

View newest version in sPHENIX GitHub at line 42 of file G4EqEMFieldWithEDM.cc

G4EqEMFieldWithEDM::~G4EqEMFieldWithEDM ( )

Definition at line 49 of file G4EqEMFieldWithEDM.cc.

View newest version in sPHENIX GitHub at line 49 of file G4EqEMFieldWithEDM.cc

Member Function Documentation

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

Definition at line 82 of file G4EqEMFieldWithEDM.cc.

View newest version in sPHENIX GitHub at line 82 of file G4EqEMFieldWithEDM.cc

References anomaly, beta, source.hepunit::c_light, charge, CLHEP::Hep3Vector::cross(), eta, fElectroMagCof, fMassCof, gamma, CLHEP::Hep3Vector::mag2(), omegac, Acts::UnitConstants::u, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

G4double G4EqEMFieldWithEDM::GetAnomaly ( ) const
inline

Definition at line 63 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 63 of file G4EqEMFieldWithEDM.hh

References anomaly.

G4double G4EqEMFieldWithEDM::GetEta ( ) const
inline

Definition at line 67 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 67 of file G4EqEMFieldWithEDM.hh

References eta.

void G4EqEMFieldWithEDM::SetAnomaly ( G4double  a)
inline

Definition at line 62 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 62 of file G4EqEMFieldWithEDM.hh

References a, and anomaly.

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

Implements G4EquationOfMotion.

Definition at line 54 of file G4EqEMFieldWithEDM.cc.

View newest version in sPHENIX GitHub at line 54 of file G4EqEMFieldWithEDM.cc

References kdfinder::abs(), anomaly, beta, source.hepunit::c_light, source.hepunit::c_squared, charge, E, eplus, fElectroMagCof, fMassCof, gamma, G4ChargeState::GetCharge(), G4ChargeState::GetMagneticDipoleMoment(), G4ChargeState::GetSpin(), source.hepunit::hbar_Planck, magMoment, mass, omegac, spin, and sqr().

+ Here is the call graph for this function:

void G4EqEMFieldWithEDM::SetEta ( G4double  n)
inline

Definition at line 66 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 66 of file G4EqEMFieldWithEDM.hh

References eta, and n.

Member Data Documentation

G4double G4EqEMFieldWithEDM::anomaly
private

Definition at line 77 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 77 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), GetAnomaly(), SetAnomaly(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::beta
private

Definition at line 78 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 78 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::charge
private

Definition at line 72 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 72 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::eta
private

Definition at line 77 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 77 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), GetEta(), and SetEta().

G4double G4EqEMFieldWithEDM::fElectroMagCof
private

Definition at line 74 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 74 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::fMassCof
private

Definition at line 75 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 75 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::gamma
private

Definition at line 78 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 78 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::magMoment
private

Definition at line 72 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 72 of file G4EqEMFieldWithEDM.hh

Referenced by SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::mass
private

Definition at line 72 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 72 of file G4EqEMFieldWithEDM.hh

Referenced by SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::omegac
private

Definition at line 77 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 77 of file G4EqEMFieldWithEDM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqEMFieldWithEDM::spin
private

Definition at line 72 of file G4EqEMFieldWithEDM.hh.

View newest version in sPHENIX GitHub at line 72 of file G4EqEMFieldWithEDM.hh

Referenced by SetChargeMomentumMass().


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