19#include "BDSFieldMagInterpolated4D.hh"
20#include "BDSInterpolator4D.hh"
22#include "G4ThreeVector.hh"
25BDSFieldMagInterpolated4D::BDSFieldMagInterpolated4D(
BDSInterpolator4D* interpolatorIn,
26 const G4Transform3D& offset,
29 interpolator(interpolatorIn)
32BDSFieldMagInterpolated4D::~BDSFieldMagInterpolated4D()
38 const G4double t)
const
BDSInterpolator4D * interpolator
Interpolator the field is based on.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t) const
Return the interpolated field value at a given point.
Class to provide scaling and a base class pointer for interpolator fields.
Interface for all 4D interpolators.
G4ThreeVector GetInterpolatedValue(G4double x, G4double y, G4double z, G4double t) const
Public interface to a 4D interpolator. Returns Geant4 type as that's what will be needed.