19#ifndef BDSFIELDEINTERPOLATED_H
20#define BDSFIELDEINTERPOLATED_H
21#include "BDSExtent.hh"
22#include "BDSFieldE.hh"
24#include "G4Transform3D.hh"
40 const G4Transform3D& offset,
41 G4double eScalingIn = 1.0);
47 inline G4double EScaling()
const {
return eScaling;}
48 inline void SetEScaling(G4double eScalingIn) {
eScaling = eScalingIn;}
56 inline G4double SmallestSpatialStep()
const {
return smallestSpatialStep;}
64 G4double smallestSpatialStep;
Holder for +- extents in 3 dimensions.
BDSExtent Translate(const G4ThreeVector &offset) const
Provide a new copy of this extent with an offset applied.
Class to provide scaling and a base class pointer for interpolator fields.
virtual G4bool TimeVarying() const
BDSExtent ExtentNoOffset() const
Extent of field without any offset (ie in its own coordinate frame).
BDSExtent Extent() const
For now, we will ignore any rotation of the transform. TODO.
BDSExtent extentNoOffset
Extent without offset.
G4double eScaling
E field scaling value.
Interface for BDSIM electric fields that may or may not be local.
G4Transform3D transform
Transform to apply for the field relative to the local coordinates of the geometry.
Interface for all interpolators containing basic extent of validity.