ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4EqGravityField.hh>
Public Member Functions | |
G4EqGravityField (G4UniformGravityField *gField) | |
~G4EqGravityField () | |
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 G4Field * | GetFieldObj () const |
G4Field * | GetFieldObj () |
void | SetFieldObj (G4Field *pField) |
Private Attributes | |
G4double | fMass = 0.0 |
Definition at line 42 of file G4EqGravityField.hh.
View newest version in sPHENIX GitHub at line 42 of file G4EqGravityField.hh
G4EqGravityField::G4EqGravityField | ( | G4UniformGravityField * | gField | ) |
Definition at line 39 of file G4EqGravityField.cc.
View newest version in sPHENIX GitHub at line 39 of file G4EqGravityField.cc
G4EqGravityField::~G4EqGravityField | ( | ) |
Definition at line 44 of file G4EqGravityField.cc.
View newest version in sPHENIX GitHub at line 44 of file G4EqGravityField.cc
void G4EqGravityField::EvaluateRhsGivenB | ( | const G4double | y[], |
const G4double | Field[], | ||
G4double | dydx[] | ||
) | const |
Definition at line 57 of file G4EqGravityField.cc.
View newest version in sPHENIX GitHub at line 57 of file G4EqGravityField.cc
References source.hepunit::c_light, and fMass.
|
virtual |
Implements G4EquationOfMotion.
Definition at line 49 of file G4EqGravityField.cc.
View newest version in sPHENIX GitHub at line 49 of file G4EqGravityField.cc
References fMass.
|
private |
Definition at line 62 of file G4EqGravityField.hh.
View newest version in sPHENIX GitHub at line 62 of file G4EqGravityField.hh
Referenced by EvaluateRhsGivenB(), and SetChargeMomentumMass().