|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Class that provides the magnetic strength in a decapole. More...
#include <BDSFieldMagDecapole.hh>


Public Member Functions | |
| BDSFieldMagDecapole (BDSMagnetStrength const *strength, G4double const brho) | |
| virtual G4ThreeVector | GetField (const G4ThreeVector &position, const G4double t=0) const |
| Access the field value. | |
Public Member Functions inherited from BDSFieldMag | |
| 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. | |
Private Member Functions | |
| BDSFieldMagDecapole () | |
| Private default constructor to force use of supplied constructor. | |
Private Attributes | |
| G4double | bQuadruplePrime |
| B'''' - the fourth derivative of the magnetic field. | |
| G4double | bQPNormed |
| B'''' / 4! | |
Additional Inherited Members | |
Protected Attributes inherited from BDSFieldMag | |
| G4bool | finiteStrength |
| Flag to cache whether finite nor not. | |
| G4Transform3D | transform |
| Transform to apply for the field relative to the local coordinates of the geometry. | |
| G4bool | transformIsNotIdentity |
| Cache of whether to use transform at all. | |
| BDSModulator * | modulator |
| Optional modulator;. | |
Class that provides the magnetic strength in a decapole.
The magnetic field is calculated from the decapole strength parameter "k4" and a design rigidity (brho).
Definition at line 36 of file BDSFieldMagDecapole.hh.
| BDSFieldMagDecapole::BDSFieldMagDecapole | ( | BDSMagnetStrength const * | strength, |
| G4double const | brho | ||
| ) |
Definition at line 30 of file BDSFieldMagDecapole.cc.
|
inlinevirtual |
Definition at line 42 of file BDSFieldMagDecapole.hh.
|
virtual |
Access the field value.
Implements BDSFieldMag.
Definition at line 41 of file BDSFieldMagDecapole.cc.
References bQPNormed.
|
private |
|
private |
B'''' - the fourth derivative of the magnetic field.
Definition at line 53 of file BDSFieldMagDecapole.hh.