1#ifndef SIMG4COMMON_DD4HEPFIELD_H
2#define SIMG4COMMON_DD4HEPFIELD_H
5#include "DD4hep/Detector.h"
8#include "G4MagneticField.hh"
28 virtual void GetFieldValue(
const G4double point[4],
double* bField)
const final;
Mediator class between DD4hep overlayed field and Geant4 magnetic field.
Definition DD4hepField.h:18
virtual G4bool DoesFieldChangeEnergy() const
Does field change energy ?
Definition DD4hepField.cpp:23
virtual void GetFieldValue(const G4double point[4], double *bField) const final
Get the value of the magnetic field value at position.
Definition DD4hepField.cpp:8
DD4hepField(dd4hep::OverlayedField field)
Constructor with field required.
Definition DD4hepField.cpp:6
dd4hep::OverlayedField m_field
DD4hep OverlayedField.
Definition DD4hepField.h:35
virtual ~DD4hepField()
Definition DD4hepField.h:23
Definition DD4hepField.h:17