19#ifndef BDSFIELDEMZERO_H
20#define BDSFIELDEMZERO_H
22#include "BDSFieldEM.hh"
25#include "G4ThreeVector.hh"
45 virtual std::pair<G4ThreeVector,G4ThreeVector>
GetField(
const G4ThreeVector& ,
46 const G4double = 0)
const
47 {
return std::make_pair(G4ThreeVector(0,0,0),G4ThreeVector(0,0,0));}
Null EM field - for special cases where we need a valid object.
virtual std::pair< G4ThreeVector, G4ThreeVector > GetField(const G4ThreeVector &, const G4double=0) const
Access the field value.
Interface for BDSIM electro-magnetic fields that may or may not be local.
G4bool finiteStrength
Flag to cache whether finite nor not.