18#include "BDSFieldMagInterpolated4D.hh"
19#include "BDSInterpolator4D.hh"
21#include "G4ThreeVector.hh"
24BDSFieldMagInterpolated4D::BDSFieldMagInterpolated4D(
BDSInterpolator4D* interpolatorIn,
25 const G4Transform3D& offset,
28 interpolator(interpolatorIn)
31BDSFieldMagInterpolated4D::~BDSFieldMagInterpolated4D()
37 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.