19#ifndef BDSFIELDMAGINTERPOLATED4D_H
20#define BDSFIELDMAGINTERPOLATED4D_H
21#include "BDSFieldMagInterpolated.hh"
23#include "G4ThreeVector.hh"
24#include "G4Transform3D.hh"
45 const G4Transform3D& offset = G4Transform3D::Identity,
46 G4double scalingIn = 1.0);
51 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
52 const G4double t)
const;
A 4D field from an interpolated array with any interpolation.
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.