Belle II Software development
|
The Class for the Belle2 magnetic field implementation for Geant4. More...
#include <MagneticField.h>
Public Member Functions | |
MagneticField () | |
Constructor. | |
~MagneticField () | |
Destructor. | |
void | GetFieldValue (const G4double Point[3], G4double *Bfield) const |
Sets the magnetic field vector for a specified space point. | |
The Class for the Belle2 magnetic field implementation for Geant4.
The Geant4 simulation uses the central magnetic field map implementation of the basf2 framework to return the magnetic field vector for a space point.
Definition at line 28 of file MagneticField.h.
MagneticField | ( | ) |
~MagneticField | ( | ) |
void GetFieldValue | ( | const G4double | Point[3], |
G4double * | Bfield | ||
) | const |
Sets the magnetic field vector for a specified space point.
Point | An array specifying the space point (x,y,z) in [mm]. |
Bfield | Returns the magnetic field vector in tesla. |
Definition at line 33 of file MagneticField.cc.