Geant4-11
|
#include <G4UniformMagField.hh>
Public Member Functions | |
virtual G4Field * | Clone () const override |
G4bool | DoesFieldChangeEnergy () const |
G4UniformMagField (const G4ThreeVector &FieldVector) | |
G4UniformMagField (const G4UniformMagField &p) | |
G4UniformMagField (G4double vField, G4double vTheta, G4double vPhi) | |
G4ThreeVector | GetConstantFieldValue () const |
virtual void | GetFieldValue (const G4double yTrack[4], G4double *MagField) const override final |
G4bool | IsGravityActive () const |
G4UniformMagField & | operator= (const G4UniformMagField &p) |
void | SetFieldValue (const G4ThreeVector &newFieldValue) |
void | SetGravityActive (G4bool OnOffFlag) |
virtual | ~G4UniformMagField () override |
Static Public Attributes | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Private Attributes | |
G4double | fFieldComponents [3] |
G4bool | fGravityActive = false |
Definition at line 41 of file G4UniformMagField.hh.
G4UniformMagField::G4UniformMagField | ( | const G4ThreeVector & | FieldVector | ) |
Definition at line 34 of file G4UniformMagField.cc.
References fFieldComponents, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Clone().
Definition at line 80 of file G4UniformMagField.cc.
References FatalException, fFieldComponents, G4Exception(), pi, and twopi.
|
overridevirtual |
Definition at line 41 of file G4UniformMagField.cc.
G4UniformMagField::G4UniformMagField | ( | const G4UniformMagField & | p | ) |
Definition at line 45 of file G4UniformMagField.cc.
References fFieldComponents.
|
overridevirtual |
Reimplemented from G4Field.
Definition at line 65 of file G4UniformMagField.cc.
References fFieldComponents, and G4UniformMagField().
|
inlinevirtualinherited |
Implements G4Field.
Definition at line 52 of file G4MagneticField.hh.
Referenced by export_G4MagneticField().
G4ThreeVector G4UniformMagField::GetConstantFieldValue | ( | ) | const |
Definition at line 123 of file G4UniformMagField.cc.
References B(), and fFieldComponents.
Referenced by export_G4UniformMagField(), and G4GlobalMagFieldMessenger::GetFieldValue().
|
finaloverridevirtual |
Implements G4MagneticField.
Definition at line 115 of file G4UniformMagField.cc.
References B(), and fFieldComponents.
|
inlineinherited |
Definition at line 101 of file G4Field.hh.
References G4Field::fGravityActive.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4RepleteEofM::G4RepleteEofM().
G4UniformMagField & G4UniformMagField::operator= | ( | const G4UniformMagField & | p | ) |
Definition at line 54 of file G4UniformMagField.cc.
References fFieldComponents, and G4MagneticField::operator=().
void G4UniformMagField::SetFieldValue | ( | const G4ThreeVector & | newFieldValue | ) |
Definition at line 73 of file G4UniformMagField.cc.
References fFieldComponents, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by export_G4UniformMagField(), and G4GlobalMagFieldMessenger::SetField().
|
inlineinherited |
Definition at line 106 of file G4Field.hh.
References G4Field::fGravityActive.
|
private |
Definition at line 70 of file G4UniformMagField.hh.
Referenced by Clone(), G4UniformMagField(), GetConstantFieldValue(), GetFieldValue(), operator=(), and SetFieldValue().
|
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().