source: trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4DeuteronEvaporationProbability.cc @ 962

Last change on this file since 962 was 962, checked in by garnier, 15 years ago

update processes

File size: 8.0 KB
Line 
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//J.M. Quesada (August2008). Based on:
27//
28// Hadronic Process: Nuclear De-excitations
29// by V. Lara (Oct 1998)
30//
31// Modif (03 September 2008) by J. M. Quesada for external choice of inverse
32// cross section option
33
34
35#include "G4DeuteronEvaporationProbability.hh"
36
37
38G4DeuteronEvaporationProbability::G4DeuteronEvaporationProbability() :
39    G4EvaporationProbability(2,1,3,&theCoulombBarrier) // A,Z,Gamma (fixed JMQ)
40{       }
41G4DeuteronEvaporationProbability::G4DeuteronEvaporationProbability(const G4DeuteronEvaporationProbability &) : G4EvaporationProbability()
42{
43    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronEvaporationProbability::copy_constructor meant to not be accessable");
44}
45
46
47const G4DeuteronEvaporationProbability & G4DeuteronEvaporationProbability::
48operator=(const G4DeuteronEvaporationProbability &)
49{
50    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronEvaporationProbability::operator= meant to not be accessable");
51    return *this;
52}
53
54
55G4bool G4DeuteronEvaporationProbability::operator==(const G4DeuteronEvaporationProbability &) const
56{
57    return false;
58}
59
60
61G4bool G4DeuteronEvaporationProbability::operator!=(const G4DeuteronEvaporationProbability &) const
62{
63    return true;
64}
65
66
67G4double G4DeuteronEvaporationProbability::CalcAlphaParam(const G4Fragment & fragment) 
68{
69    return 1.0 + CCoeficient(static_cast<G4double>(fragment.GetZ()-GetZ()));
70}
71
72
73G4double G4DeuteronEvaporationProbability::CalcBetaParam(const G4Fragment & ) 
74{
75    return 0.0;
76}
77
78
79G4double G4DeuteronEvaporationProbability::CCoeficient(const G4double aZ) 
80{
81    // Data comes from
82    // Dostrovsky, Fraenkel and Friedlander
83    // Physical Review, vol 116, num. 3 1959
84    //
85    // const G4int size = 5;
86    // G4double Zlist[5] = { 10.0, 20.0, 30.0, 50.0, 70.0};
87    // G4double Cp[5] = { 0.50, 0.28, 0.20, 0.15, 0.10};
88    // C for deuteron is equal to C for protons divided by 2
89    G4double C = 0.0;
90       
91    if (aZ >= 70) {
92        C = 0.10;
93    } else {
94        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
95    }
96       
97    return C/2.0;
98       
99}
100
101
102///////////////////////////////////////////////////////////////////////////////////
103//J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections
104//OPT=0 Dostrovski's parameterization
105//OPT=1,2 Chatterjee's paramaterization
106//OPT=3,4 Kalbach's parameterization
107//
108G4double G4DeuteronEvaporationProbability::CrossSection(const  G4Fragment & fragment, const  G4double K)
109{
110       theA=GetA();
111       theZ=GetZ();
112       ResidualA=fragment.GetA()-theA;
113       ResidualZ=fragment.GetZ()-theZ; 
114 
115       ResidualAthrd=std::pow(ResidualA,0.33333);
116       FragmentA=fragment.GetA();
117       FragmentAthrd=std::pow(FragmentA,0.33333);
118
119       if (OPTxs==0) {std::ostringstream errOs;
120         errOs << "We should'n be here (OPT =0) at evaporation cross section calculation (deuterons)!!"  <<G4endl;
121         throw G4HadronicException(__FILE__, __LINE__, errOs.str());
122         return 0.;}
123       if( OPTxs==1 || OPTxs==2) return G4DeuteronEvaporationProbability::GetOpt12( K);
124       else if (OPTxs==3 || OPTxs==4)  return G4DeuteronEvaporationProbability::GetOpt34( K);
125       else{
126         std::ostringstream errOs;
127         errOs << "BAD Deuteron CROSS SECTION OPTION AT EVAPORATION!!"  <<G4endl;
128         throw G4HadronicException(__FILE__, __LINE__, errOs.str());
129         return 0.;
130       }
131}
132
133
134//********************* OPT=1,2 : Chatterjee's cross section ************************
135//(fitting to cross section from Bechetti & Greenles OM potential)
136
137G4double G4DeuteronEvaporationProbability::GetOpt12(const  G4double K)
138{
139
140  G4double Kc=K;
141
142// JMQ xsec is set constat above limit of validity
143 if (K>50) Kc=50;
144
145 G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
146
147 
148 G4double    p0 = -38.21;
149 G4double    p1 = 922.6;
150 G4double    p2 = -2804.;
151 G4double    landa0 = -0.0323;
152 G4double    landa1 = -5.48;
153 G4double    mu0 = 336.1;
154 G4double    mu1 = 0.48;
155 G4double    nu0 = 524.3;
156 G4double    nu1 = -371.8;
157 G4double    nu2 = -5.924; 
158 G4double    delta=1.2;           
159 
160
161 Ec = 1.44*theZ*ResidualZ/(1.5*ResidualAthrd+delta);
162 p = p0 + p1/Ec + p2/(Ec*Ec);
163 landa = landa0*ResidualA + landa1;
164 mu = mu0*std::pow(ResidualA,mu1);
165 nu = std::pow(ResidualA,mu1)*(nu0 + nu1*Ec + nu2*(Ec*Ec));
166 q = landa - nu/(Ec*Ec) - 2*p*Ec;
167 r = mu + 2*nu/Ec + p*(Ec*Ec);
168 
169 ji=std::max(Kc,Ec);
170 if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
171 else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
172                 
173 if (xs <0.0) {xs=0.0;}
174 
175 return xs;
176
177}
178
179
180// *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)*************
181G4double G4DeuteronEvaporationProbability::GetOpt34(const  G4double K)
182//     ** d from o.m. of perey and perey
183{
184
185  G4double landa, mu, nu, p , signor(1.),sig;
186  G4double ec,ecsq,xnulam,etest(0.),a; 
187  G4double b,ecut,cut,ecut2,geom,elab;
188
189
190  G4double     flow = 1.e-18;
191  G4double     spill= 1.e+18;
192
193
194  G4double     p0 = 0.798;
195  G4double     p1 = 420.3;
196  G4double     p2 = -1651.;
197  G4double     landa0 = 0.00619;
198  G4double     landa1 = -7.54;
199  G4double     mu0 = 583.5;
200  G4double     mu1 = 0.337;
201  G4double     nu0 = 421.8;
202  G4double     nu1 = -474.5;
203  G4double     nu2 = -3.592;     
204 
205  G4double      ra=0.80;
206       
207  //JMQ 13/02/09 increase of reduced radius to lower the barrier
208  // ec = 1.44 * theZ * ResidualZ / (1.5*ResidualAthrd+ra);
209  ec = 1.44 * theZ * ResidualZ / (1.7*ResidualAthrd+ra);
210  ecsq = ec * ec;
211  p = p0 + p1/ec + p2/ecsq;
212  landa = landa0*ResidualA + landa1;
213  a = std::pow(ResidualA,mu1);
214  mu = mu0 * a;
215  nu = a* (nu0+nu1*ec+nu2*ecsq); 
216  xnulam = nu / landa;
217  if (xnulam > spill) xnulam=0.;
218  if (xnulam >= flow) etest = 1.2 *std::sqrt(xnulam);
219
220  a = -2.*p*ec + landa - nu/ecsq;
221  b = p*ecsq + mu + 2.*nu/ec;
222  ecut = 0.;
223  cut = a*a - 4.*p*b;
224  if (cut > 0.) ecut = std::sqrt(cut);
225  ecut = (ecut-a) / (p+p);
226  ecut2 = ecut;
227  if (cut < 0.) ecut2 = ecut - 2.;
228  elab = K * FragmentA / ResidualA;
229  sig = 0.;
230
231  if (elab <= ec) { //start for E<Ec
232    if (elab > ecut2)  sig = (p*elab*elab+a*elab+b) * signor;
233  }           //end for E<Ec
234  else {           //start for E>Ec
235    sig = (landa*elab+mu+nu/elab) * signor;
236    geom = 0.;
237    if (xnulam < flow || elab < etest) return sig;
238    geom = std::sqrt(theA*K);
239    geom = 1.23*ResidualAthrd + ra + 4.573/geom;
240    geom = 31.416 * geom * geom;
241    sig = std::max(geom,sig);
242  }           //end for E>Ec
243  return sig;
244 
245}
246
247//   ************************** end of cross sections *******************************
Note: See TracBrowser for help on using the repository browser.