19#ifndef BDSFIELDMAGINTERPOLATED_H
20#define BDSFIELDMAGINTERPOLATED_H
21#include "BDSExtent.hh"
22#include "BDSFieldMag.hh"
24#include "G4Transform3D.hh"
40 const G4Transform3D& offset,
41 G4double scalingIn = 1.0);
47 inline G4double Scaling()
const {
return scaling;}
48 inline void SetScaling(G4double scalingIn) {
scaling = scalingIn;}
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.
BDSExtent Extent() const
For now, we will ignore any rotation of the transform. TODO.
virtual G4bool TimeVarying() const
BDSExtent extentNoOffset
Extent without offset.
BDSExtent ExtentNoOffset() const
Extent of field without any offset (ie in its own coordinate frame).
G4double scaling
Field value scaling.
Interface for static magnetic 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.