Geant4 VMC Version 6.6
|
The magnetic field defined via TVirtualMagField. More...
#include <TG4MagneticField.h>
Public Member Functions | |
TG4MagneticField (TVirtualMagField *magField) | |
virtual | ~TG4MagneticField () |
virtual void | GetFieldValue (const G4double point[3], G4double *bfield) const |
virtual void | PrintStatistics () const |
Protected Attributes | |
TVirtualMagField * | fVirtualMagField |
The associated TGeo magnetic field. | |
The magnetic field defined via TVirtualMagField.
Definition at line 28 of file TG4MagneticField.h.
TG4MagneticField::TG4MagneticField | ( | TVirtualMagField * | magField | ) |
Default constructor
Definition at line 21 of file TG4MagneticField.cxx.
|
virtual |
Destructor
Definition at line 28 of file TG4MagneticField.cxx.
|
virtual |
Return the bfield values in the given point.
Reimplemented in TG4CachedMagneticField.
Definition at line 38 of file TG4MagneticField.cxx.
|
inlinevirtual |
Reimplemented in TG4CachedMagneticField.
Definition at line 36 of file TG4MagneticField.h.
|
protected |
The associated TGeo magnetic field.
Definition at line 41 of file TG4MagneticField.h.
Referenced by TG4CachedMagneticField::GetFieldValue(), and GetFieldValue().