#include <G4Field.hh>
Inheritance diagram for G4Field:
Public Member Functions | |
virtual void | GetFieldValue (const double Point[4], double *fieldArr) const =0 |
G4Field (G4bool gravityOn=false) | |
G4Field (const G4Field &) | |
virtual | ~G4Field () |
G4Field & | operator= (const G4Field &p) |
virtual G4bool | DoesFieldChangeEnergy () const =0 |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
Definition at line 64 of file G4Field.hh.
G4Field::G4Field | ( | G4bool | gravityOn = false |
) |
G4Field::G4Field | ( | const G4Field & | ) |
G4Field::~G4Field | ( | ) | [virtual] |
virtual G4bool G4Field::DoesFieldChangeEnergy | ( | ) | const [pure virtual] |
Implemented in G4ElectricField, G4ElectroMagneticField, G4MagneticField, and G4UniformGravityField.
Referenced by G4FieldManager::G4FieldManager(), and G4FieldManager::SetDetectorField().
virtual void G4Field::GetFieldValue | ( | const double | Point[4], | |
double * | fieldArr | |||
) | const [pure virtual] |
Implemented in G4CachedMagneticField, G4ElectricField, G4ElectroMagneticField, G4MagneticField, G4UniformElectricField, G4UniformGravityField, and G4UniformMagField.
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4QSynchRad::GetRadius(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), and G4ErrorFreeTrajState::PropagateError().
G4bool G4Field::IsGravityActive | ( | ) | const [inline] |
Definition at line 97 of file G4Field.hh.
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), and G4CoupledTransportation::AlongStepGetPhysicalInteractionLength().
Definition at line 42 of file G4Field.cc.
References fGravityActive.
00043 { 00044 if (&p == this) return *this; 00045 fGravityActive= p.fGravityActive; 00046 return *this; 00047 }
void G4Field::SetGravityActive | ( | G4bool | OnOffFlag | ) | [inline] |