1 | |
---|
2 | Geant4 9.1 - patch-02 Release Notes |
---|
3 | ----------------------------------- |
---|
4 | |
---|
5 | 9 May 2008 |
---|
6 | |
---|
7 | List of fixes included in this public patch since the public release 9.1.p01: |
---|
8 | |
---|
9 | o Configuration: |
---|
10 | ------------- |
---|
11 | + Fixed in liblist.c use of gets() by adopting safer fgets(). |
---|
12 | + Linux-icc.gmk: updated setup to make use of icc-10.1 and ifort-10.1; |
---|
13 | changed compilation option "-mp" to more performant "-fp_model precise". |
---|
14 | + Linux-g++.gmk: Replaced g77 with gfortran compiler. |
---|
15 | |
---|
16 | o Environments: |
---|
17 | ------------ |
---|
18 | + Fixed compilation problems. |
---|
19 | + Make direct usage of tags in G4Version header. |
---|
20 | |
---|
21 | o Geometry: |
---|
22 | -------- |
---|
23 | + Cleared compilation warnings detected on gcc-4.3.0. |
---|
24 | + magneticfield: |
---|
25 | o Fixed 'unused' non-initialized values of dydx in classes |
---|
26 | G4EqMagElectricField and G4EqEMFieldWithSpin. |
---|
27 | + management: |
---|
28 | o Added missing protected copy-contructor and assignment operator |
---|
29 | for G4VSolid. |
---|
30 | o Added Shrink() and Reserve() methods to G4SmartVoxelNode to be used |
---|
31 | for debugging studies. |
---|
32 | + navigation: |
---|
33 | o G4PathFinder: commented out warning and exception in ComputeStep() |
---|
34 | for steps smaller than minimum threshold. |
---|
35 | + solids/CSG: |
---|
36 | o G4Cons: added protection against NaN in GetPointOnSurface() in the |
---|
37 | case the check is run for Rmax1==Rmax2. |
---|
38 | o G4Trap: corrections for arithmetic operations in 8-point constructor. |
---|
39 | Addressing problem report #934. |
---|
40 | + solids/specific: |
---|
41 | o G4ExtrudedSolid: bug fix in MakeFacets() to fill 'fTriangles' also |
---|
42 | in case of polygon with 3 or 4 vertices, as they are needed for |
---|
43 | Inside(p). Fix in Inside(p) for correctly handling the case of |
---|
44 | points located on the edges of triangles which are not the outline |
---|
45 | edges of the polygon. |
---|
46 | o G4TessellatedSolid: fixed bug in copy-constructor and internal method |
---|
47 | CopyObjects() for cloning of facets. Fix in DistanceToOut(p,v,..) to |
---|
48 | compute normal only if specified by flag in input. |
---|
49 | o G4Polyhedra: fixed problem of out-of-bound access to vectors in |
---|
50 | method GetPointOnSurface(). |
---|
51 | o G4IntersectingVone: added protection against NaN in LineHitsCone1() |
---|
52 | in case of configurations where a conic section becomes a tube. |
---|
53 | Added kCarTolerance in definition of "low" and "high" cone limits |
---|
54 | in R and in Z in order to protect against numerical errors; this |
---|
55 | fixes cases of DistanceToIn(p,v) returning 'kInfinity' when p+t*v |
---|
56 | cross intersection between two cones. |
---|
57 | o G4EllipticalCone: removed some debug printouts. |
---|
58 | o G4Hype: refined polyhedron representation for correct visualization |
---|
59 | of the shape. |
---|
60 | |
---|
61 | o Global: |
---|
62 | ------ |
---|
63 | + Introduced inclusion of <cstring> and <climits> in G4String.hh and |
---|
64 | templates.hh respectively for porting on gcc-4.3.0 compiler. |
---|
65 | + Cleared compilation warnings detected on gcc-4.3.0 |
---|
66 | + Removed useless specification of units in implementation of |
---|
67 | G4GeometryTolerance::SetSurfaceTolerance(). |
---|
68 | + Changed date for patch-02 to release 9.1. |
---|
69 | |
---|
70 | o Graphics Representations: |
---|
71 | ------------------------ |
---|
72 | + Added G4Hype representation to HepPolyhedron and G4Polyhedron. |
---|
73 | + Added inclusion of <cstdlib> in HepPolyhedron.cc for porting on |
---|
74 | gcc-4.3.0 compiler. |
---|
75 | |
---|
76 | o Materials: |
---|
77 | --------- |
---|
78 | + G4NistMaterialBuilder: using correct dimension for the density for |
---|
79 | ConstructNewMaterial() methods. |
---|
80 | + G4Material: improved printout in error conditions by specifying the |
---|
81 | name of the material affected. |
---|
82 | |
---|
83 | o Particles: |
---|
84 | --------- |
---|
85 | + G4ParticleTable: fixed implementation of methods Remove() and |
---|
86 | RemoveAllParticles() so that particle definition objects are properly |
---|
87 | deleted when invoking these methods between runs. It's user's |
---|
88 | responsibility to delete dynamically instantiated particle objects. |
---|
89 | Added method DeleteAllParticles() to remove and delete all particles |
---|
90 | in the list. Addressing problem report #1007. |
---|
91 | + Fixed bugs in G4Iontable::Remove() and G4ShortLivedTable::Remove(). |
---|
92 | |
---|
93 | o Physics Lists: |
---|
94 | ------------- |
---|
95 | + Fixed deletion using uninitialized pointers in FTF-BIC, for classes |
---|
96 | HadronPhysicsFTF_BIC, G4FTFBinaryNeutronBuilder and G4LEPNeutronBuilder. |
---|
97 | |
---|
98 | o Electromagnetic Processes: |
---|
99 | ------------------------- |
---|
100 | + Standard: |
---|
101 | o G4UrbanMscModel90, G4UrbanMscModel: fixed asymmetry of lateral |
---|
102 | displacement. |
---|
103 | o G4ionIonisation: adopt 'linLossLimit' 0.15 as it was originally in 9.1. |
---|
104 | o G4IonFluctuations: fixed discontinuity of width correction factor |
---|
105 | for small velocities and added a protection to its value |
---|
106 | (factor>1), which fixes very long alpha events. |
---|
107 | + Utils: |
---|
108 | o G4EmCorrections: set finite size correction to zero (provides flat |
---|
109 | distribution of vertex detector response for high energy hadrons). |
---|
110 | o G4ionEffectiveCharge: minor change of numerical constants to provide |
---|
111 | continuous change of charge versus energy. |
---|
112 | |
---|
113 | o Hadronic Processes: |
---|
114 | ------------------ |
---|
115 | + Cleared most compilation warnings detected on gcc-4.3.0. |
---|
116 | + cross_sections: |
---|
117 | o G4NeutronInelasticCrossSection: fixed bug which used to return zero |
---|
118 | cross section for 3He. |
---|
119 | o G4TripathiLightCrossSection: fixed bug in method IsApplicable() to |
---|
120 | use GetN() instead of GetA() for target. |
---|
121 | o Added capability to use element-based cross section data |
---|
122 | sets if no isotope-based ones are available. This is required to |
---|
123 | get the HP neutron code to work within the cross section framework |
---|
124 | introduced in version 9.0. Added internal method to class |
---|
125 | G4CrossSectionDataStore. |
---|
126 | + models/cascade: |
---|
127 | o Added Coulomb barrier in G4EquilibriumEvaporator. |
---|
128 | o Changed pp, nn total cross section parameterization in class |
---|
129 | G4CascadSpecialFunctions to more closely reflect the PDG values; |
---|
130 | fixed cross section bug responsible for returning low or zero total |
---|
131 | cross sections for pi-p, pi+n, np, and pi0 interactions. |
---|
132 | + models/chiral_inv_phase_space: |
---|
133 | o Modified G4QElasticCrossSection to fix problem with quasi-elastic. |
---|
134 | When run together with elastic, the parameters to sample T were not |
---|
135 | updated, this fix is to always update these. |
---|
136 | o Fixed case of exceeded boundary bounds in G4QCollision. |
---|
137 | o Check on tolerance is replaced by check on exact equality for fixing |
---|
138 | event reproducibility. |
---|
139 | + models/coherent_elastic: |
---|
140 | o G4HadronElastic: added extra protection against precision lost |
---|
141 | when projectile almost lost kinetic energy; set 'lowestEnergyLimit' |
---|
142 | to be 1.e-6*eV (was 0.0). |
---|
143 | Added extra protection: if sampled t out of the physics range then |
---|
144 | no scattering. |
---|
145 | o G4UHadronElasticProcess: call to G4QElasticCrossSection with option |
---|
146 | "false", so parameters for sampling of scattering are precalculated. |
---|
147 | + models/neutron_hp: |
---|
148 | o Fix against cases of division by zero. |
---|
149 | o Fixed erroneous condition in G4NeutronHPContAngularPar. |
---|
150 | o To increase performance, checking point of "neglecting doppler |
---|
151 | broadening" flag is changed from GetCrossSection() method to |
---|
152 | BuildPhysicsTable(). |
---|
153 | + models/theo_high_energy: |
---|
154 | o Added missing Fermi momentum to quasi elastic scattering. |
---|
155 | + stopping: |
---|
156 | o G4MuMinusCaptureCascade: fixed case of NaN value in bound muon decay. |
---|
157 | |
---|
158 | o Generic Processes: |
---|
159 | ----------------- |
---|
160 | + Decay: |
---|
161 | o Added protection to properly handle shortlived particles with finite |
---|
162 | pre-assigned proper time. |
---|
163 | + Management: |
---|
164 | o Fixed bug related to invoking ResetNumberOfInteractionLengthLeft() |
---|
165 | at the zero length step |
---|
166 | o Allow zero mean free path for PostStepDoIt(). |
---|
167 | + Parameterisation: |
---|
168 | o Cleared compilation warnings detected on gcc-4.3.0. |
---|
169 | |
---|
170 | o Run: |
---|
171 | --- |
---|
172 | + Added G4Transportation to shortlived particles in G4VUserPhysicsList |
---|
173 | in order to fix problem of non-assigned process for shortlived particle |
---|
174 | decay detected in CMS. |
---|
175 | |
---|
176 | o Examples: |
---|
177 | -------- |
---|
178 | + advanced/underground_physics: |
---|
179 | o Fixed mis-sized arrays 'ring_phys_gas' and 'ring_phys_liq'; |
---|
180 | both were less than the utilized size. |
---|
181 | + extended/field/field02: |
---|
182 | o Fixed setup to correctly handle electric field. |
---|
183 | + extended/field/field04: |
---|
184 | o Fix to avoid error for invalid rotation specification |
---|
185 | in F04DetectorConstruction::stringToRotationMatrix(). |
---|
186 | |
---|
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. |
---|