19#ifndef BDSFIELDMAGDIPOLEENGE_H
20#define BDSFIELDMAGDIPOLEENGE_H
22#include "BDSFieldMag.hh"
25#include "G4ThreeVector.hh"
51 G4double apertureRadius,
53 G4double engeCoefficient);
58 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
59 const G4double t = 0)
const;
61 inline G4double
GetB0()
const {
return B0;}
64 G4ThreeVector QueryField(G4double y, G4double z)
const;
A dipole field with Enge-type fringes. This follows the model and parameterisation described in: http...
G4double GetB0() const
Accessor.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t=0) const
Calculate the field value.
Interface for static magnetic fields that may or may not be local.
Efficient storage of magnet strengths.