1 | |
---|
2 | Geant4 9.1 - patch-03 Release Notes |
---|
3 | ----------------------------------- |
---|
4 | |
---|
5 | 12 September 2008 |
---|
6 | |
---|
7 | List of fixes included in this public patch since the public release 9.1.p02: |
---|
8 | |
---|
9 | o Configuration: |
---|
10 | ------------- |
---|
11 | + architecture.gmk: removed obsoled DOM library from GDMLIBS; resolving |
---|
12 | run-time problems on Windows systems. |
---|
13 | + liblist.c: removed C++ style comments; resolving compilation problems |
---|
14 | on legacy SUN-CC compiler. |
---|
15 | |
---|
16 | o Digits_Hits: |
---|
17 | ----------- |
---|
18 | + Fixed a bug in G4ScoringBox for the use of G4PVDivision |
---|
19 | and G4VScoreWriter for indexing scheme in GetIndex() method. |
---|
20 | |
---|
21 | o Event: |
---|
22 | ----- |
---|
23 | + Provided accessors to G4SPSAngDistribution. |
---|
24 | Addressing problem report #1013. |
---|
25 | + Cleared gcc-4.3.0 compilation warnings in G4SPSEneDistribution. |
---|
26 | |
---|
27 | o G3toG4: |
---|
28 | ------ |
---|
29 | + GNUmakefile: workaround for renewing Fortran objects in 'lib' target |
---|
30 | before re-build of libraries. |
---|
31 | |
---|
32 | o Geometry: |
---|
33 | -------- |
---|
34 | + divisions: |
---|
35 | o Corrected initialisation for 'fnReplicas' and 'fwidth' data members |
---|
36 | in CheckAndSetParameters(), to make use of precomputed values retrieved |
---|
37 | from concrete parameterisations; simplified method signature. |
---|
38 | o Corrected error print-out in CheckNDivAndWidth() method in |
---|
39 | G4VDivisionParameterisation class. |
---|
40 | + management: |
---|
41 | o G4LogicalVolume, G4LogicalVolumeStore: corrected logic for the deletion |
---|
42 | of the root-region volumes, adding locking mechanism and automatically |
---|
43 | de-registering the world default root-region. |
---|
44 | Simplified Clean() method in the store, by removing unused and |
---|
45 | unnecessary default flag for logical-volumes notification. |
---|
46 | o Reinstated update of materials in G4Region::RemoveRootLogicalVolume() |
---|
47 | to correct handling individual removal of root-region volumes and |
---|
48 | restore proper setup state. |
---|
49 | o G4Region: changed condition inside ScanVolumeTree() to check for the |
---|
50 | existence of a valid material-scanner pointer to apply the material |
---|
51 | scan instead of using the flag for nested structures. |
---|
52 | o G4GeometryManager: do not apply optimisation on the current volume if |
---|
53 | it has been defined as a regular structure. |
---|
54 | Addresses problem report #990. |
---|
55 | o G4VSolid: promote copy-constructor and assignment operator to public |
---|
56 | to cope with specific use-case in ATLAS (see problem report #1023). |
---|
57 | + navigation: |
---|
58 | o G4PropagatorInField: correction to LocateIntersectionPoint() algorithm |
---|
59 | to ensure that endpoints are not further apart in space than on the |
---|
60 | curve due to different errors in the integration. |
---|
61 | Resolves rare error conditions in ATLAS production. |
---|
62 | + solids/CSG: |
---|
63 | o G4Sphere: fixed bug in DistanceToOut(p, v, ...) for normal 'fSTheta' |
---|
64 | greater than 90*deg, and use of tangent giving negative value. |
---|
65 | Fixed calculation of roots in DistanceToOut(p,v,...) for theta-conical |
---|
66 | surface interserctions and for sTheta<=90 degree intersection. |
---|
67 | Addresses issue reported when running PET application with optical |
---|
68 | photons about mis-computation of distance on half-sphere constructs, |
---|
69 | and later also reported in problem report #1022. |
---|
70 | o G4Tubs: fix in DistanceToIn(p,v, ...) in case of point on surface with |
---|
71 | very small tangent direction; now returning kInfinity and no longer |
---|
72 | zero. It fixes rare observed cases of zero value returned by both |
---|
73 | DistanceToIn() and DistanceToOut(), causing stuck tracks with zero |
---|
74 | step length. |
---|
75 | + solids/specific: |
---|
76 | o G4ExtrudedSolid: fix in polygon decomposition; systematically use |
---|
77 | half kCarTolerance instead of kCarTolerance; added solid name in the |
---|
78 | error messages coming from fatal exceptions. |
---|
79 | Added missing 'std' namespace to standard mathematical function calls. |
---|
80 | o G4Paraboloid: revised DistanceToOut(p,v,...) in answer to problem |
---|
81 | report #1015. Fixed precision problem when solving quadratic equation; |
---|
82 | apply comparison with kCarTolerance and not with zero; fixed logic |
---|
83 | problem in algorithm for points on surface and direction inside, |
---|
84 | relative to directions along Z, (0,0,Vz). |
---|
85 | o G4VFacet: corrected increment of indeces in operator==(). |
---|
86 | Addressing problem report #1024. |
---|
87 | |
---|
88 | o Global: |
---|
89 | ------ |
---|
90 | + Corrected signature of G4SwapPtr() to use reference of pointers as |
---|
91 | arguments. |
---|
92 | + Changed date for patch-03 to release 9.1. |
---|
93 | |
---|
94 | o Interfaces: |
---|
95 | ---------- |
---|
96 | + Replaced calls to exit() with G4Exception wherever applicable. |
---|
97 | |
---|
98 | o Materials: |
---|
99 | --------- |
---|
100 | + G4Element: extended printout of errors and warnings; added more safe |
---|
101 | check of consistency between Z and A in construction. |
---|
102 | + G4Material: improved errors printout. |
---|
103 | |
---|
104 | o Hadronic Processes: |
---|
105 | ------------------ |
---|
106 | + models/coherent_elastic: |
---|
107 | o G4HadronElastic: added protection inside LElastic algorithm against |
---|
108 | cases of t>tmax (outside kinematically allowed 4-momentum transfer). |
---|
109 | + models/lll_fission: |
---|
110 | o Replaced usage of exit() with G4Exception in G4fissionerr. |
---|
111 | + models/high_energy: |
---|
112 | o In G4HEInelastic: fixed bug in HighEnergyCascading() and |
---|
113 | MediumEnergyCascading() for momentum sampling, responsible for |
---|
114 | oscillatory behavior in spectrum. |
---|
115 | In TuningOfHighEnergyCascade(), removed abnormally high pt secondaries |
---|
116 | due to incident strange particles by prohibiting the assignment of |
---|
117 | leading particle to anything that goes backward in the CM frame. |
---|
118 | Replaced usage of exit() with G4Exception in Factorial() method. |
---|
119 | In NBodyPhaseSpace(), removed error message "total mass > total energy" |
---|
120 | and replaced with message only when verbosity is > 1. |
---|
121 | + models/parton_string/diffraction: |
---|
122 | o Fixed compilation warnings for unused variables in G4FTFModel. |
---|
123 | + models/pre_equilibrium: |
---|
124 | o Fixed cases of floating point overflow when using pre-compound in |
---|
125 | combination with binary-cascade; reviewed algorithm in method |
---|
126 | G4PreCompoundEmission::rho(). |
---|
127 | + util: |
---|
128 | o G4ReactionDynamics::GenerateXandPt(): fixed bug in momentum bin |
---|
129 | responsible for causing oscillatory behavior in spectrum. |
---|
130 | Replaced usage of exit() with G4Exception. |
---|
131 | |
---|
132 | o Generic Processes: |
---|
133 | ----------------- |
---|
134 | + Management: |
---|
135 | o Fixed un-necessary double deletion/creation of vector in operator=() |
---|
136 | in G4ProcessVector. |
---|
137 | o Fixed compilation warning on messenger. |
---|
138 | |
---|
139 | o Run: |
---|
140 | --- |
---|
141 | + G4RunManagerKernel: avoid deletion of default root-region which is now |
---|
142 | taken care by the geometry stores. It resolves the ambiguity of explicitly |
---|
143 | avoiding the de-registration and deletion of the default root-region by |
---|
144 | the stores and eliminates the limitation of forcing the world logical |
---|
145 | volume being the first registered in the logical-volumes store. |
---|
146 | + Invoke G4Particle::DeleteAllParticles() in the destructor of |
---|
147 | G4VUserPhysicsList to clear memory leak at application closure. |
---|
148 | |
---|
149 | o Tracking: |
---|
150 | -------- |
---|
151 | + Fix in G4SteppingManager to properly update 'fTouchableHandle' data |
---|
152 | member. Addresses problem report #1009. |
---|
153 | |
---|
154 | o Examples: |
---|
155 | -------- |
---|
156 | + advanced/air_shower: |
---|
157 | o Adjusted range of optical properties tables in DetectorConstruction; |
---|
158 | Added check of optical photon energy in PrimaryGeneratorAction; |
---|
159 | Cerenkov process attached to all applicable particles; |
---|
160 | Modified Visualisation.mac and UltraMacro.mac macros. |
---|
161 | o Corrected a parameter in the DetectorConstruction to fix a |
---|
162 | segmentation due to a non correct definition of the refraction index |
---|
163 | of the Quartz. |
---|
164 | o Implemented access to private data members of DetectorConstruction |
---|
165 | through accessors. |
---|
166 | o Fixed a compilation warning in AnalysisManager. |
---|
167 | + advanced/brachytherapy: |
---|
168 | o Fixed compilation warning in AnalysisManager. Fixed bad type assignment. |
---|
169 | o Activated generation of histogram files for output. |
---|
170 | + advanced/gammaray_telescope: |
---|
171 | o Fixed problems in compilation. |
---|
172 | + advanced/lAr_calorimeter: |
---|
173 | o Fixed compilation warning in AnalysisManager. |
---|
174 | + advanced/Rich: |
---|
175 | o Fixed compilation errors and removed warnings. |
---|
176 | + advanced/Tiara: |
---|
177 | o Fixed compilation errors. |
---|
178 | + extended/exoticphysics/monopole: |
---|
179 | o Fixed compilation warnings. |
---|
180 | + extended/medical/DICOM: |
---|
181 | o Bug fix in DicomNestedPhantomParameterisation in calculating the cell |
---|
182 | copy-number; now fixing the material assignments. |
---|
183 | o Set default cut to 1 mm to reduce physics content and enhance tracking |
---|
184 | performance. |
---|
185 | o Corrected direction and position of primary particles to better |
---|
186 | traverse the DICOM voxels. |
---|
187 | |
---|
188 | ---------------------------------------------------------------------------- |
---|
189 | |
---|
190 | Technical Notes |
---|
191 | --------------- |
---|
192 | |
---|
193 | o This patch should be applied on top of release 9.1 |
---|
194 | o Technical notes distributed for release 9.1 are also applicable and |
---|
195 | valid for this patch. |
---|
196 | |
---|
197 | The code and rebuilt binary libraries for release 9.1 are available |
---|
198 | through our "Download" Web page: |
---|
199 | http://cern.ch/geant4/support/download.shtml |
---|
200 | |
---|
201 | Please refer to the Geant4 User Documentation: |
---|
202 | http://cern.ch/geant4/support/userdocuments.shtml |
---|
203 | for further information about using Geant4. |
---|