19#ifndef BDSFIELDEZERO_H
20#define BDSFIELDEZERO_H
22#include "BDSFieldE.hh"
25#include "G4ThreeVector.hh"
43 virtual G4ThreeVector
GetField(
const G4ThreeVector& ,
44 const G4double = 0)
const
45 {
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.