BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A wrapper class for BDSFieldMagSkew where it owns the field. More...
#include <BDSFieldMagSkewOwn.hh>
Public Member Functions | |
BDSFieldMagSkewOwn (BDSFieldMag *fieldIn, G4double angle=0) | |
Wrap a field and rotate it by angle (rad) in the x-y plane (about z axis). | |
![]() | |
BDSFieldMagSkew (BDSFieldMag *fieldIn, G4double angle=0) | |
Wrap a field and rotate it by angle (rad) in the x-y plane (about z axis). | |
virtual G4ThreeVector | GetField (const G4ThreeVector &position, const G4double t=0) const |
Get the field - local coordinates, and rotated. | |
![]() | |
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 Member Functions | |
BDSFieldMagSkewOwn ()=delete | |
Private default constructor to force use of supplied ones. | |
Private Attributes | |
BDSFieldMag *const | field |
The nominal non-skewed field. | |
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;. | |
A wrapper class for BDSFieldMagSkew where it owns the field.
Definition at line 34 of file BDSFieldMagSkewOwn.hh.
BDSFieldMagSkewOwn::BDSFieldMagSkewOwn | ( | BDSFieldMag * | fieldIn, |
G4double | angle = 0 |
||
) |
Wrap a field and rotate it by angle (rad) in the x-y plane (about z axis).
Definition at line 22 of file BDSFieldMagSkewOwn.cc.
|
virtual |
Definition at line 28 of file BDSFieldMagSkewOwn.cc.
|
private |
The nominal non-skewed field.
Definition at line 47 of file BDSFieldMagSkewOwn.hh.