23#include "G4ElectricField.hh"
24#include "G4ThreeVector.hh"
25#include "G4Transform3D.hh"
44 explicit BDSFieldE(G4Transform3D transformIn);
49 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
50 const G4double t = 0)
const = 0;
57 G4double* field)
const;
61 const G4double t)
const;
68 virtual void SetTransform(
const G4Transform3D& transformIn);
Interface for BDSIM electric fields that may or may not be local.
G4Transform3D inverseTransform
The complimentary transform used to initially rotate the point of query.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const =0
virtual G4ThreeVector GetFieldTransformed(const G4ThreeVector &position, const G4double t) const
Get the field value after applying transform for local offset.
virtual void GetFieldValue(const G4double point[4], G4double *field) const
G4bool finiteStrength
Flag to cache whether finite nor not.
G4bool FiniteStrength() const
Accessor.
G4Transform3D transform
Transform to apply for the field relative to the local coordinates of the geometry.
virtual void SetTransform(const G4Transform3D &transformIn)