Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UniformMagField.hh>
Public Member Functions | |
G4UniformMagField (const G4ThreeVector &FieldVector) | |
G4UniformMagField (G4double vField, G4double vTheta, G4double vPhi) | |
~G4UniformMagField () override | |
G4UniformMagField (const G4UniformMagField &p) | |
G4UniformMagField & | operator= (const G4UniformMagField &p) |
void | GetFieldValue (const G4double yTrack[4], G4double *MagField) const override |
void | SetFieldValue (const G4ThreeVector &newFieldValue) |
G4ThreeVector | GetConstantFieldValue () const |
G4Field * | Clone () const override |
Public Member Functions inherited from G4MagneticField | |
G4MagneticField () | |
~G4MagneticField () override | |
G4MagneticField (const G4MagneticField &r) | |
G4MagneticField & | operator= (const G4MagneticField &p) |
G4bool | DoesFieldChangeEnergy () const override |
Public Member Functions inherited from G4Field | |
G4Field (G4bool gravityOn=false) | |
G4Field (const G4Field &) | |
virtual | ~G4Field () |
G4Field & | operator= (const G4Field &p) |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
Additional Inherited Members | |
Static Public Attributes inherited from G4Field | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Definition at line 41 of file G4UniformMagField.hh.
G4UniformMagField::G4UniformMagField | ( | const G4ThreeVector & | FieldVector | ) |
Definition at line 78 of file G4UniformMagField.cc.
|
overridedefault |
G4UniformMagField::G4UniformMagField | ( | const G4UniformMagField & | p | ) |
Definition at line 43 of file G4UniformMagField.cc.
|
overridevirtual |
Reimplemented from G4Field.
Definition at line 63 of file G4UniformMagField.cc.
G4ThreeVector G4UniformMagField::GetConstantFieldValue | ( | ) | const |
Definition at line 121 of file G4UniformMagField.cc.
Referenced by G4GlobalMagFieldMessenger::GetFieldValue().
|
overridevirtual |
Implements G4MagneticField.
Definition at line 113 of file G4UniformMagField.cc.
G4UniformMagField & G4UniformMagField::operator= | ( | const G4UniformMagField & | p | ) |
Definition at line 52 of file G4UniformMagField.cc.
void G4UniformMagField::SetFieldValue | ( | const G4ThreeVector & | newFieldValue | ) |
Definition at line 71 of file G4UniformMagField.cc.