|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4HarmonicPolMagField describes a magnetic field parametrised by harmonic polynom up to 3rd order. More...
#include <G4HarmonicPolMagField.hh>
Public Member Functions | |
| G4HarmonicPolMagField ()=default | |
| ~G4HarmonicPolMagField () override=default | |
| void | GetFieldValue (const G4double yTrack[], G4double B[]) const override |
| G4HarmonicPolMagField * | Clone () const override |
| Public Member Functions inherited from G4MagneticField | |
| G4MagneticField () | |
| ~G4MagneticField () override=default | |
| G4MagneticField (const G4MagneticField &r) | |
| G4MagneticField & | operator= (const G4MagneticField &p) |
| G4bool | DoesFieldChangeEnergy () const override |
| void | GetFieldValue (const G4double Point[4], G4double *Bfield) const override=0 |
| G4FieldType | GetFieldType () const override |
| Public Member Functions inherited from G4Field | |
| G4Field (G4bool gravityOn=false) | |
| virtual | ~G4Field ()=default |
| G4Field (const G4Field &p)=default | |
| 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 |
G4HarmonicPolMagField describes a magnetic field parametrised by harmonic polynom up to 3rd order.
Definition at line 49 of file G4HarmonicPolMagField.hh.
|
default |
Default Constructor and Destructor.
Referenced by Clone(), and ~G4HarmonicPolMagField().
|
overridedefault |
|
overridevirtual |
Returns a pointer to a new allocated clone of this object.
Reimplemented from G4Field.
Definition at line 36 of file G4HarmonicPolMagField.cc.
Returns the field value on the given position 'yTrack'.
| [in] | yTrack | Time position array. |
| [out] | B | The returned field array. |
Definition at line 43 of file G4HarmonicPolMagField.cc.