Geant4-11
|
#include <G4UniformGravityField.hh>
Public Member Functions | |
virtual G4Field * | Clone () const |
G4bool | DoesFieldChangeEnergy () const |
G4UniformGravityField (const G4double gy=-9.81 *CLHEP::m/CLHEP::s/CLHEP::s) | |
G4UniformGravityField (const G4ThreeVector &FieldVector) | |
G4UniformGravityField (const G4UniformGravityField &p) | |
virtual void | GetFieldValue (const G4double Point[4], G4double *field) const |
G4bool | IsGravityActive () const |
G4UniformGravityField & | operator= (const G4UniformGravityField &p) |
void | SetGravityActive (G4bool OnOffFlag) |
virtual | ~G4UniformGravityField () |
Static Public Attributes | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Private Attributes | |
G4double | fFieldComponents [3] |
G4bool | fGravityActive = false |
Definition at line 44 of file G4UniformGravityField.hh.
G4UniformGravityField::G4UniformGravityField | ( | const G4ThreeVector & | FieldVector | ) |
Definition at line 38 of file G4UniformGravityField.cc.
References fFieldComponents, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Clone().
G4UniformGravityField::G4UniformGravityField | ( | const G4double | gy = -9.81*CLHEP::m/CLHEP::s/CLHEP::s | ) |
Definition at line 47 of file G4UniformGravityField.cc.
References fFieldComponents.
|
virtual |
Definition at line 55 of file G4UniformGravityField.cc.
G4UniformGravityField::G4UniformGravityField | ( | const G4UniformGravityField & | p | ) |
Definition at line 59 of file G4UniformGravityField.cc.
References fFieldComponents.
|
virtual |
Reimplemented from G4Field.
Definition at line 80 of file G4UniformGravityField.cc.
References fFieldComponents, and G4UniformGravityField().
|
inlinevirtual |
|
virtual |
Implements G4Field.
Definition at line 89 of file G4UniformGravityField.cc.
References fFieldComponents.
|
inlineinherited |
Definition at line 101 of file G4Field.hh.
References G4Field::fGravityActive.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4RepleteEofM::G4RepleteEofM().
G4UniformGravityField & G4UniformGravityField::operator= | ( | const G4UniformGravityField & | p | ) |
Definition at line 69 of file G4UniformGravityField.cc.
References fFieldComponents, and G4Field::operator=().
|
inlineinherited |
Definition at line 106 of file G4Field.hh.
References G4Field::fGravityActive.
|
private |
Definition at line 69 of file G4UniformGravityField.hh.
Referenced by Clone(), G4UniformGravityField(), GetFieldValue(), and operator=().
|
privateinherited |
Definition at line 96 of file G4Field.hh.
Referenced by G4Field::IsGravityActive(), G4Field::operator=(), and G4Field::SetGravityActive().
|
staticconstexprinherited |
Definition at line 92 of file G4Field.hh.
Referenced by G4BFieldIntegrationDriver::CurvatureRadius().