File indexing completed on 2025-01-18 09:58:17
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 inline
0032 const G4Field* G4FieldManager::GetDetectorField() const
0033 {
0034
0035
0036 return fDetectorField;
0037 }
0038
0039 inline
0040 G4bool G4FieldManager::DoesFieldExist() const
0041 {
0042 return (fDetectorField != nullptr);
0043 }
0044
0045 inline
0046 void G4FieldManager::SetChordFinder(G4ChordFinder* aChordFinder)
0047 {
0048 fChordFinder= aChordFinder;
0049 }
0050
0051 inline
0052 G4ChordFinder* G4FieldManager::GetChordFinder()
0053 {
0054 return fChordFinder;
0055 }
0056
0057 inline
0058 const G4ChordFinder* G4FieldManager::GetChordFinder() const
0059 {
0060 return fChordFinder;
0061 }
0062
0063 inline
0064 G4double G4FieldManager::GetDeltaIntersection() const
0065 {
0066 return fDelta_Intersection_Val;
0067 }
0068
0069 inline
0070 G4double G4FieldManager::GetDeltaOneStep() const
0071 {
0072 return fDelta_One_Step_Value;
0073 }
0074
0075 inline
0076 void G4FieldManager::SetDeltaOneStep(G4double valDeltaOneStep)
0077 {
0078 fDelta_One_Step_Value= valDeltaOneStep;
0079 }
0080
0081 inline
0082 void G4FieldManager::SetDeltaIntersection(G4double valDeltaIntersection)
0083 {
0084 fDelta_Intersection_Val = valDeltaIntersection;
0085 }
0086
0087 inline
0088 void G4FieldManager::SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
0089 {
0090 fDelta_One_Step_Value= valDeltaOneStep;
0091 fDelta_Intersection_Val = 0.4 * fDelta_One_Step_Value;
0092 }
0093
0094 inline G4bool G4FieldManager::DoesFieldChangeEnergy() const
0095 {
0096 return fFieldChangesEnergy;
0097 }
0098
0099 inline void G4FieldManager::SetFieldChangesEnergy(G4bool value)
0100 {
0101 fFieldChangesEnergy = value;
0102 }
0103
0104
0105
0106 inline
0107 G4double G4FieldManager::GetMinimumEpsilonStep() const
0108 {
0109 return fEpsilonMin;
0110 }
0111
0112
0113
0114 inline
0115 G4double G4FieldManager::GetMaximumEpsilonStep() const
0116 {
0117 return fEpsilonMax;
0118 }
0119
0120 inline
0121 void G4FieldManager::ChangeDetectorField(G4Field* detectorField)
0122 {
0123 G4int errorType = 2;
0124 SetDetectorField( detectorField, errorType );
0125 }
0126
0127 inline
0128 void G4FieldManager::ProposeDetectorField(G4Field* detectorField)
0129 {
0130
0131
0132
0133
0134 fDetectorField = detectorField;
0135 InitialiseFieldChangesEnergy();
0136 }