#include <G4MonopoleFieldSetup.hh>
Definition at line 63 of file G4MonopoleFieldSetup.hh.
G4MonopoleFieldSetup::~G4MonopoleFieldSetup |
( |
| ) |
|
Definition at line 103 of file G4MonopoleFieldSetup.cc.
105 delete fMonopoleFieldMessenger;
106 if(fMagneticField)
delete fMagneticField;
107 if(fChordFinder)
delete fChordFinder;
108 if(fStepper)
delete fStepper;
109 if(fMonopoleStepper)
delete fMonopoleStepper;
Definition at line 90 of file G4MonopoleFieldSetup.cc.
92 if (0 == fMonopoleFieldSetup)
95 fMonopoleFieldSetup = &theInstance;
98 return fMonopoleFieldSetup;
void G4MonopoleFieldSetup::InitialiseAll |
( |
| ) |
|
Definition at line 134 of file G4MonopoleFieldSetup.cc.
static constexpr double mm
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetStepperAndChordFinder(G4int val)
void G4MonopoleFieldSetup::SetMagField |
( |
G4double |
fieldValue | ) |
|
Definition at line 114 of file G4MonopoleFieldSetup.cc.
117 if (fMagneticField) {
delete fMagneticField; }
119 if (fieldValue != 0.)
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
void G4MonopoleFieldSetup::SetStepperAndChordFinder |
( |
G4int |
val | ) |
|
Definition at line 152 of file G4MonopoleFieldSetup.cc.
158 if(fChordFinder)
delete fChordFinder;
163 fChordFinder =
new G4ChordFinder( fMagneticField, fMinStep, fStepper);
166 fChordFinder =
new G4ChordFinder( fMagneticField, fMinStep, fMonopoleStepper);
G4bool SetDetectorField(G4Field *detectorField)
void SetChordFinder(G4ChordFinder *aChordFinder)
The documentation for this class was generated from the following files: