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 | // $Id: G4PreCompoundDeuteron.cc,v 1.5 2009/02/13 18:57:32 vnivanch Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ |
---|
28 | // |
---|
29 | // ------------------------------------------------------------------- |
---|
30 | // |
---|
31 | // GEANT4 Class file |
---|
32 | // |
---|
33 | // |
---|
34 | // File name: G4PreCompoundDeuteron |
---|
35 | // |
---|
36 | // Author: V.Lara |
---|
37 | // |
---|
38 | // Modified: |
---|
39 | // 21.08.2008 J. M. Quesada add choice of options |
---|
40 | // 10.02.2009 J. M. Quesada set default opt1 |
---|
41 | // |
---|
42 | |
---|
43 | #include "G4PreCompoundDeuteron.hh" |
---|
44 | |
---|
45 | G4ReactionProduct * G4PreCompoundDeuteron::GetReactionProduct() const |
---|
46 | { |
---|
47 | G4ReactionProduct * theReactionProduct = |
---|
48 | new G4ReactionProduct(G4Deuteron::DeuteronDefinition()); |
---|
49 | theReactionProduct->SetMomentum(GetMomentum().vect()); |
---|
50 | theReactionProduct->SetTotalEnergy(GetMomentum().e()); |
---|
51 | #ifdef PRECOMPOUND_TEST |
---|
52 | theReactionProduct->SetCreatorModel("G4PrecompoundModel"); |
---|
53 | #endif |
---|
54 | return theReactionProduct; |
---|
55 | } |
---|
56 | |
---|
57 | |
---|
58 | G4double G4PreCompoundDeuteron::FactorialFactor(const G4double N, const G4double P) |
---|
59 | { |
---|
60 | return (N-1.0)*(N-2.0)*(P-1.0)*P/2.0; |
---|
61 | } |
---|
62 | |
---|
63 | G4double G4PreCompoundDeuteron::CoalescenceFactor(const G4double A) |
---|
64 | { |
---|
65 | return 16.0/A; |
---|
66 | } |
---|
67 | |
---|
68 | G4double G4PreCompoundDeuteron::GetRj(const G4int NumberParticles, const G4int NumberCharged) |
---|
69 | { |
---|
70 | G4double rj = 0.0; |
---|
71 | G4double denominator = NumberParticles*(NumberParticles-1); |
---|
72 | if(NumberCharged >=1 && (NumberParticles-NumberCharged) >=1) { |
---|
73 | rj = 2.0*static_cast<G4double>(NumberCharged*(NumberParticles-NumberCharged)) |
---|
74 | / static_cast<G4double>(denominator); |
---|
75 | } |
---|
76 | return rj; |
---|
77 | } |
---|
78 | |
---|
79 | //////////////////////////////////////////////////////////////////////////////////// |
---|
80 | //J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections |
---|
81 | //OPT=0 Dostrovski's parameterization |
---|
82 | //OPT=1,2 Chatterjee's paramaterization |
---|
83 | //OPT=3,4 Kalbach's parameterization |
---|
84 | // |
---|
85 | G4double G4PreCompoundDeuteron::CrossSection(const G4double K) |
---|
86 | { |
---|
87 | |
---|
88 | ResidualA=GetRestA(); |
---|
89 | ResidualZ=GetRestZ(); |
---|
90 | theA=GetA(); |
---|
91 | theZ=GetZ(); |
---|
92 | ResidualAthrd=std::pow(ResidualA,0.33333); |
---|
93 | FragmentA=GetA()+GetRestA(); |
---|
94 | FragmentAthrd=std::pow(FragmentA,0.33333); |
---|
95 | |
---|
96 | |
---|
97 | if (OPTxs==0) return GetOpt0( K); |
---|
98 | else if( OPTxs==1 || OPTxs==2) return GetOpt12( K); |
---|
99 | else if (OPTxs==3 || OPTxs==4) return GetOpt34( K); |
---|
100 | else{ |
---|
101 | std::ostringstream errOs; |
---|
102 | errOs << "BAD DEUTERON CROSS SECTION OPTION !!" <<G4endl; |
---|
103 | throw G4HadronicException(__FILE__, __LINE__, errOs.str()); |
---|
104 | return 0.; |
---|
105 | } |
---|
106 | } |
---|
107 | |
---|
108 | // *********************** OPT=0 : Dostrovski's cross section ***************************** |
---|
109 | |
---|
110 | G4double G4PreCompoundDeuteron::GetOpt0(const G4double K) |
---|
111 | { |
---|
112 | const G4double r0 = G4PreCompoundParameters::GetAddress()->Getr0(); |
---|
113 | // cross section is now given in mb (r0 is in mm) for the sake of consistency |
---|
114 | //with the rest of the options |
---|
115 | return 1.e+25*pi*(r0*ResidualAthrd)*(r0*ResidualAthrd)*GetAlpha()*(1.+GetBeta()/K); |
---|
116 | } |
---|
117 | // |
---|
118 | //--------- |
---|
119 | // |
---|
120 | G4double G4PreCompoundDeuteron::GetAlpha() |
---|
121 | { |
---|
122 | G4double C = 0.0; |
---|
123 | G4double aZ = GetZ() + GetRestZ(); |
---|
124 | if (aZ >= 70) |
---|
125 | { |
---|
126 | C = 0.10; |
---|
127 | } |
---|
128 | else |
---|
129 | { |
---|
130 | C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; |
---|
131 | } |
---|
132 | return 1.0 + C/2.0; |
---|
133 | } |
---|
134 | // |
---|
135 | //--------- |
---|
136 | // |
---|
137 | G4double G4PreCompoundDeuteron::GetBeta() |
---|
138 | { |
---|
139 | return -GetCoulombBarrier(); |
---|
140 | } |
---|
141 | // |
---|
142 | //********************* OPT=1,2 : Chatterjee's cross section ************************ |
---|
143 | //(fitting to cross section from Bechetti & Greenles OM potential) |
---|
144 | |
---|
145 | G4double G4PreCompoundDeuteron::GetOpt12(const G4double K) |
---|
146 | { |
---|
147 | |
---|
148 | G4double Kc=K; |
---|
149 | |
---|
150 | // JMQ xsec is set constat above limit of validity |
---|
151 | if (K>50) Kc=50; |
---|
152 | |
---|
153 | G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs; |
---|
154 | //G4double Eo(0),epsilon1(0),epsilon2(0),discri(0); |
---|
155 | |
---|
156 | |
---|
157 | G4double p0 = -38.21; |
---|
158 | G4double p1 = 922.6; |
---|
159 | G4double p2 = -2804.; |
---|
160 | G4double landa0 = -0.0323; |
---|
161 | G4double landa1 = -5.48; |
---|
162 | G4double mu0 = 336.1; |
---|
163 | G4double mu1 = 0.48; |
---|
164 | G4double nu0 = 524.3; |
---|
165 | G4double nu1 = -371.8; |
---|
166 | G4double nu2 = -5.924; |
---|
167 | G4double delta=1.2; |
---|
168 | |
---|
169 | |
---|
170 | Ec = 1.44*theZ*ResidualZ/(1.5*ResidualAthrd+delta); |
---|
171 | p = p0 + p1/Ec + p2/(Ec*Ec); |
---|
172 | landa = landa0*ResidualA + landa1; |
---|
173 | mu = mu0*std::pow(ResidualA,mu1); |
---|
174 | nu = std::pow(ResidualA,mu1)*(nu0 + nu1*Ec + nu2*(Ec*Ec)); |
---|
175 | q = landa - nu/(Ec*Ec) - 2*p*Ec; |
---|
176 | r = mu + 2*nu/Ec + p*(Ec*Ec); |
---|
177 | |
---|
178 | ji=std::max(Kc,Ec); |
---|
179 | if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;} |
---|
180 | else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;} |
---|
181 | |
---|
182 | if (xs <0.0) {xs=0.0;} |
---|
183 | |
---|
184 | return xs; |
---|
185 | |
---|
186 | } |
---|
187 | |
---|
188 | // *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)************* |
---|
189 | G4double G4PreCompoundDeuteron::GetOpt34(const G4double K) |
---|
190 | // ** d from o.m. of perey and perey |
---|
191 | { |
---|
192 | |
---|
193 | G4double landa, mu, nu, p ,signor(1.),sig; |
---|
194 | G4double ec,ecsq,xnulam,etest(0.),a; |
---|
195 | G4double b,ecut,cut,ecut2,geom,elab; |
---|
196 | |
---|
197 | G4double flow = 1.e-18; |
---|
198 | G4double spill= 1.e+18; |
---|
199 | |
---|
200 | |
---|
201 | |
---|
202 | G4double p0 = 0.798; |
---|
203 | G4double p1 = 420.3; |
---|
204 | G4double p2 = -1651.; |
---|
205 | G4double landa0 = 0.00619; |
---|
206 | G4double landa1 = -7.54; |
---|
207 | G4double mu0 = 583.5; |
---|
208 | G4double mu1 = 0.337; |
---|
209 | G4double nu0 = 421.8; |
---|
210 | G4double nu1 = -474.5; |
---|
211 | G4double nu2 = -3.592; |
---|
212 | |
---|
213 | |
---|
214 | G4double ra=0.80; |
---|
215 | |
---|
216 | //JMQ 13/02/09 increase of reduced radius to lower the barrier |
---|
217 | // ec = 1.44 * theZ * ResidualZ / (1.5*ResidualAthrd+ra); |
---|
218 | ec = 1.44 * theZ * ResidualZ / (1.7*ResidualAthrd+ra); |
---|
219 | ecsq = ec * ec; |
---|
220 | p = p0 + p1/ec + p2/ecsq; |
---|
221 | landa = landa0*ResidualA + landa1; |
---|
222 | a = std::pow(ResidualA,mu1); |
---|
223 | mu = mu0 * a; |
---|
224 | nu = a* (nu0+nu1*ec+nu2*ecsq); |
---|
225 | xnulam = nu / landa; |
---|
226 | if (xnulam > spill) xnulam=0.; |
---|
227 | if (xnulam >= flow) etest = 1.2 *std::sqrt(xnulam); |
---|
228 | |
---|
229 | a = -2.*p*ec + landa - nu/ecsq; |
---|
230 | b = p*ecsq + mu + 2.*nu/ec; |
---|
231 | ecut = 0.; |
---|
232 | cut = a*a - 4.*p*b; |
---|
233 | if (cut > 0.) ecut = std::sqrt(cut); |
---|
234 | ecut = (ecut-a) / (p+p); |
---|
235 | ecut2 = ecut; |
---|
236 | if (cut < 0.) ecut2 = ecut - 2.; |
---|
237 | elab = K * FragmentA / ResidualA; |
---|
238 | sig = 0.; |
---|
239 | |
---|
240 | if (elab <= ec) { //start for E<Ec |
---|
241 | if (elab > ecut2) sig = (p*elab*elab+a*elab+b) * signor; |
---|
242 | } //end for E<Ec |
---|
243 | else { //start for E>Ec |
---|
244 | sig = (landa*elab+mu+nu/elab) * signor; |
---|
245 | geom = 0.; |
---|
246 | if (xnulam < flow || elab < etest) return sig; |
---|
247 | geom = std::sqrt(theA*K); |
---|
248 | geom = 1.23*ResidualAthrd + ra + 4.573/geom; |
---|
249 | geom = 31.416 * geom * geom; |
---|
250 | sig = std::max(geom,sig); |
---|
251 | } //end for E>Ec |
---|
252 | return sig; |
---|
253 | |
---|
254 | } |
---|
255 | |
---|
256 | // ************************** end of cross sections ******************************* |
---|
257 | |
---|
258 | |
---|
259 | |
---|
260 | |
---|