|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
14 #ifndef DDG4_GEANT4FIELD_H
15 #define DDG4_GEANT4FIELD_H
21 #include <G4ElectroMagneticField.hh>
22 #include <G4MagneticField.hh>
50 virtual void GetFieldValue(
const double pos[4],
double *arr)
const override;
57 #endif // DDG4_GEANT4FIELD_H
Mediator class to allow Geant4 accessing magnetic fields defined in dd4hep.
virtual G4bool DoesFieldChangeEnergy() const override
Does field change energy ?
OverlayedField m_field
Reference to the detector description field.
Class describing a field overlay with several sources.
Geant4Field(OverlayedField field)
Constructor. The sensitive detector element is identified by the detector name.
virtual void GetFieldValue(const double pos[4], double *arr) const override
Access field values at a given point.
virtual ~Geant4Field()
Standard destructor.
Namespace for the AIDA detector description toolkit.
Class of the Geant4 toolkit. See http://www-geant4.kek.jp/Reference.