19#ifndef BDSFIELDEMINTERPOLATED1D_H
20#define BDSFIELDEMINTERPOLATED1D_H
21#include "BDSFieldEMInterpolated.hh"
23#include "G4ThreeVector.hh"
24#include "G4Transform3D.hh"
48 const G4Transform3D& offset = G4Transform3D::Identity,
49 G4double eScalingIn = 1.0,
50 G4double bScalingIn = 1.0);
55 virtual std::pair<G4ThreeVector,G4ThreeVector>
GetField(
const G4ThreeVector& position,
56 const G4double t = 0)
const;
A 1D field from an interpolated array with any interpolation.
BDSInterpolator1D * eInterpolator
E Inteprolator the field is based on.
virtual std::pair< G4ThreeVector, G4ThreeVector > GetField(const G4ThreeVector &position, const G4double t=0) const
Return the interpolated field value at a given point.
const G4bool eTime
E Cache of whether to use time coordinate.
const G4bool bTime
B Cache of whether to use time coordinate.
const G4int bDimensionIndex
B Integer index to dimension to use.
BDSInterpolator1D * bInterpolator
B Interpolator the field is based on.
const G4int eDimensionIndex
E Integer index to dimension to use.
Class to provide scaling and a base class pointer for interpolator fields.
Interface for all 1D interpolators.