BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Sum of two multipole fields spaced by a distance in x. More...
#include <BDSFieldMagMultipoleOuterDualOld.hh>
Public Member Functions | |
BDSFieldMagMultipoleOuterDualOld (G4int orderIn, G4double poleTipRadius, const BDSFieldMag *innerFieldIn, G4bool kPositive, G4double separation, G4bool secondFieldOnLeft=true, G4double arbitraryScaling=1.0) | |
virtual G4ThreeVector | GetField (const G4ThreeVector &position, const double t=0) const |
Access the field value. | |
![]() | |
BDSFieldMag () | |
BDSFieldMag (G4Transform3D transformIn) | |
virtual G4ThreeVector | GetField (const G4ThreeVector &position, const G4double t=0) const =0 |
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 Attributes | |
BDSFieldMagMultipoleOuterOld * | fieldBase |
G4ThreeVector | offset |
Additional Inherited Members | |
![]() | |
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;. | |
Sum of two multipole fields spaced by a distance in x.
Definition at line 35 of file BDSFieldMagMultipoleOuterDualOld.hh.
BDSFieldMagMultipoleOuterDualOld::BDSFieldMagMultipoleOuterDualOld | ( | G4int | orderIn, |
G4double | poleTipRadius, | ||
const BDSFieldMag * | innerFieldIn, | ||
G4bool | kPositive, | ||
G4double | separation, | ||
G4bool | secondFieldOnLeft = true , |
||
G4double | arbitraryScaling = 1.0 |
||
) |
Definition at line 24 of file BDSFieldMagMultipoleOuterDualOld.cc.
|
virtual |
Definition at line 38 of file BDSFieldMagMultipoleOuterDualOld.cc.
|
virtual |
Access the field value.
Definition at line 43 of file BDSFieldMagMultipoleOuterDualOld.cc.
References BDSFieldMagMultipoleOuterOld::GetField().
|
private |
Definition at line 53 of file BDSFieldMagMultipoleOuterDualOld.hh.
|
private |
Definition at line 54 of file BDSFieldMagMultipoleOuterDualOld.hh.