18#ifndef BDSFIELDMAGDIPOLEENGE_H
19#define BDSFIELDMAGDIPOLEENGE_H
21#include "BDSFieldMag.hh"
24#include "G4ThreeVector.hh"
50 G4double apertureRadius,
52 G4double engeCoefficient);
57 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
58 const G4double t = 0)
const;
60 inline G4double
GetB0()
const {
return B0;}
63 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.