A dipole field with Enge-type fringes. This follows the model and parameterisation described in: https://journals.aps.org/prab/abstract/10.1103/PhysRevSTAB.18.064001 This class represents a dipole field with Enge fringes. To expand description. The field is calculated in cartesian coordinates. A complete description to be added in the manual.
More...
#include <BDSFieldMagDipoleEnge.hh>
|
| | BDSFieldMagDipoleEnge (G4double strength, G4double apertureRadius, G4double coilLength, G4double engeCoefficient) |
| | More reasonable constructor for the internal parameterisation. 'strength' represents B0.
|
| |
| virtual G4ThreeVector | GetField (const G4ThreeVector &position, const G4double t=0) const |
| | Calculate the field value.
|
| |
| G4double | GetB0 () const |
| | Accessor.
|
| |
| | BDSFieldMag () |
| |
| | BDSFieldMag (G4Transform3D transformIn) |
| |
| virtual G4bool | TimeVarying () const |
| |
| virtual void | GetFieldValue (const G4double point[4], G4double *field) const |
| |
| virtual G4ThreeVector | GetFieldTransformed (const G4ThreeVector &position, const G4double t) const |
| | Get the field value after applying transform for local offset.
|
| |
| virtual void | SetTransform (const G4Transform3D &transformIn) |
| |
| void | SetModulator (BDSModulator *modulatorIn) |
| | Set the optional modulator.
|
| |
| G4bool | FiniteStrength () const |
| | Accessor.
|
| |
|
| G4ThreeVector | QueryField (G4double y, G4double z) const |
| |
A dipole field with Enge-type fringes. This follows the model and parameterisation described in: https://journals.aps.org/prab/abstract/10.1103/PhysRevSTAB.18.064001 This class represents a dipole field with Enge fringes. To expand description. The field is calculated in cartesian coordinates. A complete description to be added in the manual.
- Author
- Paul Bogdan Jurj
Definition at line 39 of file BDSFieldMagDipoleEnge.hh.
◆ BDSFieldMagDipoleEnge()
| BDSFieldMagDipoleEnge::BDSFieldMagDipoleEnge |
( |
G4double |
strength, |
|
|
G4double |
apertureRadius, |
|
|
G4double |
coilLength, |
|
|
G4double |
engeCoefficient |
|
) |
| |
More reasonable constructor for the internal parameterisation. 'strength' represents B0.
This constructor uses the "field" and "length" parameters from the BDSMagnetStrength instance and forwards to the next constructor. BDSFieldMagDipoleEnge(BDSMagnetStrength const* strength, G4double apertureIn ,G4double engeIn = 1.0, G4double toleranceIn = 0.0);
Definition at line 33 of file BDSFieldMagDipoleEnge.cc.
◆ ~BDSFieldMagDipoleEnge()
| virtual BDSFieldMagDipoleEnge::~BDSFieldMagDipoleEnge |
( |
| ) |
|
|
inlinevirtual |
◆ GetB0()
| G4double BDSFieldMagDipoleEnge::GetB0 |
( |
| ) |
const |
|
inline |
◆ GetField()
| G4ThreeVector BDSFieldMagDipoleEnge::GetField |
( |
const G4ThreeVector & |
position, |
|
|
const G4double |
t = 0 |
|
) |
| const |
|
virtual |
◆ QueryField()
| G4ThreeVector BDSFieldMagDipoleEnge::QueryField |
( |
G4double |
y, |
|
|
G4double |
z |
|
) |
| const |
|
private |
◆ B0
| G4double BDSFieldMagDipoleEnge::B0 |
|
private |
| G4double BDSFieldMagDipoleEnge::D |
|
private |
◆ engeCoeff
| G4double BDSFieldMagDipoleEnge::engeCoeff |
|
private |
◆ halfLength
| G4double BDSFieldMagDipoleEnge::halfLength |
|
private |
The documentation for this class was generated from the following files: