DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Mediator class to allow Geant4 accessing magnetic fields defined in dd4hep. More...
#include <Geant4Field.h>
Public Member Functions | |
Geant4Field (OverlayedField field) | |
Constructor. The sensitive detector element is identified by the detector name. More... | |
virtual | ~Geant4Field () |
Standard destructor. More... | |
virtual void | GetFieldValue (const double pos[4], double *arr) const override |
Access field values at a given point. More... | |
virtual G4bool | DoesFieldChangeEnergy () const override |
Does field change energy ? More... | |
Protected Attributes | |
OverlayedField | m_field |
Reference to the detector description field. More... | |
Mediator class to allow Geant4 accessing magnetic fields defined in dd4hep.
Definition at line 39 of file Geant4Field.h.
|
inline |
Constructor. The sensitive detector element is identified by the detector name.
Definition at line 46 of file Geant4Field.h.
|
inlinevirtual |
Standard destructor.
Definition at line 48 of file Geant4Field.h.
|
overridevirtual |
Does field change energy ?
Definition at line 22 of file Geant4Field.cpp.
|
overridevirtual |
Access field values at a given point.
Definition at line 26 of file Geant4Field.cpp.
|
protected |
Reference to the detector description field.
Definition at line 42 of file Geant4Field.h.