1 | ------------------------------------------------------------------- |
---|
2 | |
---|
3 | ========================================================== |
---|
4 | Geant4 - an Object-Oriented Toolkit for Physics Simulation |
---|
5 | ========================================================== |
---|
6 | |
---|
7 | History file for hadronic/cross_sections directory |
---|
8 | -------------------------------------------------- |
---|
9 | |
---|
10 | This file should be used to summarize modifications introduced in the |
---|
11 | code and to keep track of all tags. |
---|
12 | |
---|
13 | --------------------------------------------------------------- |
---|
14 | * Please list in reverse chronological order (last date on top) |
---|
15 | --------------------------------------------------------------- |
---|
16 | |
---|
17 | 03 Lun 2010 Vladimir Ivanchenko (hadr-cross-V09-03-05) |
---|
18 | - G4NeutronElasticXS, G4NeutronInelasticXS, G4NeutronCaptureXS - substitute |
---|
19 | environment variable G4NEUTRONXS by G4NEUTRONXSDATA |
---|
20 | |
---|
21 | 02 Jun 2010 Gunter Folger (hadr-cross-V09-03-04) |
---|
22 | - fix compilation error on Windows: use G4lrint not lrint |
---|
23 | |
---|
24 | 29 Apr 2010 Gunter Folger (hadr-cross-V09-03-03) |
---|
25 | ------------------------------------------------------------ |
---|
26 | - G4CrossSectionDataStore integer Z and A transition |
---|
27 | ( note that cross sections data sets still have G4double in interface) |
---|
28 | |
---|
29 | 25 Mar 2010 Vladimir Ivanchenko (hadr-cross-V09-03-02) |
---|
30 | ------------------------------------------------------------ |
---|
31 | - G4CrossSectionDataSetRegistry - do not pop_back vector of pointers |
---|
32 | when DeRegister cross section data set - big fixed for Windows |
---|
33 | |
---|
34 | 17 Mar 2010 Gabriele Cosmo (hadr-cross-V09-03-01) |
---|
35 | ------------------------------------------------------------ |
---|
36 | - Cache computation of std::pow() in GetCaptureCrossSection() method of |
---|
37 | G4HadronCrossSections, to avoid repeated calls with same argument. |
---|
38 | |
---|
39 | 26 Feb 2010 Vladimir Ivanchenko (hadr-cross-V09-03-00) |
---|
40 | ------------------------------------------------------------ |
---|
41 | - G4UPiNuclearCrossSection - fixed bug for high Z (>83) atoms |
---|
42 | |
---|
43 | 9 Dec 2009 Gunter Folger (hadr-cross-V09-02-18) |
---|
44 | ------------------------------------------------------------ |
---|
45 | - G4TripathiLightCrossSection.cc modified by Macrus Mendenhall: |
---|
46 | - re-enable low energy check code, but without creating new instances of |
---|
47 | G4TripathiLightCrossSection |
---|
48 | |
---|
49 | 2 Dec 2009 Vladimir Ivanchenko (hadr-cross-V09-02-17) |
---|
50 | ------------------------------------------------------------ |
---|
51 | - G4CrossSectionDataSetRegistry - more accurate cross section deletion |
---|
52 | |
---|
53 | 25 Nov 2009 Gunter Folger (hadr-cross-V09-02-16) |
---|
54 | ------------------------------------------------------------ |
---|
55 | - modify upper limit of validity to 100 TeV in |
---|
56 | G4NeutronInelasticCrossSection, G4ProtonInelasticCrossSection, |
---|
57 | and G4PiNuclearCrossSection |
---|
58 | Use constant cross section above original range |
---|
59 | |
---|
60 | 23 Nov 2009 Vladimir Ivanchenko (hadr-cross-V09-02-15) |
---|
61 | ------------------------------------------------------------ |
---|
62 | - fixed mistake in previous tag |
---|
63 | |
---|
64 | 20 Nov 2009 Vladimir Ivanchenko (hadr-cross-V09-02-14) |
---|
65 | ------------------------------------------------------------ |
---|
66 | - use as a default hadron-nucleon cross section parameterisation |
---|
67 | of Nikolay Starkov in G4GlauberGribovCrossSection, |
---|
68 | G4GGNuclNuclCrossSection, G4NeutronElasticXS, G4NeutronInelasticXS, |
---|
69 | G4BGGNucleonElasticXS, G4BGGNucleonInelasticXS, G4BGGPionElasticXS, |
---|
70 | G4BGGPionInelasticXS |
---|
71 | |
---|
72 | 19 Nov 2009 Vladimir Ivanchenko (hadr-cross-V09-02-13) |
---|
73 | ------------------------------------------------------------ |
---|
74 | - restored head version of hadr-cross-V09-02-06 for all files, added |
---|
75 | bug fixes for G4BGGXX classes and added back new G4NeutronXXXS |
---|
76 | cross sections |
---|
77 | |
---|
78 | 17 Nov 2009 Mikhail Kosov (hadr-cross-V09-02-12) |
---|
79 | ------------------------------------------------------------ |
---|
80 | - CHIPS-cross_sections dependent classes are temporary moved to |
---|
81 | source/processes/hadronic/models/chiral_inv_phase_space/xs_dependent |
---|
82 | directory (till the beter place for CHIPS physics package is found) |
---|
83 | |
---|
84 | 16 Nov 2009 Mikhail Kosov (hadr-cross-V09-02-11) |
---|
85 | ------------------------------------------------------------ |
---|
86 | - dependency on CHIPS-cross_sections |
---|
87 | |
---|
88 | 12 Nov 2009 Vladimir Ivanchenko (hadr-cross-V09-02-10) |
---|
89 | ------------------------------------------------------------ |
---|
90 | - added G4NeutronElasticXS, G4NeutronInelasticXS, G4NeutronCaptureXS |
---|
91 | |
---|
92 | 11 Nov 2009 Mikhail Kosov (hadr-cross-V09-02-09) |
---|
93 | ------------------------------------------------------------ |
---|
94 | - CHIPS inelastic XS implementation in a form of G4VCrossSectionDataSet |
---|
95 | |
---|
96 | 4 Nov 2009 Mikhail Kosov (hadr-cross-V09-02-08) |
---|
97 | ------------------------------------------------------------ |
---|
98 | - Resolving of the circular dependency with CHIPS for the previous tag |
---|
99 | |
---|
100 | 23 Oct 2009 Mikhail Kosov (hadr-cross-V09-02-07) |
---|
101 | ------------------------------------------------------------ |
---|
102 | - in G4GlauberGribovCrossSection, G4GGNuclNuclCrossSection, G4HadronNucleonXsc |
---|
103 | the CHIPS hN cross-sections are used directly instead of three times replication |
---|
104 | |
---|
105 | 12 Aug 2009 Vladimir Ivanchenko (hadr-cross-V09-02-06) |
---|
106 | ------------------------------------------------------------ |
---|
107 | - G4CrossSectionDataSetRegistry - return to more simple variant of |
---|
108 | deletion, because of problem for |
---|
109 | specific PhysicsLists |
---|
110 | |
---|
111 | 08 Aug 2009 Vladimir Ivanchenko (hadr-cross-V09-02-05) |
---|
112 | ------------------------------------------------------------ |
---|
113 | - G4TripathiLightIonCrossSection - add simple check that X-section is |
---|
114 | positive and remove not optimal control |
---|
115 | - G4TripathiCrossSection - added constructor and destructor |
---|
116 | - G4CrossSectionDataSetRegistry - use pure stl commands to remove elements |
---|
117 | of stl vector |
---|
118 | |
---|
119 | 21 March 2009 Vladimir Ivanchenko (hadr-cross-V09-02-04) |
---|
120 | ------------------------------------------------------------ |
---|
121 | - G4IonsKoxCrossSection, G4IonsShenCrossSection, G4TripathiCrossSection, |
---|
122 | G4TripathiLightCrossSection - added protections against numerical |
---|
123 | exceptions (V.Grichine) |
---|
124 | - G4GGNuclNuclCrossSection - Glauber-Gribov new cross section for ions |
---|
125 | (V.Grichine) |
---|
126 | |
---|
127 | 25 February 2009 Vladimir Ivanchenko (hadr-cross-V09-02-03) |
---|
128 | ------------------------------------------------------------ |
---|
129 | - G4CrossSectionDataStore - added protection to the Clean method |
---|
130 | |
---|
131 | 14 February 2009 Vladimir Ivanchenko (hadr-cross-V09-02-02) |
---|
132 | ------------------------------------------------------------ |
---|
133 | - G4CrossSectionDataStore - added Clean method |
---|
134 | |
---|
135 | 06 February 2009 Vladimir Ivanchenko (hadr-cross-V09-02-01) |
---|
136 | ------------------------------------------------------------ |
---|
137 | |
---|
138 | 24 January 2009 Vladimir Ivanchenko (hadr-cross-V09-02-00) |
---|
139 | ------------------------------------------------------------ |
---|
140 | - G4CrossSectionDataStore - moved constructor and destructor to source, |
---|
141 | added destruction of data sets, use STL |
---|
142 | vector instead of C-array |
---|
143 | - G4CrossSectionDataSetRegistry - new singleton to keep pointers to |
---|
144 | cross section data sets |
---|
145 | - G4VCrossSectiondataSet - constructor and detructor moved to source and |
---|
146 | registration/deregistration added |
---|
147 | |
---|
148 | 01 December 2008 Vladimir Ivanchenko (hadr-cross-V09-01-07) |
---|
149 | ------------------------------------------------------------ |
---|
150 | G4BGGPionElasticXS, G4BGGPionInelasticXS, G4BGGNucleonInelasticXS, |
---|
151 | G4BGGNucleonElasticXS, G4UPiNuclearCrossSection - added proper |
---|
152 | Coulomb barrier and cleanup implementations |
---|
153 | |
---|
154 | 24 October 2008 Dennis Wright (hadr-cross-V09-01-06) |
---|
155 | ---------------------------------------------------- |
---|
156 | - replace G4NucleiPropertiesTable::IsInTable with |
---|
157 | G4NucleiProperties::IsInStableTable for G4PhotoNuclearCrossSection |
---|
158 | and G4ElectroNuclearCrossSection |
---|
159 | |
---|
160 | 24 September 2008 Vladimir Ivantchenko (hadr-cross-V09-01-05) |
---|
161 | ------------------------------------------------------------ |
---|
162 | - G4GlauberGribovCrossSection provides a smooth transition from |
---|
163 | Barashenkov cross sections at 90 GeV; set threshold 90 GeV |
---|
164 | in classes, where this cross section is used |
---|
165 | |
---|
166 | 16 September 2008 Dennis Wright (hadr-cross-V09-01-04) |
---|
167 | ------------------------------------------------------ |
---|
168 | - G4PiNuclearCrossSection.cc: comment out G4ping and its instances |
---|
169 | following result of Pete Elmer who showed G4ping is very slow |
---|
170 | |
---|
171 | 01 September 2008 Vladimir Ivantchenko (hadr-cross-V09-01-03) |
---|
172 | ------------------------------------------------------------ |
---|
173 | - G4CrossSectionDataStore - added method SampleZandA, which |
---|
174 | return G4Element and fill G4Nucleaus |
---|
175 | |
---|
176 | 28 April 2008 Dennis Wright (hadr-cross-V09-01-02) |
---|
177 | -------------------------------------------------- |
---|
178 | - T. Koi added capability to use element-based cross section data |
---|
179 | sets if no isotope-based ones are available. This is required to |
---|
180 | get the HP neutron code to work within the cross section framework |
---|
181 | introduced in version 9.0. |
---|
182 | Files affected: G4CrossSectionDataStore.hh, .cc. Added method |
---|
183 | whichDataSetInCharge(). |
---|
184 | |
---|
185 | - DHW: G4NeutronInelasticCrossSection.cc : fix bug which returned |
---|
186 | zero cross section for 3He |
---|
187 | |
---|
188 | - G4TripathiLightCrossSection::IsApplicable(): bug fix from T. Koi: |
---|
189 | changed theTarget->GetA() to theTarget->GetN() |
---|
190 | |
---|
191 | 31 March 2008 Dennis Wright (hadr-cross-V09-01-01) |
---|
192 | -------------------------------------------------- |
---|
193 | - G4GlauberGribovCrossSection.cc and G4HadronNucleonXsc.cc - put () |
---|
194 | around && in || in order to fix gcc-4.3 compiler warnings. |
---|
195 | |
---|
196 | 17 January 2008 Vladimir Ivantchenko (hadr-cross-V09-01-00) |
---|
197 | ---------------------------------------------------------- |
---|
198 | - G4PhotoNuclearCrossSection and G4ElectroNuclearCrossSection - move |
---|
199 | compicate inlined method with many returns to source; fixed one wrong |
---|
200 | return value (was zero instead of pseudo-inf) and comment out |
---|
201 | extra warning which tell nothing useful to users |
---|
202 | |
---|
203 | 28 June 2007 Dennis Wright (hadr-cross-V09-00-00) |
---|
204 | ------------------------------------------------- |
---|
205 | - V. Grichine changed log to std::log in G4HadronNucleonXsc.cc and |
---|
206 | G4GlauberGribovCrossSection.cc |
---|
207 | - D. Wright added log(0) protection in G4NeutronInelasticCrossSection.cc |
---|
208 | and G4ProtonInelasticCrossSection.cc |
---|
209 | |
---|
210 | 15 June 2007 Gabriele Cosmo (hadr-cross-V08-03-04) |
---|
211 | -------------------------------------------------- |
---|
212 | - Fixed memory leak in classes G4ElectroNuclearCrossSection and |
---|
213 | G4PhotoNuclearCrossSection. |
---|
214 | |
---|
215 | 08 June 2007 Vladimir Grichine |
---|
216 | ------------------------------ |
---|
217 | - Fixed bug in push_back of fTotalXsc for pi- in G4PiNuclearCrossSection. |
---|
218 | |
---|
219 | 08 June 2007 Vladimir Ivantchenko (hadr-cross-V08-03-03) |
---|
220 | ------------------------------------------------------- |
---|
221 | - G4PiNuclearCrossSection.cc - fix non-initilised total cross section |
---|
222 | for pi- |
---|
223 | |
---|
224 | 30 May 2007 Dennis Wright (hadr-cross-V08-03-02) |
---|
225 | ------------------------------------------------ |
---|
226 | - G4GlauberGribovCrossSection.cc, G4HadronNucleonXsc.cc |
---|
227 | fix compiler warning: un-initialized variable |
---|
228 | |
---|
229 | 24 May 2007 Dennis Wright (hadr-cross-V08-03-01) |
---|
230 | ------------------------------------------------ |
---|
231 | - G4HadronCrossSections.hh, .cc : replace PSIZE with NPARTS to avoid |
---|
232 | name conflict with SDK windows environment |
---|
233 | |
---|
234 | 23 May 2007 Dennis Wright for Vladimir Grichine (hadr-cross-V08-03-00) |
---|
235 | ---------------------------------------------------------------------- |
---|
236 | - G4GlauberGribovCrossSection.hh, .cc : add new methods: |
---|
237 | |
---|
238 | G4double GetRatioSD(const G4DynamicParticle*, G4double At, G4double Zt); |
---|
239 | G4double GetRatioQE(const G4DynamicParticle*, G4double At, G4double Zt); |
---|
240 | |
---|
241 | allowing one to get qe/in and sd/in ratios. |
---|
242 | |
---|
243 | - G4HadronNucleonXsc.hh, .cc : add new method GetHadronNucleonXscMK to get |
---|
244 | hadron-nucleon cross section using Mikhail Kossov's parameterization. |
---|
245 | |
---|
246 | 03 May 2007 Dennis Wright (hadr-cross-V08-02-06) |
---|
247 | ------------------------------------------------ |
---|
248 | - G4HadronCrossSections::GetParticleCode() : replace code which |
---|
249 | tested by particle name with code that tests by PDG ID. Also |
---|
250 | use switch-case instead of else-if. |
---|
251 | |
---|
252 | 02 Apr 2007 Gunter Folger (hadr-cross-V08-02-05) |
---|
253 | ------------------------------------------------ |
---|
254 | - G4PiNuclearCrossSection.cc: remove special treatment ('tuning') |
---|
255 | for Copper (Z=29), i.e. the Cu cross section is no longer lowered by 4% |
---|
256 | |
---|
257 | 22 Mar 2007 Dennis Wright for V. Ivanchenko (hadr-cross-V08-02-04) |
---|
258 | ------------------------------------------------------------------ |
---|
259 | - G4UPiNuclearCrossSection.cc: better handling of low energy cross sections |
---|
260 | - Added new classes (V.Ivanchenko): |
---|
261 | G4BGGNucleonElasticXS: proton and neutron elastic cross section wrapper |
---|
262 | class using Barashenkov parameterization below |
---|
263 | 100 GeV and Glauber-Gribov model above |
---|
264 | G4BGGNucleonInelasticXS: proton and neutron inelastic cross section |
---|
265 | wrapper of Barashenkov-Glauber-Gribov |
---|
266 | G4BGGPionElasticXS: pion elastic cross section wrapper of BGG |
---|
267 | G4BGGPionInelasticXS: pion inelastic cross section wrapper of BGG |
---|
268 | |
---|
269 | 8 Mar 2007 Dennis Wright for V. Ivanchenko (hadr-cross-V08-02-03) |
---|
270 | ----------------------------------------------------------------- |
---|
271 | - use G4NucleonNuclearCrossSection in G4UInelasticCrossSection and |
---|
272 | G4UElasticCrossSection (V.Ivanchenko) |
---|
273 | - complete implementations of A and Z interfaces to classes (V.Ivanchenko): |
---|
274 | G4UPiNuclearCrossSection |
---|
275 | G4UInelasticCrossSection |
---|
276 | G4UElasticCrossSection |
---|
277 | G4GlauberGribovCrossSection |
---|
278 | G4NucleonNuclearCrossSection |
---|
279 | |
---|
280 | 30 Jan 2007 Dennis Wright (hadr-cross-V08-02-02) |
---|
281 | ------------------------------------------------ |
---|
282 | - add divide by zero protection to |
---|
283 | G4CrossSectionDataStore::SelectRandomIsotope |
---|
284 | |
---|
285 | 27 Jan 2007 V. Ivanchenko (hadr-cross-V08-02-01) |
---|
286 | ------------------------------------------------ |
---|
287 | - add implementations of A and Z interfaces to classes: |
---|
288 | G4UPiNuclearCrossSection |
---|
289 | G4UInelasticCrossSection |
---|
290 | G4UElasticCrossSection |
---|
291 | G4GlauberGribovCrossSection |
---|
292 | G4NucleonNuclearCrossSection |
---|
293 | |
---|
294 | 27 Dec 2006 Dennis Wright (hadr-cross-V08-02-00) |
---|
295 | ------------------------------------------------ |
---|
296 | - added handling of user-defined isotope abundances for elements and |
---|
297 | proper cross section and abundance weighted choice of isotopes in |
---|
298 | reactions. New virtual methods for IsApplicable and GetCrossSections |
---|
299 | added to classes G4VCrossSectionDataSet and G4CrossSectionDataStore. |
---|
300 | Other classes affected: |
---|
301 | |
---|
302 | G4EMDissociationCrossSection.hh, .cc |
---|
303 | G4ElectroNuclearCrossSection.hh, .cc |
---|
304 | G4GeneralSpaceNNCrossSection.hh, .cc |
---|
305 | G4HadronCaptureDataSet.hh |
---|
306 | G4HadronCrossSections.hh, .cc |
---|
307 | G4HadronElasticDataSet.hh |
---|
308 | G4HadronFissionDataSet.hh |
---|
309 | G4HadronInelasticDataSet.hh |
---|
310 | G4IonProtonCrossSection.hh |
---|
311 | G4IonsKoxCrossSection.hh, .cc |
---|
312 | G4IonsShenCrossSection.hh, .cc |
---|
313 | G4IonsSihverCrossSection.hh, .cc |
---|
314 | G4NeutronInelasticCrossSection.hh, .cc |
---|
315 | G4PhotoNuclearCrossSection.hh, .cc |
---|
316 | G4PiNuclearCrossSection.hh, .cc |
---|
317 | G4ProtonInelasticCrossSection.hh, .cc |
---|
318 | G4TripathiCrossSection.hh, .cc |
---|
319 | G4TripathiLightCrossSection.hh, .cc |
---|
320 | |
---|
321 | NOTE: This tag should be used with the tag hadr-man-V08-02-00 of the |
---|
322 | hadronic/management directory because G4HadronicProcess was affected |
---|
323 | also. |
---|
324 | |
---|
325 | - from Vladimir Grichine: |
---|
326 | added new class G4NucleonNuclearCrossSection which |
---|
327 | contains Barashenkov cross sections for nucleon-nucleus scattering |
---|
328 | |
---|
329 | modified the G4PiData and G4GlauberGribovCrossSection classes |
---|
330 | |
---|
331 | added ROOT files to test/analysis directory |
---|
332 | |
---|
333 | |
---|
334 | 16 Nov 2006 D.W. for Vladimir Grichine (hadr-cross-V08-01-08) |
---|
335 | ------------------------------------------------------------- |
---|
336 | - G4GlauberGribovCrossSection: extend applicability down to 0.3 GeV for |
---|
337 | protons and neutrons (not 100 MeV as in hadr-cross-V08-01-06) |
---|
338 | |
---|
339 | - Dennis Wright: add missing methods |
---|
340 | G4double |
---|
341 | GetHadronNucleaonXsc(const G4DynamicParticle*,G4double At,G4double Zt); |
---|
342 | G4double |
---|
343 | GetHadronNucleaonXscNS(const G4DynamicParticle*,const G4Element*); |
---|
344 | G4double |
---|
345 | GetHadronNucleaonXscNS(const G4DynamicParticle*,G4double At,G4double Zt); |
---|
346 | to get code to compile |
---|
347 | |
---|
348 | - initialize hpXsc, hnXsc to 0 |
---|
349 | |
---|
350 | 15 Nov 2006 Tatsumi Koi (hadr-cross-V08-01-07) |
---|
351 | ---------------------------------------------------------------------- |
---|
352 | - include/G4IonsShenCrossSection.hh |
---|
353 | - src/G4IonsShenCrossSection.cc |
---|
354 | : extend range of validity to 1TeV/n, using |
---|
355 | constant cross section above 10GeV/n. |
---|
356 | |
---|
357 | 13 Nov 2006 Dennis Wright for Vladimir Grichine (hadr-cross-V08-01-06) |
---|
358 | ---------------------------------------------------------------------- |
---|
359 | - G4GlauberGribovCrossSection.cc: extend range of validity for protons |
---|
360 | down to 100 MeV |
---|
361 | |
---|
362 | 3 Oct 2006 Gunter Folger (hadr-cross-V08-01-04) |
---|
363 | --------------------------------------------------- |
---|
364 | - G4ProtonInelasticCrossSection: extend range of validity to 1TeV, using |
---|
365 | constant cross section above 20GeV. |
---|
366 | |
---|
367 | 2 Oct 2006 Vladimir Grichine (hadr-cross-V08-01-03) |
---|
368 | --------------------------------------------------- |
---|
369 | |
---|
370 | - G4GlauberGribovCrossSection::GetCrossSection() : fix bug in inelastic |
---|
371 | cross section. Bug was discovered in the paper from which the cross |
---|
372 | was derived. |
---|
373 | |
---|
374 | 31 Aug 2006 Vladimir Ivanchenko (hadr-cross-V08-01-02) |
---|
375 | ------------------------------------------------------ |
---|
376 | - new wrapper cross section classes G4UInelasticCrossSection and |
---|
377 | G4UElasticCrossSection which combine cross sections from different |
---|
378 | data sets |
---|
379 | - new G4UPiNuclearCrossSection providing another implementation |
---|
380 | of elastic and inelastic cross sections from Barashenkov |
---|
381 | |
---|
382 | |
---|
383 | 17, 21 Aug 2006 Gunter Folger (same tag as 31 Aug above) |
---|
384 | -------------------------------------------------------- |
---|
385 | - added two missing Ca inelastic pi- entries, changed formatting |
---|
386 | - changed scaling of cross sections for elements not tabulated from scaling |
---|
387 | in Z^(2/3) to A^0.75 |
---|
388 | |
---|
389 | |
---|
390 | 11 Aug 2006 Dennis Wright (hadr-cross-V08-01-00) |
---|
391 | ------------------------------------------------ |
---|
392 | - new cross section class G4GlauberGribovCrossSection for proton, pion, |
---|
393 | kaon, (and maybe gamma and neutron) total and elastic cross sections |
---|
394 | introduced by V. Grichine. Effective energies: > 3 GeV. |
---|
395 | |
---|