BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Null EM field - for special cases where we need a valid object. More...
#include <BDSFieldEMZero.hh>
Public Member Functions | |
virtual std::pair< G4ThreeVector, G4ThreeVector > | GetField (const G4ThreeVector &, const G4double=0) const |
Access the field value. More... | |
![]() | |
BDSFieldEM () | |
BDSFieldEM (G4Transform3D transformIn) | |
virtual std::pair< G4ThreeVector, G4ThreeVector > | GetField (const G4ThreeVector &position, const G4double t=0) const =0 |
virtual void | GetFieldValue (const G4double point[4], G4double *field) const |
virtual std::pair< G4ThreeVector, G4ThreeVector > | GetFieldTransformed (const G4ThreeVector &position, const G4double t) const |
Get the field value after applying transform for local offset. More... | |
virtual void | SetTransform (const G4Transform3D &transformIn) |
virtual G4bool | DoesFieldChangeEnergy () const |
Required overload by Geant4. More... | |
G4bool | FiniteStrength () const |
Accessor. More... | |
Additional Inherited Members | |
![]() | |
G4bool | finiteStrength |
Flag to cache whether finite nor not. More... | |
G4Transform3D | transform |
Transform to apply for the field relative to the local coordinates of the geometry. More... | |
Null EM field - for special cases where we need a valid object.
Simply returns 0,0,0,0,0,0 for all field components.
Definition at line 37 of file BDSFieldEMZero.hh.
|
inline |
Definition at line 40 of file BDSFieldEMZero.hh.
|
inlinevirtual |
Definition at line 42 of file BDSFieldEMZero.hh.
|
inlinevirtual |