1 | ------------------------------------------------------------------- |
---|
2 | |
---|
3 | ========================================================== |
---|
4 | Geant4 - an Object-Oriented Toolkit for Physics Simulation |
---|
5 | ========================================================== |
---|
6 | |
---|
7 | History file for High Energy Parameterized Models |
---|
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 | 3 Dec 2010 - Dennis Wright (hadr-hep-V09-03-03) |
---|
18 | ------------------------------------------------ |
---|
19 | - more CoVerity bug fixes in G4HEInelastic.cc : |
---|
20 | array overrun in method QuasiElasticScattering (change pvmx[4] to |
---|
21 | pvmx[0] |
---|
22 | dead code due to bools dummy and dum always being false |
---|
23 | memory leak in methods HighEnergyCascading, MediumEnergyCascading, |
---|
24 | QuasiElasticScattering |
---|
25 | use of loop variable outside of for loop |
---|
26 | |
---|
27 | 27 Nov 2010 - Dennis Wright (hadr-hep-V09-03-02) |
---|
28 | ------------------------------------------------ |
---|
29 | - more CoVerity bug fixes: G4HEInelastic.hh (init verboseLevel), |
---|
30 | - make incidentParticle and targetParticle args const & |
---|
31 | |
---|
32 | 12 Nov 2010 - Dennis Wright (hadr-hep-V09-03-01) |
---|
33 | ------------------------------------------------ |
---|
34 | - Fix uninitialized variable (vecLength = 0) in header files of |
---|
35 | G4HEAntiLambdaInelastic, G4HEAntiNeutronInelastic |
---|
36 | G4HEAntiOmegaMinusInelastic, G4HEAntiProtonInelastic |
---|
37 | G4HEAntiSigmaMinusInelastic, G4HEAntiSigmaPlusInelastic |
---|
38 | G4HEAntiXiMinusInelastic, G4HEAntiXiZeroInelastic |
---|
39 | G4HEKaonMinusInelastic, G4HEKaonPlusInelastic |
---|
40 | G4HEKaonZeroInelastic, G4HELambdaInelastic |
---|
41 | G4HENeutronInelastic, G4HEOmegaMinusInelastic |
---|
42 | G4HEPionMinusInelastic, G4HEPionPlusInelastic |
---|
43 | G4HEProtonInelastic, G4HESigmaMinusInelastic |
---|
44 | G4HESigmaPlusInelastic, G4HEXiMinusInelastic |
---|
45 | G4HEXiZeroInelastic |
---|
46 | and remove dead code in .cc files of above |
---|
47 | |
---|
48 | - Fix uninitialized variable (MAXPART = 0) in header file of |
---|
49 | G4HEInelastic |
---|
50 | - Initialize theQuarkContent and theAntiQuarkContent |
---|
51 | in G4HEVector.hh |
---|
52 | |
---|
53 | 23 Jan 2010 - Dennis Wright (hadr-hep-V09-03-00) |
---|
54 | ------------------------------------------------ |
---|
55 | A bug report from Alexander Shepetov (Tien-Shan Mountain Station) |
---|
56 | found a segmentation fault in G4HEKaonZeroLongInelastic and |
---|
57 | G4HEKaonZeroShortInelastic due to local instantiation and subsequent |
---|
58 | deletion of the K0 and anti-K0 models. |
---|
59 | This was fixed by implementing code specifically for |
---|
60 | G4HEKaonZeroLongInelastic and G4HEKaonZeroShortInelastic, without |
---|
61 | using the K0, anti-K0 code. As an added feature, the production of |
---|
62 | K0 and anti-K0 outside the nucleus is now prohibited. |
---|
63 | |
---|
64 | 23 July 2008 - Dennis Wright for Vladimir Uzhinskiy (hadr-hep-V09-01-04) |
---|
65 | ------------------------------------------------------------------------ |
---|
66 | G4HEInelastic::HighEnergyCascading: fix bug in momentum sampling which |
---|
67 | caused oscillatory behavior in spectrum. |
---|
68 | Replace |
---|
69 | xval = Amin(1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1])/2.)); |
---|
70 | with |
---|
71 | xval = Amin(1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1]))); |
---|
72 | |
---|
73 | G4HEInelastic::MediumEnergyCascading: same as above |
---|
74 | |
---|
75 | 9 July 2008 - Dennis Wright (hadr-hep-V09-01-03) |
---|
76 | ------------------------------------------------ |
---|
77 | G4HEInelastic::Factorial: replace exit with G4Exception. |
---|
78 | |
---|
79 | 9 June 2008 - Dennis Wright (hadr-hep-V09-01-02) |
---|
80 | ------------------------------------------------ |
---|
81 | G4HEInelastic::NBodyPhaseSpace: remove error message "total mass > total energy" |
---|
82 | and replace with message only when verbosity is > 1 |
---|
83 | |
---|
84 | 15 May 2008 - Dennis Wright (hadr-hep-V09-01-01) |
---|
85 | ------------------------------------------------ |
---|
86 | G4HEInelastic::TuningOfHighEnergyCascade: remove abnormally high pt |
---|
87 | secondaries due to incident strange particles by prohibiting the |
---|
88 | assignment of leading particle to anything that goes backward in the |
---|
89 | CM frame. |
---|
90 | |
---|
91 | 17 Mar 2008 - Dennis Wright (hadr-hep-V09-01-00) |
---|
92 | ------------------------------------------------ |
---|
93 | Add braces around single-statement if/else blocks to fix warning from |
---|
94 | gcc-4.3 compiler. Nearly all files affected. |
---|
95 | |
---|
96 | 19 Nov 2007 - Dennis Wright (hadr-hep-V09-00-01) |
---|
97 | ------------------------------------------------ |
---|
98 | G4HEInelastic::TuningOfHighEnergyCascading: fixed incorrect assignment |
---|
99 | of leading particle to low energy backward nucleons and fragments. |
---|
100 | This bug caused high energy backward particles to be emitted from |
---|
101 | high energy collisions. |
---|
102 | |
---|
103 | 11 Oct 2007 - F.W. Jones (hadr-hep-V09-00-00) |
---|
104 | --------------------------------------------- |
---|
105 | G4HEPionMinusInelastic: fixed incorrect Imax (should be Imin) in |
---|
106 | sampling of charge exchange. |
---|
107 | |
---|
108 | 11 April 2007 - Dennis Wright (hadr-hep-V08-02-00) |
---|
109 | -------------------------------------------------- |
---|
110 | Add model names to all high energy models in order to complete |
---|
111 | error reporting for hadronic whiteboard. Only .hh files were |
---|
112 | affected. |
---|
113 | |
---|
114 | 22 November 2006 - Dennis Wright (hadr-hep-V08-01-00) |
---|
115 | ----------------------------------------------------- |
---|
116 | G4HEVector::G4HEVector(): |
---|
117 | change |
---|
118 | strangeness=aParticle->GetDefinition()->GetQuarkContent(2); |
---|
119 | to |
---|
120 | strangeness=aParticle->GetDefinition()->GetQuarkContent(3); |
---|
121 | |
---|
122 | In this case, ordering starts from 1, not 0 |
---|
123 | |
---|