19#include "BDSFieldE.hh"
20#include "BDSFieldEGlobal.hh"
23#include "G4ThreeVector.hh"
25BDSFieldEGlobal::BDSFieldEGlobal(
BDSFieldE* fieldIn):
28 finiteStrength = field->FiniteStrength();
31BDSFieldEGlobal::~BDSFieldEGlobal()
37 const G4double t)
const
40 {
return G4ThreeVector();}
46 const G4double t)
const
G4ThreeVector ConvertAxisToGlobal(const G4ThreeVector &localAxis, const G4bool useCurvilinear=true) const
BDSStep ConvertToLocal(G4Step const *const step, G4bool useCurvilinear=true) const
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t) const
BDSFieldE * field
The field on which this is based.
virtual G4ThreeVector GetFieldTransformed(const G4ThreeVector &position, const G4double t) const
Interface for BDSIM electric fields that may or may not be local.
virtual G4ThreeVector GetFieldTransformed(const G4ThreeVector &position, const G4double t) const
Get the field value after applying transform for local offset.
G4bool finiteStrength
Flag to cache whether finite nor not.