19#ifndef BDSFIELDEMINTERPOLATED4D_H
20#define BDSFIELDEMINTERPOLATED4D_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 4D field from an interpolated array with any interpolation.
BDSInterpolator4D * eInterpolator
E Interpolator 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.
BDSInterpolator4D * bInterpolator
B Interpolator the field is based on.
Class to provide scaling and a base class pointer for interpolator fields.
Interface for all 4D interpolators.