Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4Field.hh>
Public Member Functions | |
G4Field (G4bool gravityOn=false) | |
G4Field (const G4Field &) | |
virtual | ~G4Field () |
G4Field & | operator= (const G4Field &p) |
virtual void | GetFieldValue (const G4double Point[4], G4double *fieldArr) const =0 |
virtual G4bool | DoesFieldChangeEnergy () const =0 |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
virtual G4Field * | Clone () const |
Static Public Attributes | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Definition at line 55 of file G4Field.hh.
G4Field::G4Field | ( | G4bool | gravityOn = false | ) |
Definition at line 33 of file G4Field.cc.
G4Field::G4Field | ( | const G4Field & | p | ) |
Definition at line 49 of file G4Field.cc.
|
virtual |
Definition at line 38 of file G4Field.cc.
|
virtual |
Reimplemented in G4CachedMagneticField, G4DELPHIMagField, G4HarmonicPolMagField, G4LineCurrentMagField, G4QuadrupoleMagField, G4SextupoleMagField, G4TCachedMagneticField< T_Field >, G4TQuadrupoleMagField, G4TUniformMagneticField, G4UniformElectricField, G4UniformGravityField, G4KM_DummyField, and G4UniformMagField.
Definition at line 54 of file G4Field.cc.
Referenced by G4CachedMagneticField::Clone(), and G4FieldManager::Clone().
|
pure virtual |
Implemented in G4ElectricField, G4MagneticField, G4UniformGravityField, and G4ElectroMagneticField.
Referenced by G4FieldManager::G4FieldManager().
|
pure virtual |
Implemented in G4CachedMagneticField, G4TCachedMagneticField< T_Field >, G4ElectricField, G4ElectroMagneticField, G4MagneticField, G4UniformGravityField, G4UniformElectricField, G4TUniformMagneticField, and G4UniformMagField.
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ElectricFieldModel::GetFieldAtLocation(), G4MagneticFieldModel::GetFieldAtLocation(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), and G4ErrorFreeTrajState::PropagateError().
|
inline |
Definition at line 101 of file G4Field.hh.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4RepleteEofM::G4RepleteEofM().
Definition at line 42 of file G4Field.cc.
Referenced by G4ElectroMagneticField::operator=(), G4MagneticField::operator=(), and G4UniformGravityField::operator=().
|
inline |
Definition at line 106 of file G4Field.hh.
|
staticconstexpr |
Definition at line 92 of file G4Field.hh.