19#ifndef BDSFIELDEINTERPOLATED2LAYER_H
20#define BDSFIELDEINTERPOLATED2LAYER_H
21#include "BDSExtent.hh"
22#include "BDSFieldE.hh"
24#include "G4ThreeVector.hh"
43 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
44 const G4double t = 0)
const;
Holder for +- extents in 3 dimensions.
Two interpolated fields in one. One takes precedence in a subregion.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Return the interpolated field value at a given point.
virtual G4bool TimeVarying() const
Class to provide scaling and a base class pointer for interpolator fields.
Interface for BDSIM electric fields that may or may not be local.