Geant4 11.2.2
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.
|
default |
|
virtualdefault |
|
virtual |
Reimplemented in G4CachedMagneticField, G4DELPHIMagField, G4HarmonicPolMagField, G4KM_DummyField, G4LineCurrentMagField, G4QuadrupoleMagField, G4SextupoleMagField, G4TCachedMagneticField< T_Field >, G4TQuadrupoleMagField, G4TUniformMagneticField, G4UniformElectricField, G4UniformGravityField, and G4UniformMagField.
Definition at line 49 of file G4Field.cc.
Referenced by G4CachedMagneticField::Clone(), and G4FieldManager::Clone().
|
pure virtual |
Implemented in G4ElectricField, G4ElectroMagneticField, G4MagneticField, and G4UniformGravityField.
Referenced by G4FieldManager::G4FieldManager().
|
pure virtual |
Implemented in G4CachedMagneticField, G4ElectricField, G4ElectroMagneticField, G4MagneticField, G4TCachedMagneticField< T_Field >, G4TUniformMagneticField, G4UniformElectricField, G4UniformGravityField, 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 40 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.