Geant4 11.1.1
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) | |
virtual | ~G4UniformMagField () override |
G4UniformMagField (const G4UniformMagField &p) | |
G4UniformMagField & | operator= (const G4UniformMagField &p) |
virtual void | GetFieldValue (const G4double yTrack[4], G4double *MagField) const override final |
void | SetFieldValue (const G4ThreeVector &newFieldValue) |
G4ThreeVector | GetConstantFieldValue () const |
virtual G4Field * | Clone () const override |
Public Member Functions inherited from G4MagneticField | |
G4MagneticField () | |
virtual | ~G4MagneticField () |
G4MagneticField (const G4MagneticField &r) | |
G4MagneticField & | operator= (const G4MagneticField &p) |
G4bool | DoesFieldChangeEnergy () const |
virtual void | GetFieldValue (const G4double Point[4], G4double *Bfield) const =0 |
Public Member Functions inherited from G4Field | |
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 |
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 34 of file G4UniformMagField.cc.
Definition at line 80 of file G4UniformMagField.cc.
|
overridevirtual |
Definition at line 41 of file G4UniformMagField.cc.
G4UniformMagField::G4UniformMagField | ( | const G4UniformMagField & | p | ) |
Definition at line 45 of file G4UniformMagField.cc.
|
overridevirtual |
Reimplemented from G4Field.
Definition at line 65 of file G4UniformMagField.cc.
G4ThreeVector G4UniformMagField::GetConstantFieldValue | ( | ) | const |
Definition at line 123 of file G4UniformMagField.cc.
Referenced by G4GlobalMagFieldMessenger::GetFieldValue().
|
finaloverridevirtual |
Implements G4MagneticField.
Definition at line 115 of file G4UniformMagField.cc.
G4UniformMagField & G4UniformMagField::operator= | ( | const G4UniformMagField & | p | ) |
Definition at line 54 of file G4UniformMagField.cc.
void G4UniformMagField::SetFieldValue | ( | const G4ThreeVector & | newFieldValue | ) |
Definition at line 73 of file G4UniformMagField.cc.