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