#include <G4FieldManager.hh>
Definition at line 83 of file G4FieldManager.hh.
Definition at line 37 of file G4FieldManager.cc.
41 : fDetectorField(detectorField),
42 fChordFinder(pChordFinder),
43 fAllocatedChordFinder(
false),
44 fEpsilonMinDefault(5.0e-5),
45 fEpsilonMaxDefault(0.001),
46 fDefault_Delta_One_Step_Value(0.01),
47 fDefault_Delta_Intersection_Val(0.001),
48 fEpsilonMin( fEpsilonMinDefault ),
49 fEpsilonMax( fEpsilonMaxDefault)
51 fDelta_One_Step_Value= fDefault_Delta_One_Step_Value;
52 fDelta_Intersection_Val= fDefault_Delta_Intersection_Val;
56 fFieldChangesEnergy= fieldChangesEnergy;
virtual G4bool DoesFieldChangeEnergy() const =0
static void Register(G4FieldManager *pVolume)
Definition at line 62 of file G4FieldManager.cc.
63 : fDetectorField(detectorField), fAllocatedChordFinder(
true),
64 fEpsilonMinDefault(5.0e-5),
65 fEpsilonMaxDefault(0.001),
66 fFieldChangesEnergy(
false),
67 fDefault_Delta_One_Step_Value(0.01),
68 fDefault_Delta_Intersection_Val(0.001),
69 fEpsilonMin( fEpsilonMinDefault ),
70 fEpsilonMax( fEpsilonMaxDefault)
73 fDelta_One_Step_Value= fDefault_Delta_One_Step_Value;
74 fDelta_Intersection_Val= fDefault_Delta_Intersection_Val;
static void Register(G4FieldManager *pVolume)
G4FieldManager::~G4FieldManager |
( |
| ) |
|
|
virtual |
Definition at line 132 of file G4FieldManager.cc.
134 if( fAllocatedChordFinder ){
static void DeRegister(G4FieldManager *pVolume)
Definition at line 79 of file G4FieldManager.cc.
85 if ( this->fDetectorField )
86 aField = this->fDetectorField->
Clone();
89 aFM =
new G4FieldManager( aField , 0 , this->fFieldChangesEnergy );
93 if ( this->fAllocatedChordFinder )
101 aCF = this->fChordFinder;
102 aFM->fChordFinder = aCF;
105 aFM->fEpsilonMax = this->fEpsilonMax;
106 aFM->fEpsilonMin = this->fEpsilonMin;
107 aFM->fDefault_Delta_Intersection_Val = this->fDefault_Delta_Intersection_Val;
108 aFM->fDefault_Delta_One_Step_Value = this->fDefault_Delta_One_Step_Value;
109 aFM->fDelta_Intersection_Val = this->fDelta_Intersection_Val;
110 aFM->fDelta_One_Step_Value = this->fDelta_One_Step_Value;
virtual G4Field * Clone() const
G4FieldManager(G4Field *detectorField=0, G4ChordFinder *pChordFinder=0, G4bool b=true)
void CreateChordFinder(G4MagneticField *detectorMagField)
void G4FieldManager::ConfigureForTrack |
( |
const G4Track * |
| ) |
|
|
virtual |
Definition at line 141 of file G4FieldManager.cc.
143 if ( fAllocatedChordFinder )
146 fAllocatedChordFinder=
true;
G4bool G4FieldManager::DoesFieldChangeEnergy |
( |
| ) |
const |
|
inline |
G4bool G4FieldManager::DoesFieldExist |
( |
| ) |
const |
|
inline |
G4double G4FieldManager::GetDeltaIntersection |
( |
| ) |
const |
|
inline |
G4double G4FieldManager::GetDeltaOneStep |
( |
| ) |
const |
|
inline |
const G4Field* G4FieldManager::GetDetectorField |
( |
| ) |
const |
|
inline |
G4double G4FieldManager::GetMaximumEpsilonStep |
( |
| ) |
const |
|
inline |
G4double G4FieldManager::GetMinimumEpsilonStep |
( |
| ) |
const |
|
inline |
void G4FieldManager::SetAccuraciesWithDeltaOneStep |
( |
G4double |
valDeltaOneStep | ) |
|
|
inline |
void G4FieldManager::SetDeltaIntersection |
( |
G4double |
valueDintersection | ) |
|
|
inline |
void G4FieldManager::SetDeltaOneStep |
( |
G4double |
valueD1step | ) |
|
|
inline |
G4bool G4FieldManager::SetDetectorField |
( |
G4Field * |
detectorField | ) |
|
Definition at line 149 of file G4FieldManager.cc.
151 fDetectorField= pDetectorField;
153 if ( pDetectorField )
154 fFieldChangesEnergy= pDetectorField->DoesFieldChangeEnergy();
156 fFieldChangesEnergy=
false;
void G4FieldManager::SetFieldChangesEnergy |
( |
G4bool |
value | ) |
|
|
inline |
void G4FieldManager::SetMaximumEpsilonStep |
( |
G4double |
newEpsMax | ) |
|
|
inline |
void G4FieldManager::SetMinimumEpsilonStep |
( |
G4double |
newEpsMin | ) |
|
|
inline |
The documentation for this class was generated from the following files: