Geant4
10.00.p02
|
#include <F04GlobalField.hh>
Public Member Functions | |
virtual | ~F04GlobalField () |
virtual void | GetFieldValue (const G4double *point, G4double *field) const |
GetFieldValue() returns the field value at a given point[]. field is really field[6]: Bx,By,Bz,Ex,Ey,Ez. point[] is in global coordinates: x,y,z,t. More... | |
virtual G4bool | DoesFieldChangeEnergy () const |
DoesFieldChangeEnergy() returns true. More... | |
void | AddElementField (F04ElementField *f) |
AddElementField() adds the ElementField object for a single element to the global field. More... | |
void | Clear () |
Clear() removes all ElementField-s from the global object, and destroys them. Used before the geometry is completely re-created. More... | |
void | ConstructField () |
constructs all field tracking objects More... | |
void | SetStepperType (G4int i) |
Set the Stepper types. More... | |
void | SetStepper () |
Set the Stepper. More... | |
void | SetMinStep (G4double stp) |
Set the minimum step length. More... | |
void | SetDeltaChord (G4double dcr) |
Set the delta chord length. More... | |
void | SetDeltaOneStep (G4double stp) |
Set the delta one step length. More... | |
void | SetDeltaIntersection (G4double its) |
Set the delta intersection length. More... | |
void | SetEpsMin (G4double eps) |
Set the minimum eps length. More... | |
void | SetEpsMax (G4double eps) |
Set the maximum eps length. More... | |
FieldList * | GetFields () |
Return the list of Element Fields. More... | |
Public Member Functions inherited from G4ElectroMagneticField | |
G4ElectroMagneticField () | |
virtual | ~G4ElectroMagneticField () |
G4ElectroMagneticField (const G4ElectroMagneticField &r) | |
G4ElectroMagneticField & | operator= (const G4ElectroMagneticField &p) |
virtual void | GetFieldValue (const G4double Point[4], G4double *Bfield) const =0 |
Public Member Functions inherited from G4Field | |
G4Field (G4bool gravityOn=false) | |
G4Field (const G4Field &) | |
virtual | ~G4Field () |
G4Field & | operator= (const G4Field &p) |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
virtual G4Field * | Clone () const |
Static Public Member Functions | |
static F04GlobalField * | GetObject (F04DetectorConstruction *const) |
GetObject() returns the single F04GlobalField object. It is constructed, if necessary. More... | |
static F04GlobalField * | GetObject () |
Protected Member Functions | |
G4FieldManager * | GetGlobalFieldManager () |
Get the global field manager. More... | |
Private Member Functions | |
F04GlobalField (F04DetectorConstruction *const) | |
F04GlobalField (const F04GlobalField &) | |
F04GlobalField & | operator= (const F04GlobalField &) |
void | SetupArray () |
Static Private Attributes | |
static G4ThreadLocal F04GlobalField * | fObject = 0 |
Definition at line 68 of file F04GlobalField.hh.
|
private |
Definition at line 55 of file F04GlobalField.cc.
References ConstructField(), fFieldMessenger, fFields, fFirst, fFp, fNfp, fObject, and fStepperType.
Referenced by GetObject().
|
private |
|
virtual |
Definition at line 91 of file F04GlobalField.cc.
References Clear(), fChordFinder, fEquation, fFieldMessenger, fFields, and fStepper.
|
inline |
AddElementField() adds the ElementField object for a single element to the global field.
Definition at line 99 of file F04GlobalField.hh.
References fFields.
Referenced by F04ElementField::F04ElementField().
void F04GlobalField::Clear | ( | ) |
Clear() removes all ElementField-s from the global object, and destroys them. Used before the geometry is completely re-created.
Definition at line 292 of file F04GlobalField.cc.
References fFields, fFirst, fFp, and fNfp.
Referenced by ConstructField(), and ~F04GlobalField().
void F04GlobalField::ConstructField | ( | ) |
constructs all field tracking objects
Definition at line 106 of file F04GlobalField.cc.
References Clear(), fChordFinder, fDeltaChord, fDeltaIntersection, fDeltaOneStep, fDetectorConstruction, fEpsMax, fEpsMin, fEquation, fFieldManager, fFieldPropagator, fFields, fMinStep, fStepper, G4cout, G4endl, F04DetectorConstruction::GetCaptureMgnt(), F04DetectorConstruction::GetCaptureMgntB1(), F04DetectorConstruction::GetCaptureMgntB2(), F04DetectorConstruction::GetCaptureMgntCenter(), GetGlobalFieldManager(), G4TransportationManager::GetPropagatorInField(), F04DetectorConstruction::GetTransferMgnt(), F04DetectorConstruction::GetTransferMgntB(), F04DetectorConstruction::GetTransferMgntCenter(), G4TransportationManager::GetTransportationManager(), mm, G4FieldManager::SetAccuraciesWithDeltaOneStep(), G4FieldManager::SetChordFinder(), F04ElementField::SetColor(), G4ChordFinder::SetDeltaChord(), G4FieldManager::SetDeltaIntersection(), G4FieldManager::SetDetectorField(), G4FieldManager::SetFieldChangesEnergy(), G4PropagatorInField::SetMaximumEpsilonStep(), F04ElementField::SetMaxStep(), G4PropagatorInField::SetMinimumEpsilonStep(), and SetStepper().
Referenced by F04GlobalField().
|
inlinevirtual |
DoesFieldChangeEnergy() returns true.
Implements G4ElectroMagneticField.
Definition at line 95 of file F04GlobalField.hh.
|
inline |
Return the list of Element Fields.
Definition at line 137 of file F04GlobalField.hh.
References fFields.
GetFieldValue() returns the field value at a given point[]. field is really field[6]: Bx,By,Bz,Ex,Ey,Ez. point[] is in global coordinates: x,y,z,t.
Definition at line 267 of file F04GlobalField.cc.
References F04ElementField::AddFieldValue(), fFirst, fFp, fNfp, and F04ElementField::IsInBoundingBox().
|
protected |
Get the global field manager.
Definition at line 259 of file F04GlobalField.cc.
References G4TransportationManager::GetFieldManager(), and G4TransportationManager::GetTransportationManager().
Referenced by ConstructField().
|
static |
GetObject() returns the single F04GlobalField object. It is constructed, if necessary.
Definition at line 201 of file F04GlobalField.cc.
References F04GlobalField(), and fObject.
|
static |
Definition at line 209 of file F04GlobalField.cc.
References fObject.
Referenced by F04DetectorConstruction::ConstructSDandField(), and F04ElementField::F04ElementField().
|
private |
|
inline |
Set the delta chord length.
Definition at line 122 of file F04GlobalField.hh.
References fDeltaChord.
Referenced by F04FieldMessenger::SetNewValue().
|
inline |
Set the delta intersection length.
Definition at line 128 of file F04GlobalField.hh.
References fDeltaIntersection.
|
inline |
Set the delta one step length.
Definition at line 125 of file F04GlobalField.hh.
References fDeltaOneStep.
|
inline |
Set the maximum eps length.
Definition at line 134 of file F04GlobalField.hh.
Referenced by F04FieldMessenger::SetNewValue().
|
inline |
Set the minimum eps length.
Definition at line 131 of file F04GlobalField.hh.
Referenced by F04FieldMessenger::SetNewValue().
|
inline |
Set the minimum step length.
Definition at line 119 of file F04GlobalField.hh.
References fMinStep.
Referenced by F04FieldMessenger::SetNewValue().
void F04GlobalField::SetStepper | ( | ) |
Set the Stepper.
Definition at line 217 of file F04GlobalField.cc.
References fEquation, fStepper, fStepperType, G4cout, and G4endl.
Referenced by ConstructField().
|
inline |
Set the Stepper types.
Definition at line 113 of file F04GlobalField.hh.
References fStepperType.
Referenced by F04FieldMessenger::SetNewValue().
|
private |
|
private |
Definition at line 175 of file F04GlobalField.hh.
Referenced by ConstructField(), and ~F04GlobalField().
|
private |
Definition at line 160 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetDeltaChord().
|
private |
Definition at line 162 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetDeltaIntersection().
|
private |
Definition at line 161 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetDeltaOneStep().
|
private |
Definition at line 179 of file F04GlobalField.hh.
Referenced by ConstructField().
|
private |
Definition at line 164 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetEpsMax().
|
private |
Definition at line 163 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetEpsMin().
|
private |
Definition at line 170 of file F04GlobalField.hh.
Referenced by ConstructField(), SetStepper(), and ~F04GlobalField().
|
private |
Definition at line 172 of file F04GlobalField.hh.
Referenced by ConstructField().
|
private |
Definition at line 177 of file F04GlobalField.hh.
Referenced by F04GlobalField(), and ~F04GlobalField().
|
private |
Definition at line 173 of file F04GlobalField.hh.
Referenced by ConstructField().
|
private |
Definition at line 151 of file F04GlobalField.hh.
Referenced by AddElementField(), Clear(), ConstructField(), F04GlobalField(), GetFields(), SetupArray(), and ~F04GlobalField().
|
private |
Definition at line 149 of file F04GlobalField.hh.
Referenced by Clear(), F04GlobalField(), GetFieldValue(), and SetupArray().
|
private |
Definition at line 153 of file F04GlobalField.hh.
Referenced by Clear(), F04GlobalField(), GetFieldValue(), and SetupArray().
|
private |
Definition at line 159 of file F04GlobalField.hh.
Referenced by ConstructField(), and SetMinStep().
|
private |
Definition at line 148 of file F04GlobalField.hh.
Referenced by Clear(), F04GlobalField(), GetFieldValue(), and SetupArray().
|
staticprivate |
Definition at line 146 of file F04GlobalField.hh.
Referenced by F04GlobalField(), and GetObject().
|
private |
Definition at line 174 of file F04GlobalField.hh.
Referenced by ConstructField(), SetStepper(), and ~F04GlobalField().
|
private |
Definition at line 157 of file F04GlobalField.hh.
Referenced by F04GlobalField(), SetStepper(), and SetStepperType().