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

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

+ Inheritance diagram for G4RepleteEofM:
+ Collaboration diagram for G4RepleteEofM:

Public Member Functions

 G4RepleteEofM (G4Field *, G4int nvar=8)
 
 ~G4RepleteEofM ()
 
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 SetBField ()
 
void SetEField ()
 
void SetgradB ()
 
void SetSpin ()
 
- 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

G4int fNvar = 0
 
G4bool fBfield =false
 
G4bool fEfield =false
 
G4bool fGfield =false
 
G4bool fgradB =false
 
G4bool fSpin =false
 
G4double charge =0.0
 
G4double mass =0.0
 
G4double magMoment =0.0
 
G4double spin =0.0
 
G4double ElectroMagCof =0.0
 
G4double omegac =0.0
 
G4double anomaly =0.0
 
G4double beta =0.0
 
G4double gamma =0.0
 

Detailed Description

Definition at line 44 of file G4RepleteEofM.hh.

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

Constructor & Destructor Documentation

G4RepleteEofM::G4RepleteEofM ( G4Field field,
G4int  nvar = 8 
)

Definition at line 40 of file G4RepleteEofM.cc.

View newest version in sPHENIX GitHub at line 40 of file G4RepleteEofM.cc

References fGfield, and G4Field::IsGravityActive().

+ Here is the call graph for this function:

G4RepleteEofM::~G4RepleteEofM ( )

Definition at line 46 of file G4RepleteEofM.cc.

View newest version in sPHENIX GitHub at line 46 of file G4RepleteEofM.cc

Member Function Documentation

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

Definition at line 77 of file G4RepleteEofM.cc.

View newest version in sPHENIX GitHub at line 77 of file G4RepleteEofM.cc

References anomaly, beta, source.hepunit::c_light, charge, CLHEP::Hep3Vector::cross(), ElectroMagCof, F, fBfield, fEfield, fGfield, fgradB, fNvar, fSpin, gamma, CLHEP::Hep3Vector::mag2(), magMoment, mass, omegac, Acts::UnitConstants::u, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

G4double G4RepleteEofM::GetAnomaly ( ) const
inline

Definition at line 62 of file G4RepleteEofM.hh.

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

References anomaly.

void G4RepleteEofM::SetAnomaly ( G4double  a)
inline

Definition at line 61 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 61 of file G4RepleteEofM.hh

References a, and anomaly.

void G4RepleteEofM::SetBField ( )
inline

Definition at line 65 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 65 of file G4RepleteEofM.hh

References fBfield.

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

Implements G4EquationOfMotion.

Definition at line 51 of file G4RepleteEofM.cc.

View newest version in sPHENIX GitHub at line 51 of file G4RepleteEofM.cc

References kdfinder::abs(), anomaly, beta, source.hepunit::c_light, source.hepunit::c_squared, charge, E, ElectroMagCof, eplus, 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 G4RepleteEofM::SetEField ( )
inline

Definition at line 66 of file G4RepleteEofM.hh.

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

References fEfield.

void G4RepleteEofM::SetgradB ( )
inline

Definition at line 67 of file G4RepleteEofM.hh.

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

References fgradB.

void G4RepleteEofM::SetSpin ( )
inline

Definition at line 68 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 68 of file G4RepleteEofM.hh

References fSpin.

Member Data Documentation

G4double G4RepleteEofM::anomaly =0.0
private

Definition at line 81 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 81 of file G4RepleteEofM.hh

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

G4double G4RepleteEofM::beta =0.0
private

Definition at line 82 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 82 of file G4RepleteEofM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::charge =0.0
private

Definition at line 77 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::ElectroMagCof =0.0
private

Definition at line 79 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 79 of file G4RepleteEofM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4bool G4RepleteEofM::fBfield =false
private

Definition at line 74 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetBField().

G4bool G4RepleteEofM::fEfield =false
private

Definition at line 74 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetEField().

G4bool G4RepleteEofM::fGfield =false
private

Definition at line 75 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and G4RepleteEofM().

G4bool G4RepleteEofM::fgradB =false
private

Definition at line 75 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetgradB().

G4int G4RepleteEofM::fNvar = 0
private

Definition at line 72 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB().

G4bool G4RepleteEofM::fSpin =false
private

Definition at line 75 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetSpin().

G4double G4RepleteEofM::gamma =0.0
private

Definition at line 82 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 82 of file G4RepleteEofM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::magMoment =0.0
private

Definition at line 77 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::mass =0.0
private

Definition at line 77 of file G4RepleteEofM.hh.

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

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::omegac =0.0
private

Definition at line 81 of file G4RepleteEofM.hh.

View newest version in sPHENIX GitHub at line 81 of file G4RepleteEofM.hh

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4RepleteEofM::spin =0.0
private

Definition at line 77 of file G4RepleteEofM.hh.

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

Referenced by SetChargeMomentumMass().


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