19#ifndef BDSFIELDMAGDIPOLE_H
20#define BDSFIELDMAGDIPOLE_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
53 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
54 const G4double t = 0)
const;
56 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.