18#ifndef BDSFIELDMAGDIPOLE_H
19#define BDSFIELDMAGDIPOLE_H
21#include "BDSFieldMag.hh"
24#include "G4ThreeVector.hh"
52 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
53 const G4double t = 0)
const;
55 inline G4ThreeVector FieldValue()
const {
return localField;}
BDSFieldMagDipole()
Private default constructor to ensure use of supplied constructor.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Access the field value.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.