19#ifndef BDSFIELDMAGZERO_H
20#define BDSFIELDMAGZERO_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
46 virtual G4ThreeVector
GetField(
const G4ThreeVector& ,
47 const G4double = 0)
const
48 {
return G4ThreeVector(0,0,0);}
Null B 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 static magnetic fields that may or may not be local.
G4bool finiteStrength
Flag to cache whether finite nor not.