|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Null B field - for special cases where we need a valid object. More...
#include <BDSFieldMagZero.hh>


Public Member Functions | |
| virtual G4ThreeVector | GetField (const G4ThreeVector &, const G4double=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. | |
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;. | |
Null B field - for special cases where we need a valid object.
Simply returns 0,0,0,0,0,0 for all field components. Used for teleporter or specifically written tracking routines that may ignore the 'field' but still need a valid object that can be called by Geant4 in order to fit into its scheme.
Definition at line 38 of file BDSFieldMagZero.hh.
|
inline |
Definition at line 41 of file BDSFieldMagZero.hh.
|
inlinevirtual |
Definition at line 43 of file BDSFieldMagZero.hh.
|
inlinevirtual |