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

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

+ Inheritance diagram for G4EqMagElectricField:
+ Collaboration diagram for G4EqMagElectricField:

Public Member Functions

 G4EqMagElectricField (G4ElectroMagneticField *emField)
 
 ~G4EqMagElectricField ()
 
void SetChargeMomentumMass (G4ChargeState particleCharge, G4double MomentumXc, G4double mass)
 
void EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) 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 fElectroMagCof = 0.0
 
G4double fMassCof = 0.0
 

Detailed Description

Definition at line 42 of file G4EqMagElectricField.hh.

View newest version in sPHENIX GitHub at line 42 of file G4EqMagElectricField.hh

Constructor & Destructor Documentation

G4EqMagElectricField::G4EqMagElectricField ( G4ElectroMagneticField emField)

Definition at line 42 of file G4EqMagElectricField.cc.

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

G4EqMagElectricField::~G4EqMagElectricField ( )

Definition at line 47 of file G4EqMagElectricField.cc.

View newest version in sPHENIX GitHub at line 47 of file G4EqMagElectricField.cc

Member Function Documentation

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

Definition at line 62 of file G4EqMagElectricField.cc.

View newest version in sPHENIX GitHub at line 62 of file G4EqMagElectricField.cc

References source.hepunit::c_light, fElectroMagCof, and fMassCof.

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

Implements G4EquationOfMotion.

Definition at line 52 of file G4EqMagElectricField.cc.

View newest version in sPHENIX GitHub at line 52 of file G4EqMagElectricField.cc

References source.hepunit::c_light, eplus, fElectroMagCof, fMassCof, and G4ChargeState::GetCharge().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4EqMagElectricField::fElectroMagCof = 0.0
private

Definition at line 62 of file G4EqMagElectricField.hh.

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

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().

G4double G4EqMagElectricField::fMassCof = 0.0
private

Definition at line 63 of file G4EqMagElectricField.hh.

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

Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().


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