|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
This class represents a hard-edge dipole field. The field is calculated in cartesian coordinates. More...
#include <BDSFieldMagDipoleHardEdgeMuonCooler.hh>


Public Member Functions | |
| BDSFieldMagDipoleHardEdgeMuonCooler (G4double strength, G4double apertureRadius, G4double coilLength) | |
| virtual G4ThreeVector | GetField (const G4ThreeVector &position, const G4double t=0) const |
| Calculate the field value. | |
| G4double | GetB0 () const |
| Accessor. | |
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 Attributes | |
| G4double | D |
| Private default constructor to ensure use of supplied constructor. | |
| G4double | halfLength |
| G4double | B0 |
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;. | |
This class represents a hard-edge dipole field. The field is calculated in cartesian coordinates.
Definition at line 36 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.
| BDSFieldMagDipoleHardEdgeMuonCooler::BDSFieldMagDipoleHardEdgeMuonCooler | ( | G4double | strength, |
| G4double | apertureRadius, | ||
| G4double | coilLength | ||
| ) |
Definition at line 34 of file BDSFieldMagDipoleHardEdgeMuonCooler.cc.
|
inlinevirtual |
Definition at line 47 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.
|
inline |
Accessor.
Definition at line 54 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.
|
virtual |
Calculate the field value.
Implements BDSFieldMag.
Definition at line 43 of file BDSFieldMagDipoleHardEdgeMuonCooler.cc.
References D.
|
private |
Definition at line 62 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.
|
private |
Private default constructor to ensure use of supplied constructor.
Definition at line 60 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.
Referenced by GetField().
|
private |
Definition at line 61 of file BDSFieldMagDipoleHardEdgeMuonCooler.hh.