1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // author: Vladimir.Grichine@cern.ch |
---|
27 | // |
---|
28 | // Implements data from: Barashenkov V.S., Nucleon-Nucleus Cross Section, |
---|
29 | // Preprint JINR P2-89-770, p. 12, Dubna 1989 (scanned version from KEK) |
---|
30 | // Based on G. Folger version of G4PiNuclearCrossSection class |
---|
31 | // |
---|
32 | // Modified: |
---|
33 | // 05.03.07 V.Ivanchenko - add IfZAApplicable, remove "debug" |
---|
34 | // 11.09.09 V.Ivanchenko - fixed bug in interpolation |
---|
35 | // |
---|
36 | |
---|
37 | #include "G4NucleonNuclearCrossSection.hh" |
---|
38 | #include "G4Neutron.hh" |
---|
39 | #include "G4Proton.hh" |
---|
40 | #include "G4HadTmpUtil.hh" |
---|
41 | |
---|
42 | |
---|
43 | // Group 1: He, Be, C for 44 energies |
---|
44 | |
---|
45 | const G4double G4NucleonNuclearCrossSection::e1[44] = |
---|
46 | { |
---|
47 | 0.014, 0.015, 0.017, 0.02, 0.022, 0.025, 0.027, 0.03, 0.035, 0.04, |
---|
48 | 0.045, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1, 0.12, 0.14, 0.15, |
---|
49 | 0.16, 0.18, 0.20, 0.25, 0.30, 0.35, 0.4, 0.5, 0.6, 0.7, |
---|
50 | 0.8, 0.9, 1.0, 1.5, 2.0, 3.0, 5.0, 7.0, 10.0, 20.0, |
---|
51 | 50.0, 100.0, 500.0, 1000.0 |
---|
52 | }; |
---|
53 | |
---|
54 | const G4double G4NucleonNuclearCrossSection::he_m_t[44] = |
---|
55 | { |
---|
56 | 1090, 1020, 915, 800, 710, 640, 600, 560, 500, 440, 390, 360, 295, 256, 220, 192, |
---|
57 | 168, 136, 120, 116, 114, 110, 107, 104, 106, 108, 110, 120, 126, 135, 140, 144, 146, |
---|
58 | 148, 152, 150, 146, 142, 138, 132, 129, 126, 127, 128 |
---|
59 | }; |
---|
60 | const G4double G4NucleonNuclearCrossSection::he_m_in[44] = |
---|
61 | { |
---|
62 | 0, 5, 10, 20, 35, 55, 70, 80, 90, 105, 115, 115, 100, 90, 86, 84, 84, 82, 80, 80, 80, 80, |
---|
63 | 79, 78, 80, 84, 88, 94, 100, 105, 108, 108, 108, 112, 114, 114, 112, 110, 108, 106, 104, |
---|
64 | 101, 102, 102 |
---|
65 | }; |
---|
66 | const G4double G4NucleonNuclearCrossSection::he_p_in[44] = |
---|
67 | { |
---|
68 | 0, 2, 3, 13, 30, 50, 65, 77, 90, 105, 115, 115, 100, 90, 86, 84, 84, 82, 80, 80, 80, 80, |
---|
69 | 79, 78, 80, 84, 88, 94, 100, 105, 108, 108, 108, 112, 114, 114, 112, 110, 108, 106, 104, |
---|
70 | 101, 102, 102 |
---|
71 | }; |
---|
72 | |
---|
73 | const G4double G4NucleonNuclearCrossSection::be_m_t[44] = |
---|
74 | { |
---|
75 | 1490, 1460, 1400, 1350, 1270, 1200, 1160, 1100, 1000, 910, 810, 740, 625, 575, 455, 406, |
---|
76 | 365, 310, 275, 262, 255, 240, 235, 225, 225, 230, 238, 252, 270, 282, 288, 290, 294, 303, |
---|
77 | 303, 300, 292, 284, 277, 267, 263, 264, 268, 268 |
---|
78 | }; |
---|
79 | const G4double G4NucleonNuclearCrossSection::be_m_in[44] = |
---|
80 | { |
---|
81 | 650, 640, 617, 595, 555, 520, 495, 470, 430, 385, 350, 320, 270, 250, 210, 190, 185, 178, |
---|
82 | 175, 175, 175, 175, 175, 170, 170, 172, 176, 184, 194, 200, 209, 213, 214, 216, 216, 212, |
---|
83 | 210, 210, 210, 210, 210, 210, 210, 210 |
---|
84 | }; |
---|
85 | const G4double G4NucleonNuclearCrossSection::be_p_in[44] = |
---|
86 | { |
---|
87 | 490, 540, 580, 545, 525, 495, 470, 450, 420, 370, 340, 310, 262, 242, 205, 185, 180, 175, |
---|
88 | 172, 175, 175, 175, 175, 170, 170, 172, 176, 184, 194, 200, 209, 213, 214, 216, 216, 212, |
---|
89 | 210, 210, 210, 210, 210, 210, 210, 210 |
---|
90 | }; |
---|
91 | |
---|
92 | const G4double G4NucleonNuclearCrossSection::c_m_t[44] = |
---|
93 | { |
---|
94 | 1240, 1370, 1450, 1455, 1445, 1385, 1345, 1290, 1210, 1110, 1020, 940, 800, 700, 604, 530, |
---|
95 | 475, 396, 350, 336, 320, 303, 294, 280, 280, 286, 296, 314, 330, 344, 356, 360, 364, 384, |
---|
96 | 388, 384, 364, 352, 344, 330, 324, 324, 332, 332 |
---|
97 | }; |
---|
98 | const G4double G4NucleonNuclearCrossSection::c_m_in[44] = |
---|
99 | { |
---|
100 | 590, 570, 542, 510, 500, 460, 445, 430, 395, 380, 350, 330, 295, 270, 255, 240, 228, 222, |
---|
101 | 216, 216, 210, 210, 210, 208, 210, 214, 216, 228, 240, 248, 254, 257, 260, 262, 260, 256, |
---|
102 | 252, 252, 250, 250, 248, 248, 248, 248 |
---|
103 | }; |
---|
104 | const G4double G4NucleonNuclearCrossSection::c_p_in[44] = |
---|
105 | { |
---|
106 | 310, 330, 400, 440, 450, 435, 430, 420, 385, 370, 340, 320, 288, 263, 249, 234, 222, 216, |
---|
107 | 210, 211, 205, 208, 210, 208, 210, 214, 216, 228, 240, 248, 254, 257, 260, 262, 260, 256, |
---|
108 | 252, 252, 250, 250, 248, 248, 248, 248 |
---|
109 | }; |
---|
110 | |
---|
111 | // Group 2: N, O, Na for 44 energies (e1=e2) |
---|
112 | |
---|
113 | const G4double G4NucleonNuclearCrossSection::e2[44] = |
---|
114 | { |
---|
115 | 0.014, 0.015, 0.017, .02, 0.022, 0.025, 0.027, 0.03, 0.035, .04, 0.045, 0.05, .06, 0.07, |
---|
116 | .08, 0.09, .1, .12, .14, .15, .16, .18, .20, .25, .30, .35, .4 , 0.5, 0.6, 0.7, 0.8, |
---|
117 | 0.9, 1, 1.5, 2, 3, 5, 7, 10, |
---|
118 | 20, 50, 100, 500, 1000 |
---|
119 | }; |
---|
120 | |
---|
121 | const G4double G4NucleonNuclearCrossSection::n_m_t[44] = |
---|
122 | { |
---|
123 | 1420,1480, 1537, 1550, 1525, 1500, 1480, 1425, 1340, 1260, 1175, 1090, 930, 805, 690, 612, |
---|
124 | 552, 462, 402, 384, 372, 350, 345, 326, 324, 328, 336, 356, 372, 388, 400, 408, 415, 430, |
---|
125 | 435, 432, 415, 402, 390, 375, 367, 370, 382, 385 |
---|
126 | }; |
---|
127 | const G4double G4NucleonNuclearCrossSection::n_m_in[44] = |
---|
128 | { |
---|
129 | 680, 665, 625, 580, 562, 525, 510, 485, 450, 435, 410, 387, 340, 310, 290, 280, 276, 274, |
---|
130 | 260, 258, 254, 247, 245, 240, 240, 244, 250, 260, 268, 275, 280, 285, 290, 295, 300, 294, |
---|
131 | 292, 290, 285, 285, 282, 282, 282, 282 |
---|
132 | }; |
---|
133 | const G4double G4NucleonNuclearCrossSection::n_p_in[44] = |
---|
134 | { |
---|
135 | 420, 440, 470, 490, 497, 500, 480, 462, 440, 425, 400, 377, 333, 303, 284, 274, 270, 268, |
---|
136 | 254, 252, 247, 245, 245, 240, 240, 244, 250, 260, 268, 275, 280, 285, 290, 295, 300, 294, |
---|
137 | 292, 290, 285, 285, 282, 282, 282, 282 |
---|
138 | }; |
---|
139 | |
---|
140 | const G4double G4NucleonNuclearCrossSection::o_m_t[44] = |
---|
141 | { |
---|
142 | 1520, 1570, 1630, 1660, 1647, 1623, 1595, 1555, 1475, 1395, 1290, 1207, 1035, 925, 816, |
---|
143 | 720, 645, 540, 462, 438, 415, 392, 378, 362, 361, 381, 390, 403, 417, 440, 460, 470, |
---|
144 | 479, 498, 504, 498, 477, 457, 443, 427, 420, 425, 429, 430 |
---|
145 | }; |
---|
146 | const G4double G4NucleonNuclearCrossSection::o_m_in[44] = |
---|
147 | { |
---|
148 | 750, 740, 700, 650, 620, 575, 555, 530, 505, 462, 435, 420, 375, 345, 320, 310, 300, 293, |
---|
149 | 288, 282, 282, 280, 276, 270, 271, 275, 280, 290, 295, 304, 310, 315, 318, 332, 335, 330, |
---|
150 | 323, 320, 317, 315, 315, 315, 315, 315 |
---|
151 | }; |
---|
152 | const G4double G4NucleonNuclearCrossSection::o_p_in[44] = |
---|
153 | { |
---|
154 | 460, 485, 510, 535, 537, 532, 520, 500, 460, 432, 405, 390, 350, 320, 310, 304, 293, 287, |
---|
155 | 283, 279, 279, 278, 276, 270, 271, 275, 280, 290, 295, 304, 310, 315, 318, 332, 335, 330, |
---|
156 | 323, 320, 317, 315, 315, 315, 315, 315 |
---|
157 | }; |
---|
158 | |
---|
159 | const G4double G4NucleonNuclearCrossSection::na_m_t[44] = |
---|
160 | { |
---|
161 | 1570, 1620, 1695, 1730, 1750, 1760, 1755, 1740, 1710, 1643, 1560, 1480, 1343, 1220, 1073, |
---|
162 | 953, 860, 720, 618, 582, 546, 522, 504, 484, 492, 500, 512, 538, 560, 586, 608, 622, 632, |
---|
163 | 660, 668, 664, 640, 616, 596, 568, 568, 568, 568, 568 |
---|
164 | }; |
---|
165 | const G4double G4NucleonNuclearCrossSection::na_m_in[44] = |
---|
166 | { |
---|
167 | 960, 930, 890, 822, 790, 750, 725, 686, 620, 600, 575, 540, 497, 450, 414, 390, 380, 372, |
---|
168 | 354, 360, 355, 354, 350, 350, 350, 356, 364, 384, 392, 400, 408, 410, 420, 408, 412, 420, |
---|
169 | 411, 409, 407, 403, 400, 400, 400, 400 |
---|
170 | }; |
---|
171 | const G4double G4NucleonNuclearCrossSection::na_p_in[44] = |
---|
172 | { |
---|
173 | 600, 617, 660, 675, 680, 680, 670, 650, 575, 550, 525, 490, 450, 420, 385, 367, 360, 350, |
---|
174 | 350, 350, 345, 347, 350, 350, 350, 356, 364, 384, 392, 400, 408, 410, 420, 408, 412, 420, |
---|
175 | 411, 409, 407, 403, 400, 400, 400, 400 |
---|
176 | }; |
---|
177 | |
---|
178 | // Al, Si, Ca for 45 energies |
---|
179 | |
---|
180 | const G4double G4NucleonNuclearCrossSection::e3[45] = |
---|
181 | { |
---|
182 | 0.014, 0.015, 0.016, 0.017, .02, 0.022, 0.025, 0.027, 0.03, 0.035, .04, 0.045, 0.05, |
---|
183 | .06, 0.07, .08, 0.09, .1, .12, .14, .15, .16, .18, .20, .25, .30, .35, .4 , 0.5, 0.6, |
---|
184 | 0.7, 0.8, 0.9, 1, 1.5, 2, 3, 5, 7, 10, 20, 50, 100, 500, 1000 |
---|
185 | }; |
---|
186 | |
---|
187 | const G4double G4NucleonNuclearCrossSection::al_m_t[45] = |
---|
188 | { |
---|
189 | 1735, 1750, 1760, 1795, 1830, 1855, 1885, 1895, 1900, 1870, 1835, 1785, 1710, 1522, |
---|
190 | 1350, 1212, 1080, 972, 816, 720, 678, 642, 600, 567, 558, 560, 578, 592, 616, 644, |
---|
191 | 672, 688, 708, 720, 736, 754, 736, 706, 680, 672, 646, 632, 632, 632, 632 |
---|
192 | }; |
---|
193 | const G4double G4NucleonNuclearCrossSection::al_m_in[45] = |
---|
194 | { |
---|
195 | 1000, 990, 975, 950, 905, 875, 825, 800, 762, 690, 652, 610, 570, 495, 480, 456, 444, |
---|
196 | 432, 420, 420, 420, 420, 410, 410, 400, 402, 404, 408, 424, 438, 448, 450, 454, 456, |
---|
197 | 472, 480, 466, 456, 452, 448, 444, 440, 440, 440, 440 |
---|
198 | }; |
---|
199 | const G4double G4NucleonNuclearCrossSection::al_p_in[45] = |
---|
200 | { |
---|
201 | 650, 682, 690, 715, 750, 762, 750, 740, 720, 655, 617, 575, 540, 470, 455, 532, 420, |
---|
202 | 408, 400, 403, 403, 408, 406, 404, 400, 402, 404, 408, 424, 438, 448, 450, 454, 456, |
---|
203 | 472, 480, 466, 456, 452, 448, 444, 440, 440, 440, 440 |
---|
204 | }; |
---|
205 | |
---|
206 | const G4double G4NucleonNuclearCrossSection::si_m_t[45] = |
---|
207 | { |
---|
208 | 1810, 1833, 1850, 1872, 1920, 1950, 1995, 2020, 2035, 2000, 1930, 1850, 1760, 1570, |
---|
209 | 1400, 1255, 1110, 1008, 846, 742, 696, 671, 623, 588, 584, 584, 602, 618, 645, 679, |
---|
210 | 708, 727, 746, 757, 769, 782, 771, 734, 710, 698, 672, 654, 650, 650, 650 |
---|
211 | }; |
---|
212 | const G4double G4NucleonNuclearCrossSection::si_m_in[45] = |
---|
213 | { |
---|
214 | 1060, 1035, 1015, 990, 935, 900, 860, 830, 790, 725, 665, 630, 600, 520, 504, 486, |
---|
215 | 470, 456, 444, 432, 432, 432, 418, 418, 415, 412, 416, 422, 440, 460, 472, 476, 479, |
---|
216 | 480, 492, 496, 488, 472, 472, 464, 460, 452, 448, 448, 448 |
---|
217 | }; |
---|
218 | const G4double G4NucleonNuclearCrossSection::si_p_in[45] = |
---|
219 | { |
---|
220 | 670, 700, 725, 750, 780, 780, 770, 757, 735, 690, 635, 585, 570, 490, 475, 460, 446, |
---|
221 | 431, 423, 425, 425, 425, 425, 422, 422, 412, 416, 422, 440, 460, 472, 476, 479, |
---|
222 | 480, 492, 496, 488, 472, 472, 464, 460, 452, 448, 448, 448 |
---|
223 | }; |
---|
224 | |
---|
225 | const G4double G4NucleonNuclearCrossSection::ca_m_t[45] = |
---|
226 | { |
---|
227 | 2180, 2130, 2095, 2075, 2115, 2150, 2220, 2250, 2300, 2365, 2360, 2280, 2180, 2000, |
---|
228 | 1805, 1650, 1500, 1340, 1140, 990, 940, 890, 825, 790, 770, 773, 787, 800, 830, 870, |
---|
229 | 905, 930, 950, 965, 990, 1002, 990, 965, 945, 925, 892, 860, 860, 860, 860 |
---|
230 | }; |
---|
231 | const G4double G4NucleonNuclearCrossSection::ca_m_in[45] = |
---|
232 | { |
---|
233 | 1240, 1225, 1200, 1180, 1125, 1090, 1045, 1020, 980, 925, 880, 825, 770, 680, 640, |
---|
234 | 620, 615, 600, 580, 565, 560, 560, 560, 550, 535, 530, 540, 550, 570, 595, 610, 615, |
---|
235 | 620, 622, 629, 630, 620, 612, 607, 592, 587, 580, 580, 580, 580 |
---|
236 | }; |
---|
237 | const G4double G4NucleonNuclearCrossSection::ca_p_in[45] = |
---|
238 | { |
---|
239 | 770, 800, 823, 850, 900, 925, 935, 920, 895, 835, 800, 750, 715, 640, 605, 590, 588, |
---|
240 | 573, 555, 543, 540, 540, 540, 535, 530, 530, 540, 550, 570, 595, 610, 615, |
---|
241 | 620, 622, 629, 630, 620, 612, 607, 592, 587, 580, 580, 580, 580 |
---|
242 | }; |
---|
243 | |
---|
244 | // Fe, Cu, Mo for 47 energies |
---|
245 | |
---|
246 | const G4double G4NucleonNuclearCrossSection::e4[47] = |
---|
247 | { |
---|
248 | 0.014, 0.015, 0.017, .02, 0.022, 0.025, 0.027, 0.03, 0.033, 0.035, 0.037, .04, 0.045, |
---|
249 | 0.05, 0.055, .06, 0.07, .08, 0.09, .1, .12, .14, .15, .16, .18, .20, .25, .30, .35, |
---|
250 | .4 , 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.5, 2, 3, 5, 7, 10, |
---|
251 | 20, 50, 100, 500, 1000 |
---|
252 | }; |
---|
253 | |
---|
254 | const G4double G4NucleonNuclearCrossSection::fe_m_t[47] = |
---|
255 | { |
---|
256 | 2580, 2490, 2370, 2282, 2275, 2285, 2320, 2370, 2432, 2445, 2460, 2485, 2530, 2540, |
---|
257 | 2517, 2480, 2290, 2110, 1940, 1790, 1510, 1290, 1220, 1150, 1070, 1030, 1013, 1020, |
---|
258 | 1030, 1043, 1075, 1110, 1133, 1163, 1185, 1225, 1252, 1260, 1260, 1233, 1207, 1185, |
---|
259 | 1140, 1110, 1110, 1110, 1110 |
---|
260 | }; |
---|
261 | const G4double G4NucleonNuclearCrossSection::fe_m_in[47] = |
---|
262 | { |
---|
263 | 1440, 1433, 1390, 1325, 1280, 1260, 1215, 1180, 1140, 1110, 1080, 1040, 990, 955, 920, |
---|
264 | 885, 835, 800, 780, 765, 750, 725, 720, 720, 710, 700, 700, 700, 712, 705, 735, 750, |
---|
265 | 765, 775, 780, 795, 810, 813, 810, 784, 757, 743, 735, 720, 720, 720, 720 |
---|
266 | }; |
---|
267 | const G4double G4NucleonNuclearCrossSection::fe_p_in[47] = |
---|
268 | { |
---|
269 | 900, 960, 1070, 1090, 1115, 1120, 1115, 1080, 1045, 1025, 1000, 960, 900, 885, 865, 790, |
---|
270 | 765, 740, 720, 700, 697, 697, 697, 697, 695, 690, 688, 690, 712, 705, 735, 750, |
---|
271 | 765, 775, 780, 795, 810, 813, 810, 784, 757, 743, 735, 720, 720, 720, 720 |
---|
272 | }; |
---|
273 | |
---|
274 | const G4double G4NucleonNuclearCrossSection::cu_m_t[47] = |
---|
275 | { |
---|
276 | 2920, 2800, 2615, 2480, 2455, 2430, 2440, 2460, 2500, 2530, 2560, 2615, 2690, 2720, |
---|
277 | 2700, 2645, 2500, 2320, 2140, 1970, 1670, 1460, 1380, 1285, 1200, 1160, 1140, 1147, |
---|
278 | 1163, 1170, 1200, 1237, 1265, 1285, 1305, 1328, 1375, 1390, 1395, 1370, 1335, 1315, |
---|
279 | 1270, 1230, 1230, 1230, 1230 |
---|
280 | }; |
---|
281 | const G4double G4NucleonNuclearCrossSection::cu_m_in[47] = |
---|
282 | { |
---|
283 | 1540, 1535, 1500, 1445, 1407, 1380, 1330, 1300, 1285, 1270, 1240, 1190, 1090, 1010, |
---|
284 | 940, 920, 860, 835, 820, 810, 800, 780, 775, 770, 760, 760, 758, 765, 765, 770, 795, |
---|
285 | 810, 825, 830, 840, 848, 870, 870, 868, 840, 825, 810, 803, 795, 795, 795, 795 |
---|
286 | }; |
---|
287 | const G4double G4NucleonNuclearCrossSection::cu_p_in[47] = |
---|
288 | { |
---|
289 | 935, 1000, 1060, 1190, 1220, 1250, 1240, 1210, 1150, 1130, 1115, 1050, 985, 950, 890, |
---|
290 | 870, 820, 800, 785, 780, 770, 750, 745, 740, 735, 735, 745, 760, 762, 770, 795, |
---|
291 | 810, 825, 830, 840, 848, 870, 870, 868, 840, 825, 810, 803, 795, 795, 795, 795 |
---|
292 | }; |
---|
293 | |
---|
294 | const G4double G4NucleonNuclearCrossSection::mo_m_t[47] = |
---|
295 | { |
---|
296 | 4150, 4040, 3800, 3490, 3300, 3060, 2960, 2845, 2785, 2820, 2850, 2980, 3170, 3230, |
---|
297 | 3270, 3280, 3225, 3075, 2895, 2710, 2355, 2060, 1925, 1800, 1630, 1560, 1540, 1550, |
---|
298 | 1570, 1590, 1650, 1685, 1715, 1740, 1760, 1780, 1850, 1880, 1858, 1815, 1790, 1782, |
---|
299 | 1720, 1690, 1690, 1690, 1690 |
---|
300 | }; |
---|
301 | const G4double G4NucleonNuclearCrossSection::mo_m_in[47] = |
---|
302 | { |
---|
303 | 1790, 1775, 1740, 1680, 1640, 1580, 1550, 1510, 1460, 1440, 1418, 1380, 1330, 1280, |
---|
304 | 1240, 1200, 1155, 1140, 1110, 1110, 1080, 1065, 1050, 1050, 1025, 1020, 1015, 1020, |
---|
305 | 1022, 1026, 1060, 1085, 1100, 1110, 1120, 1127, 1150, 1160, 1140, 1100, 1085, 1080, |
---|
306 | 1070, 1070, 1070, 1070, 1070 |
---|
307 | }; |
---|
308 | const G4double G4NucleonNuclearCrossSection::mo_p_in[47] = |
---|
309 | { |
---|
310 | 1025, 1080, 1190, 1380, 1440, 1495, 1475, 1420, 1350, 1310, 1300, 1290, 1250, 1200, |
---|
311 | 1170, 1130, 1095, 1060, 1040, 1022, 1020, 1016, 1016, 1016, 1016, 1012, 1005, 1005, |
---|
312 | 1005, 1010, 1060, 1085, 1100, 1110, 1120, 1127, 1150, 1160, 1140, 1100, 1085, 1080, |
---|
313 | 1070, 1070, 1070, 1070, 1070 |
---|
314 | }; |
---|
315 | |
---|
316 | // Cd, Sn, W for 48 energies |
---|
317 | |
---|
318 | const G4double G4NucleonNuclearCrossSection::e5[48] = |
---|
319 | { |
---|
320 | 0.014, 0.015, 0.017, 0.018, .02, 0.022, 0.025, 0.027, 0.03, 0.033, 0.035, .04, |
---|
321 | 0.045, 0.05, 0.055, .06, .065, 0.07, .08, 0.09, .1, .12, .14, .15, .16, .18, |
---|
322 | .20, .25, .30, .35, .4 , 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.5, 2, 3, 5, 7, 10, 20, |
---|
323 | 50, 100, 500, 1000 |
---|
324 | }; |
---|
325 | |
---|
326 | const G4double G4NucleonNuclearCrossSection::cd_m_t[48] = |
---|
327 | { |
---|
328 | 4420, 4280, 4170, 4070, 3860, 3680, 3420, 3280, 3125, 3060, 3080, 3190, 3350, 3445, |
---|
329 | 3510, 3540, 3560, 3550, 3460, 3300, 3030, 2640, 2340, 2190, 2070, 1950, 1770, 1732, |
---|
330 | 1740, 1760, 1780, 1832, 1885, 1925, 1945, 1960, 1980, 2070, 2080, 2065, 2040, 2022, |
---|
331 | 1980, 1940, 1870, 1870, 1870, 1870 |
---|
332 | }; |
---|
333 | const G4double G4NucleonNuclearCrossSection::cd_m_in[48]= |
---|
334 | { |
---|
335 | 1920, 1910, 1880, 1860, 1840, 1800, 1760, 1720, 1675, 1630, 1600, 1520, 1465, 1420, |
---|
336 | 1390, 1340, 1310, 1280, 1275, 1235, 1225, 1200, 1170, 1170, 1170, 1165, 1145, 1140, |
---|
337 | 1140, 1135, 1160, 1180, 1220, 1240, 1250, 1260, 1265, 1270, 1275, 1250, 1222, 1222, |
---|
338 | 1220, 1215, 1190, 1190, 1190, 1190 |
---|
339 | }; |
---|
340 | const G4double G4NucleonNuclearCrossSection::cd_p_in[48] = |
---|
341 | { |
---|
342 | 1020, 1100, 1225, 1290, 1440, 1520, 1575, 1560, 1518, 1460, 1420, 1400, 1365, 1340, |
---|
343 | 1300, 1280, 1260, 1200, 1190, 1160, 1125, 1125, 1125, 1125, 1125, 1125, 1120, 1120, |
---|
344 | 1120, 1118, 1146, 1180, 1220, 1240, 1250, 1260, 1265, 1270, 1275, 1250, 1222, 1222, |
---|
345 | 1220, 1215, 1190, 1190, 1190, 1190 |
---|
346 | }; |
---|
347 | |
---|
348 | const G4double G4NucleonNuclearCrossSection::sn_m_t[48] = |
---|
349 | { |
---|
350 | 4420, 4400, 4260, 4150, 3980, 3770, 3530, 3370, 3245, 3180, 3170, 3260, 3400, 3500, |
---|
351 | 3560, 3610, 3650, 3680, 3580, 3390, 3190, 2760, 2430, 2295, 2175, 1990, 1880, 1810, |
---|
352 | 1820, 1840, 1865, 1940, 1985, 2020, 2040, 2060, 2080, 2160, 2185, 2180, 2110, 2105, |
---|
353 | 2080, 2050, 1980, 1980, 1980, 1980 |
---|
354 | }; |
---|
355 | const G4double G4NucleonNuclearCrossSection::sn_m_in[48] = |
---|
356 | { |
---|
357 | 1945, 1940, 1905, 1890, 1860, 1830, 1780, 1755, 1717, 1680, 1645, 1570, 1500, 1455, |
---|
358 | 1410, 1370, 1340, 1320, 1290, 1285, 1260, 1240, 1235, 1212, 1200, 1200, 1200, 1190, |
---|
359 | 1190, 1200, 1210, 1240, 1270, 1285, 1300, 1300, 1310, 1320, 1320, 1290, 1240, 1240, |
---|
360 | 1240, 1240, 1240, 1240, 1240, 1240 |
---|
361 | }; |
---|
362 | const G4double G4NucleonNuclearCrossSection::sn_p_in[48] = |
---|
363 | { |
---|
364 | 1020, 1080, 1270, 1335, 1465, 1505, 1610, 1610, 1550, 1535, 1500, 1440, 1407, 1370, |
---|
365 | 1340, 1300, 1285, 1260, 1230, 1215, 1200, 1180, 1170, 1170, 1165, 1165, 1170, 1165, |
---|
366 | 1165, 1183, 1195, 1240, 1270, 1285, 1300, 1300, 1310, 1320, 1320, 1290, 1240, 1240, |
---|
367 | 1240, 1240, 1240, 1240, 1240, 1240 |
---|
368 | }; |
---|
369 | |
---|
370 | const G4double G4NucleonNuclearCrossSection::w_m_t[48] = |
---|
371 | { |
---|
372 | 5320, 5430, 5480, 5450, 5330, 5190, 4960, 4790, 4550, 4340, 4200, 4070, 4000, 4030, |
---|
373 | 4125, 4220, 4270, 4390, 4440, 4360, 4200, 3800, 3380, 3200, 3040, 2790, 2660, 2575, |
---|
374 | 2575, 2600, 2640, 2690, 2755, 2790, 2812, 2837, 2850, 2950, 3000, 2970, 2940, 2910, |
---|
375 | 2880, 2820, 2730, 2730, 2730, 2730 |
---|
376 | }; |
---|
377 | const G4double G4NucleonNuclearCrossSection::w_m_in[48] = |
---|
378 | { |
---|
379 | 2440, 2400, 2370, 2350, 2310, 2270, 2220, 2195, 2150, 2100, 2070, 2010, 1945, 1900, |
---|
380 | 1850, 1820, 1780, 1760, 1730, 1720, 1680, 1680, 1660, 1660, 1650, 1650, 1640, 1640, |
---|
381 | 1612, 1615, 1625, 1640, 1700, 1720, 1730, 1740, 1750, 1780, 1780, 1750, 1740, 1735, |
---|
382 | 1710, 1695, 1680, 1680, 1680, 1680 |
---|
383 | }; |
---|
384 | const G4double G4NucleonNuclearCrossSection::w_p_in[48] = |
---|
385 | { |
---|
386 | 950, 1020, 1240, 1400, 1560, 1670, 1760, 1830, 1850, 1855, 1870, 1840, 1800, 1770, |
---|
387 | 1740, 1715, 1680, 1670, 1650, 1620, 1610, 1600, 1600, 1600, 1600, 1600, 1600, 1595, |
---|
388 | 1585, 1595, 1615, 1640, 1700, 1720, 1730, 1740, 1750, 1780, 1780, 1750, 1740, 1735, |
---|
389 | 1710, 1695, 1680, 1680, 1680, 1680 |
---|
390 | }; |
---|
391 | |
---|
392 | // Pb, U for 46 energies |
---|
393 | |
---|
394 | const G4double G4NucleonNuclearCrossSection::e6[46] = |
---|
395 | { |
---|
396 | 0.014, 0.015, 0.017, 0.019, 0.02, 0.022, 0.025, 0.027, 0.03, 0.035, |
---|
397 | 0.04, 0.045, 0.05, 0.055, 0.06, 0.07, 0.08, 0.09, 0.1, 0.12, |
---|
398 | 0.14, 0.15, 0.16, 0.18, 0.20, 0.25, 0.30, 0.35, 0.4 , 0.5, |
---|
399 | 0.6, 0.7, 0.8, 0.9, 1.0, 1.5, 2.0, 3.0, 5.0, 7.0, |
---|
400 | 10.0, 20.0, 50.0, 100.0, 500.0, 1000.0 |
---|
401 | }; |
---|
402 | |
---|
403 | const G4double G4NucleonNuclearCrossSection::pb_m_t[46] = |
---|
404 | { |
---|
405 | 5300, 5440, 5720, 5880, 5765, 5745, 5480, 5280, 4970, 4550, 4390, 4300, 4265, 4325, |
---|
406 | 4450, 4540, 4740, 4710, 4600, 4100, 3660, 3480, 3300, 3000, 2890, 2865, 2855, 2850, |
---|
407 | 2865, 2920, 2955, 3000, 3030, 3060, 3105, 3240, 3290, 3270, 3240, 3180, 3090, 3060, |
---|
408 | 2970, 2970, 2970, 2970 |
---|
409 | |
---|
410 | }; |
---|
411 | const G4double G4NucleonNuclearCrossSection::pb_m_in[46] = |
---|
412 | { |
---|
413 | 2580, 2550, 2505, 2462, 2460, 2435, 2380, 2355, 2280, 2180, 2170, 2130, 2080, 2035, |
---|
414 | 1980, 1940, 1900, 1870, 1840, 1800, 1800, 1800, 1780, 1760, 1760, 1740, 1730, 1725, |
---|
415 | 1740, 1785, 1815, 1835, 1860, 1890, 1895, 1920, 1920, 1890, 1850, 1835, 1830, 1830, |
---|
416 | 1830, 1830, 1830, 1830 |
---|
417 | }; |
---|
418 | const G4double G4NucleonNuclearCrossSection::pb_p_in[46] = |
---|
419 | { |
---|
420 | 900, 1060, 1200, 1420, 1515, 1620, 1750, 1800, 1915, 2030, 1960, 1940, 1910, 1860, |
---|
421 | 1840, 1780, 1770, 1760, 1740, 1720, 1725, 1740, 1740, 1730, 1720, 1700, 1710, 1720, |
---|
422 | 1730, 1740, 1815, 1835, 1860, 1890, 1895, 1920, 1920, 1890, 1850, 1835, 1830, 1830, |
---|
423 | 1830, 1830, 1830, 1830 |
---|
424 | }; |
---|
425 | |
---|
426 | const G4double G4NucleonNuclearCrossSection::u_m_t[46] = |
---|
427 | { |
---|
428 | 5800, 5940, 6160, 6345, 6360, 6350, 6170, 6020, 5760, 5350, 4990, 4800, 4710, 4690, |
---|
429 | 4760, 5040, 5190, 5200, 5080, 4600, 4120, 3920, 3720, 3420, 3240, 3150, 3160, 3180, |
---|
430 | 3210, 3240, 3280, 3350, 3390, 3435, 3480, 3560, 3585, 3580, 3540, 3500, 3470, 3410, |
---|
431 | 3335, 3335, 3335, 3335 |
---|
432 | }; |
---|
433 | const G4double G4NucleonNuclearCrossSection::u_m_in[46] = |
---|
434 | { |
---|
435 | 2820, 2770, 2700, 2660, 2645, 2620, 2580, 2550, 2515, 2450, 2390, 2320, 2260, 2225, |
---|
436 | 2200, 2140, 2080, 2060, 2040, 2000, 1980, 1965, 1960, 1930, 1920, 1890, 1905, 1920, |
---|
437 | 1945, 1970, 1985, 2010, 2040, 2070, 2080, 2090, 2095, 2080, 2063, 2060, 2050, 2040, |
---|
438 | 2005, 2005, 2005, 2005 |
---|
439 | }; |
---|
440 | const G4double G4NucleonNuclearCrossSection::u_p_in[46] = |
---|
441 | { |
---|
442 | 800, 900, 1100, 1300, 1410, 1510, 1680, 1800, 2000, 2200, 2080, 2060, 2035, 2100, |
---|
443 | 2030, 2030, 2000, 1960, 1960, 1960, 1940, 1925, 1920, 1905, 1890, 1860, 1880, 1910, |
---|
444 | 1930, 1945, 1985, 2010, 2040, 2070, 2080, 2090, 2095, 2080, 2063, 2060, 2050, 2040, |
---|
445 | 2005, 2005, 2005, 2005 |
---|
446 | }; |
---|
447 | |
---|
448 | using namespace std; |
---|
449 | |
---|
450 | /////////////////////////////////////////////////////////////////////////////// |
---|
451 | |
---|
452 | G4NucleonNuclearCrossSection::G4NucleonNuclearCrossSection() |
---|
453 | :fTotalXsc(0.0), fElasticXsc(0.0) |
---|
454 | { |
---|
455 | theNeutron = G4Neutron::Neutron(); |
---|
456 | theProton = G4Proton::Proton(); |
---|
457 | |
---|
458 | // He, Be, C |
---|
459 | |
---|
460 | thePimData.push_back(new G4PiData(he_m_t, he_m_in, e1, 44)); |
---|
461 | thePipData.push_back(new G4PiData(he_m_t, he_p_in, e1, 44)); |
---|
462 | |
---|
463 | thePimData.push_back(new G4PiData(be_m_t, be_m_in, e1, 44)); |
---|
464 | thePipData.push_back(new G4PiData(be_m_t, be_p_in, e1, 44)); |
---|
465 | |
---|
466 | thePimData.push_back(new G4PiData(c_m_t, c_m_in, e1, 44)); |
---|
467 | thePipData.push_back(new G4PiData(c_m_t, c_p_in, e1, 44)); |
---|
468 | |
---|
469 | // N, O, Na |
---|
470 | |
---|
471 | thePimData.push_back(new G4PiData(n_m_t, n_m_in, e2, 44)); |
---|
472 | thePipData.push_back(new G4PiData(n_m_t, n_p_in, e2, 44)); |
---|
473 | |
---|
474 | thePimData.push_back(new G4PiData(o_m_t, o_m_in, e2, 44)); |
---|
475 | thePipData.push_back(new G4PiData(o_m_t, o_p_in, e2, 44)); |
---|
476 | |
---|
477 | thePimData.push_back(new G4PiData(na_m_t, na_m_in, e2, 44)); |
---|
478 | thePipData.push_back(new G4PiData(na_m_t, na_p_in, e2, 44)); |
---|
479 | |
---|
480 | // Al, Si, Ca |
---|
481 | |
---|
482 | thePimData.push_back(new G4PiData(al_m_t, al_m_in, e3, 45)); |
---|
483 | thePipData.push_back(new G4PiData(al_m_t, al_p_in, e3, 45)); |
---|
484 | |
---|
485 | thePimData.push_back(new G4PiData(si_m_t, si_m_in, e3, 45)); |
---|
486 | thePipData.push_back(new G4PiData(si_m_t, si_p_in, e3, 45)); |
---|
487 | |
---|
488 | thePimData.push_back(new G4PiData(ca_m_t, ca_m_in, e3, 45)); |
---|
489 | thePipData.push_back(new G4PiData(ca_m_t, ca_p_in, e3, 45)); |
---|
490 | |
---|
491 | // Fe, Cu, Mo |
---|
492 | |
---|
493 | thePimData.push_back(new G4PiData(fe_m_t, fe_m_in, e4, 47)); |
---|
494 | thePipData.push_back(new G4PiData(fe_m_t, fe_p_in, e4, 47)); |
---|
495 | |
---|
496 | thePimData.push_back(new G4PiData(cu_m_t, cu_m_in, e4, 47)); |
---|
497 | thePipData.push_back(new G4PiData(cu_m_t, cu_p_in, e4, 47)); |
---|
498 | |
---|
499 | thePimData.push_back(new G4PiData(mo_m_t, mo_m_in, e4, 47)); |
---|
500 | thePipData.push_back(new G4PiData(mo_m_t, mo_p_in, e4, 47)); |
---|
501 | |
---|
502 | // Cd, Sn, W |
---|
503 | |
---|
504 | thePimData.push_back(new G4PiData(cd_m_t, cd_m_in, e5, 48)); |
---|
505 | thePipData.push_back(new G4PiData(cd_m_t, cd_p_in, e5, 48)); |
---|
506 | |
---|
507 | thePimData.push_back(new G4PiData(sn_m_t, sn_m_in, e5, 48)); |
---|
508 | thePipData.push_back(new G4PiData(sn_m_t, sn_p_in, e5, 48)); |
---|
509 | |
---|
510 | thePimData.push_back(new G4PiData(w_m_t, w_m_in, e5, 48)); |
---|
511 | thePipData.push_back(new G4PiData(w_m_t, w_p_in, e5, 48)); |
---|
512 | |
---|
513 | // Pb, U |
---|
514 | |
---|
515 | thePimData.push_back(new G4PiData(pb_m_t, pb_m_in, e6, 46)); |
---|
516 | thePipData.push_back(new G4PiData(pb_m_t, pb_p_in, e6, 46)); |
---|
517 | |
---|
518 | thePimData.push_back(new G4PiData(u_m_t, u_m_in, e6, 46)); |
---|
519 | thePipData.push_back(new G4PiData(u_m_t, u_p_in, e6, 46)); |
---|
520 | |
---|
521 | theZ.push_back(2); // He |
---|
522 | theZ.push_back(4); // Be |
---|
523 | theZ.push_back(6); // C |
---|
524 | theZ.push_back(7); // N |
---|
525 | theZ.push_back(8); // O |
---|
526 | theZ.push_back(11); // Na |
---|
527 | theZ.push_back(13); // Al |
---|
528 | theZ.push_back(14); // Si |
---|
529 | theZ.push_back(20); // Ca |
---|
530 | theZ.push_back(26); // Fe |
---|
531 | theZ.push_back(29); // Cu |
---|
532 | theZ.push_back(42); // Mo |
---|
533 | theZ.push_back(48); // Cd |
---|
534 | theZ.push_back(50); // Sn |
---|
535 | theZ.push_back(74); // W |
---|
536 | theZ.push_back(82); // Pb |
---|
537 | theZ.push_back(92); // U |
---|
538 | |
---|
539 | } |
---|
540 | |
---|
541 | /////////////////////////////////////////////////////////////////////////////// |
---|
542 | // |
---|
543 | |
---|
544 | G4NucleonNuclearCrossSection::~G4NucleonNuclearCrossSection() |
---|
545 | { |
---|
546 | std::for_each(thePimData.begin(), thePimData.end(), G4PiData::Delete()); |
---|
547 | std::for_each(thePipData.begin(), thePipData.end(), G4PiData::Delete()); |
---|
548 | } |
---|
549 | |
---|
550 | //////////////////////////////////////////////////////////////////////////// |
---|
551 | // |
---|
552 | |
---|
553 | G4double G4NucleonNuclearCrossSection:: |
---|
554 | GetCrossSection(const G4DynamicParticle* aParticle, |
---|
555 | const G4Element* anElement, G4double) |
---|
556 | |
---|
557 | { |
---|
558 | G4int Z = G4lrint(anElement->GetZ()); |
---|
559 | G4int A = G4lrint(anElement->GetN()); |
---|
560 | return GetZandACrossSection(aParticle, Z, A, 0.); |
---|
561 | } |
---|
562 | |
---|
563 | //////////////////////////////////////////////////////////////////////////// |
---|
564 | // |
---|
565 | |
---|
566 | G4bool |
---|
567 | G4NucleonNuclearCrossSection::IsApplicable(const G4DynamicParticle* aParticle, |
---|
568 | const G4Element* anElement) |
---|
569 | { |
---|
570 | G4int Z = G4lrint(anElement->GetZ()); |
---|
571 | G4int A = G4lrint(anElement->GetN()); |
---|
572 | return IsIsoApplicable(aParticle, Z, A); |
---|
573 | } |
---|
574 | |
---|
575 | //////////////////////////////////////////////////////////////////////////// |
---|
576 | // |
---|
577 | |
---|
578 | G4bool |
---|
579 | G4NucleonNuclearCrossSection::IsIsoApplicable(const G4DynamicParticle* aParticle, |
---|
580 | G4int Z, G4int) |
---|
581 | { |
---|
582 | G4bool result = false; |
---|
583 | if(aParticle->GetDefinition() == theNeutron ) result = true; |
---|
584 | if(aParticle->GetDefinition() == theProton) result = true; |
---|
585 | if(Z < 2) result = false; |
---|
586 | if(aParticle->GetKineticEnergy() > 999.9*GeV) result = false; |
---|
587 | return result; |
---|
588 | } |
---|
589 | |
---|
590 | |
---|
591 | //////////////////////////////////////////////////////////////////////////// |
---|
592 | // |
---|
593 | |
---|
594 | G4double G4NucleonNuclearCrossSection:: |
---|
595 | GetZandACrossSection(const G4DynamicParticle* aParticle, |
---|
596 | G4int zElement, G4int, G4double ) |
---|
597 | { |
---|
598 | G4double kineticEnergy = aParticle->GetKineticEnergy(); |
---|
599 | |
---|
600 | G4double result = 0; |
---|
601 | G4int Z = zElement; |
---|
602 | |
---|
603 | // G4cout<<"Z = "<<Z<<G4endl; |
---|
604 | |
---|
605 | size_t it = 0; |
---|
606 | |
---|
607 | while( it < theZ.size() && Z > theZ[it] ) {++it;} |
---|
608 | if(it >= theZ.size()) it = theZ.size() - 1; |
---|
609 | |
---|
610 | if( Z > theZ[it] ) Z = theZ[it]; |
---|
611 | G4int Z1, Z2; |
---|
612 | G4double x1, x2, xt1, xt2; |
---|
613 | |
---|
614 | if(aParticle->GetDefinition() == theNeutron ) |
---|
615 | { |
---|
616 | if( theZ[it] == Z ) |
---|
617 | { |
---|
618 | result = thePimData[it]->ReactionXSection(kineticEnergy); |
---|
619 | fTotalXsc = thePimData[it]->TotalXSection(kineticEnergy); |
---|
620 | } |
---|
621 | else |
---|
622 | { |
---|
623 | x1 = thePimData[it-1]->ReactionXSection(kineticEnergy); |
---|
624 | xt1 = thePimData[it-1]->TotalXSection(kineticEnergy); |
---|
625 | Z1 = theZ[it-1]; |
---|
626 | x2 = thePimData[it]->ReactionXSection(kineticEnergy); |
---|
627 | xt2 = thePimData[it]->TotalXSection(kineticEnergy); |
---|
628 | Z2 = theZ[it]; |
---|
629 | |
---|
630 | result = Interpolate(Z1, Z2, Z, x1, x2); |
---|
631 | fTotalXsc = Interpolate(Z1, Z2, Z, xt1, xt2); |
---|
632 | } |
---|
633 | } |
---|
634 | else if(aParticle->GetDefinition() == theProton) |
---|
635 | { |
---|
636 | if( theZ[it] == Z ) |
---|
637 | { |
---|
638 | // at high energies, when no data for proton, use neutron |
---|
639 | |
---|
640 | std::vector<G4PiData *> * theData = &thePimData; |
---|
641 | |
---|
642 | if( thePipData[it]->AppliesTo(kineticEnergy) ) |
---|
643 | { |
---|
644 | theData = &thePipData; |
---|
645 | } |
---|
646 | result = theData->operator[](it)->ReactionXSection(kineticEnergy); |
---|
647 | fTotalXsc = theData->operator[](it)->TotalXSection(kineticEnergy); |
---|
648 | |
---|
649 | } |
---|
650 | else |
---|
651 | { |
---|
652 | std::vector<G4PiData*>* theLData = &thePimData; |
---|
653 | |
---|
654 | if(thePipData[it-1]->AppliesTo(kineticEnergy)) |
---|
655 | { |
---|
656 | theLData = &thePipData; |
---|
657 | } |
---|
658 | std::vector<G4PiData *> * theHData = &thePimData; |
---|
659 | |
---|
660 | if( thePipData[it]->AppliesTo(kineticEnergy) ) |
---|
661 | { |
---|
662 | theHData = &thePipData; |
---|
663 | } |
---|
664 | x1 = theLData->operator[](it-1)->ReactionXSection(kineticEnergy); |
---|
665 | xt1 = theLData->operator[](it-1)->TotalXSection(kineticEnergy); |
---|
666 | Z1 = theZ[it-1]; |
---|
667 | x2 = theHData->operator[](it)->ReactionXSection(kineticEnergy); |
---|
668 | xt2 = theHData->operator[](it)->TotalXSection(kineticEnergy); |
---|
669 | Z2 = theZ[it]; |
---|
670 | |
---|
671 | result = Interpolate(Z1, Z2, Z, x1, x2); |
---|
672 | fTotalXsc = Interpolate(Z1, Z2, Z, xt1, xt2); |
---|
673 | } |
---|
674 | } |
---|
675 | fElasticXsc = fTotalXsc - result; |
---|
676 | if( fElasticXsc < 0.) fElasticXsc = 0.; |
---|
677 | |
---|
678 | return result; |
---|
679 | } |
---|
680 | |
---|
681 | ///////////////////////////////////////////////////////////////////////////// |
---|
682 | // |
---|
683 | |
---|
684 | G4double G4NucleonNuclearCrossSection:: |
---|
685 | Interpolate(G4int Z1, G4int Z2, G4int Z, G4double x1, G4double x2) |
---|
686 | { |
---|
687 | // Nucleon numbers obtained from G4NistManager G4 8.0 |
---|
688 | |
---|
689 | static G4double alpha = 2./3.; |
---|
690 | |
---|
691 | static const G4double A[92] = |
---|
692 | { |
---|
693 | 1.0001, 4.0000, 6.9241, 9.0000, 10.801, 12.011, 14.004, 16.004, 19.000, 20.188, |
---|
694 | 23.000, 24.320, 27.000, 28.109, 31.000, 32.094, 35.484, 39.985, 39.135, 40.116, |
---|
695 | 45.000, 47.918, 50.998, 52.055, 55.000, 55.910, 59.000, 58.760, 63.617, 65.468, |
---|
696 | 69.798, 72.691, 75.000, 79.042, 79.986, 83.887, 85.557, 87.710, 89.000, 91.318, |
---|
697 | 93.000, 96.025, 98.000, 101.16, 103.00, 106.51, 107.96, 112.51, 114.91, 118.81, |
---|
698 | 121.86, 127.70, 127.00, 131.39, 133.00, 137.42, 139.00, 140.21, 141.00, 144.32, |
---|
699 | 145.00, 150.45, 152.04, 157.33, 159.00, 162.57, 165.00, 167.32, 169.00, 173.10, |
---|
700 | 175.03, 178.54, 181.00, 183.89, 186.25, 190.27, 192.25, 195.11, 197.00, 200.63, |
---|
701 | 204.41, 207.24, 209.00, 209.00, 210.00, 222.00, 223.00, 226.00, 227.00, 232.00, |
---|
702 | 231.00, 237.98 |
---|
703 | }; |
---|
704 | static G4bool NeedInit = true; |
---|
705 | |
---|
706 | static G4double A75[92]; |
---|
707 | |
---|
708 | if ( NeedInit ) |
---|
709 | { |
---|
710 | for (G4int i=0; i<92; ++i) |
---|
711 | { |
---|
712 | A75[i] = std::pow(A[i], alpha); // interpolate by square ~ A^(2/3) |
---|
713 | } |
---|
714 | NeedInit=false; |
---|
715 | } |
---|
716 | |
---|
717 | // for tabulated data, cross section scales with A^(2/3) |
---|
718 | G4double r1 = x1 / A75[Z1-1] * A75[Z-1]; |
---|
719 | G4double r2 = x2 / A75[Z2-1] * A75[Z-1]; |
---|
720 | G4double result = 0.5*(r1+r2); |
---|
721 | |
---|
722 | // More precise average |
---|
723 | if(Z1 != Z2) { |
---|
724 | G4double alp1 = (A[Z-1] - A[Z1-1]); |
---|
725 | G4double alp2 = (A[Z2-1] - A[Z-1]); |
---|
726 | result = (r1*alp2 + r2*alp1)/(alp1 + alp2); |
---|
727 | } |
---|
728 | // G4cout << "x1/2, z1/2 z" <<x1<<" "<<x2<<" "<<Z1<<" "<<Z2<<" "<<Z<<G4endl; |
---|
729 | // G4cout << "res1/2 " << r1 <<" " << r2 <<" " << result<< G4endl; |
---|
730 | return result; |
---|
731 | } |
---|