18#ifndef BDSFIELDEINTERPOLATED2LAYER_H
19#define BDSFIELDEINTERPOLATED2LAYER_H
20#include "BDSExtent.hh"
21#include "BDSFieldE.hh"
23#include "G4ThreeVector.hh"
42 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
43 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.