18#ifndef BDSFIELDEZERO_H
19#define BDSFIELDEZERO_H
21#include "BDSFieldE.hh"
24#include "G4ThreeVector.hh"
42 virtual G4ThreeVector
GetField(
const G4ThreeVector& ,
43 const G4double = 0)
const
44 {
return G4ThreeVector(0,0,0);}
Null E field - for special cases where we need a valid object.
virtual G4ThreeVector GetField(const G4ThreeVector &, const G4double=0) const
Access the field value.
Interface for BDSIM electric fields that may or may not be local.
G4bool finiteStrength
Flag to cache whether finite nor not.