18#ifndef BDSFIELDEINTERPOLATED4D_H
19#define BDSFIELDEINTERPOLATED4D_H
20#include "BDSFieldEInterpolated.hh"
22#include "G4ThreeVector.hh"
23#include "G4Transform3D.hh"
44 const G4Transform3D& offset = G4Transform3D::Identity,
45 G4double eScalingIn = 1.0);
50 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
51 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.