19#ifndef BDSFIELDEINTERPOLATED1D_H
20#define BDSFIELDEINTERPOLATED1D_H
22#include "BDSFieldEInterpolated.hh"
24#include "G4ThreeVector.hh"
25#include "G4Transform3D.hh"
45 const G4Transform3D& offset = G4Transform3D::Identity,
46 G4double eScalingIn = 1.0);
51 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
52 const G4double t = 0)
const;
A 1D field from an interpolated array with any interpolation.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Return the interpolated field value at a given point.
const G4bool time
Cache of whether to use time coordinate.
const G4int dimensionIndex
Integer index to dimension to use.
BDSInterpolator1D * interpolator
Interpolator the field is based on.
Class to provide scaling and a base class pointer for interpolator fields.
Interface for all 1D interpolators.