source: trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4NeutronEvaporationProbability.cc @ 1316

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

update processes

File size: 7.5 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#include "G4NeutronEvaporationProbability.hh"
35
36G4NeutronEvaporationProbability::G4NeutronEvaporationProbability() :
37    G4EvaporationProbability(1,0,2,&theCoulombBarrier) // A,Z,Gamma,&theCoulombBarrier
38{
39 
40}
41
42
43G4NeutronEvaporationProbability::G4NeutronEvaporationProbability(const G4NeutronEvaporationProbability &) : G4EvaporationProbability()
44{
45    throw G4HadronicException(__FILE__, __LINE__, "G4NeutronEvaporationProbability::copy_constructor meant to not be accessable");
46}
47
48
49
50
51const G4NeutronEvaporationProbability & G4NeutronEvaporationProbability::
52operator=(const G4NeutronEvaporationProbability &)
53{
54    throw G4HadronicException(__FILE__, __LINE__, "G4NeutronEvaporationProbability::operator= meant to not be accessable");
55    return *this;
56}
57
58
59G4bool G4NeutronEvaporationProbability::operator==(const G4NeutronEvaporationProbability &) const
60{
61    return false;
62}
63
64G4bool G4NeutronEvaporationProbability::operator!=(const G4NeutronEvaporationProbability &) const
65{
66    return true;
67}
68
69 G4double G4NeutronEvaporationProbability::CalcAlphaParam(const G4Fragment & fragment) 
70  { return 0.76+2.2/std::pow(static_cast<G4double>(fragment.GetA()-GetA()),1.0/3.0);}
71
72       
73  G4double G4NeutronEvaporationProbability::CalcBetaParam(const G4Fragment &  fragment) 
74  { return (2.12/std::pow(static_cast<G4double>(fragment.GetA()-GetA()),2.0/3.0) - 0.05)*MeV/
75      CalcAlphaParam(fragment); }
76
77
78////////////////////////////////////////////////////////////////////////////////////
79//J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections
80//OPT=0 Dostrovski's parameterization
81//OPT=1,2 Chatterjee's paramaterization
82//OPT=3,4 Kalbach's parameterization
83//
84 G4double G4NeutronEvaporationProbability::CrossSection(const  G4Fragment & fragment, const  G4double K)
85{ 
86  theA=GetA();
87  theZ=GetZ();
88  ResidualA=fragment.GetA()-theA;
89  ResidualZ=fragment.GetZ()-theZ; 
90 
91  ResidualAthrd=std::pow(ResidualA,0.33333);
92  FragmentA=fragment.GetA();
93  FragmentAthrd=std::pow(FragmentA,0.33333);
94
95
96  if (OPTxs==0) {std::ostringstream errOs;
97    errOs << "We should'n be here (OPT =0) at evaporation cross section calculation (neutrons)!!"  <<G4endl;
98    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
99    return 0.;}
100  else if( OPTxs==1 ||OPTxs==2) return GetOpt12( K);
101  else if (OPTxs==3 || OPTxs==4)  return GetOpt34( K);
102  else{
103    std::ostringstream errOs;
104    errOs << "BAD NEUTRON CROSS SECTION OPTION AT EVAPORATION!!"  <<G4endl;
105    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
106    return 0.;
107  }
108}
109
110
111
112
113
114
115//********************* OPT=1,2 : Chatterjee's cross section ************************
116//(fitting to cross section from Bechetti & Greenles OM potential)
117
118G4double G4NeutronEvaporationProbability::GetOpt12(const  G4double K)
119{
120
121  G4double Kc=K;
122
123// JMQ  xsec is set constat above limit of validity
124  if (K>50) Kc=50;
125
126  G4double landa, landa0, landa1, mu, mu0, mu1,nu, nu0, nu1, nu2,xs;
127
128  landa0 = 18.57;
129  landa1 = -22.93;
130  mu0 = 381.7;
131  mu1 = 24.31;
132  nu0 = 0.172;
133  nu1 = -15.39;
134  nu2 = 804.8;
135  landa = landa0/ResidualAthrd + landa1;
136  mu = mu0*ResidualAthrd + mu1*ResidualAthrd*ResidualAthrd;
137  nu = nu0*ResidualAthrd*ResidualA + nu1*ResidualAthrd*ResidualAthrd + nu2 ;
138  xs=landa*Kc + mu + nu/Kc;
139  if (xs <= 0.0 ){
140    std::ostringstream errOs;
141    G4cout<<"WARNING:  NEGATIVE OPT=1 neutron cross section "<<G4endl;     
142    errOs << "RESIDUAL: Ar=" << ResidualA << " Zr=" << ResidualZ <<G4endl;
143    errOs <<"  xsec("<<Kc<<" MeV) ="<<xs <<G4endl;
144    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
145  }
146  return xs;
147}
148
149
150// *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)*************
151G4double G4NeutronEvaporationProbability::GetOpt34(const  G4double K)
152{
153
154  G4double landa, landa0, landa1, mu, mu0, mu1,nu, nu0, nu1, nu2;
155  G4double p, p0, p1, p2;
156  G4double flow,spill,ec,ecsq,xnulam,etest(0.),ra(0.),a,signor(1.),sig; 
157  G4double b,ecut,cut,ecut2,geom,elab;
158
159//safety initialization
160  landa0=0;
161  landa1=0;
162  mu0=0.;
163  mu1=0.;
164  nu0=0.;
165  nu1=0.;
166  nu2=0.;
167  p0=0.;
168  p1=0.;
169  p2=0.;
170
171
172  flow = 1.e-18;
173  spill= 1.0e+18; 
174
175 
176
177// PRECO xs for neutrons is choosen
178
179  p0 = -312.;
180  p1= 0.;
181  p2 = 0.;
182  landa0 = 12.10;
183  landa1=  -11.27;
184  mu0 = 234.1;
185  mu1 = 38.26;
186  nu0 = 1.55;
187  nu1 = -106.1;
188  nu2 = 1280.8; 
189
190  if (ResidualA < 40.) signor=0.7+ResidualA*0.0075;
191  if (ResidualA > 210.) signor = 1. + (ResidualA-210.)/250.;
192  landa = landa0/ResidualAthrd + landa1;
193  mu = mu0*ResidualAthrd + mu1*ResidualAthrd*ResidualAthrd;
194  nu = nu0*ResidualAthrd*ResidualA + nu1*ResidualAthrd*ResidualAthrd + nu2;
195
196  // JMQ very low energy behaviour corrected (problem  for A (apprx.)>60)
197  if (nu < 0.)nu=-nu;
198
199  ec = 0.5;
200  ecsq = 0.25;
201  p = p0;
202  xnulam = 1.;
203  etest = 32.;
204//          ** etest is the energy above which the rxn cross section is
205//          ** compared with the geometrical limit and the max taken.
206//          ** xnulam here is a dummy value to be used later.
207
208
209
210  a = -2.*p*ec + landa - nu/ecsq;
211  b = p*ecsq + mu + 2.*nu/ec;
212  ecut = 0.;
213  cut = a*a - 4.*p*b;
214  if (cut > 0.) ecut = std::sqrt(cut);
215  ecut = (ecut-a) / (p+p);
216  ecut2 = ecut;
217  if (cut < 0.) ecut2 = ecut - 2.;
218  elab = K * FragmentA / ResidualA;
219  sig = 0.;
220  if (elab <= ec) { //start for E<Ec
221    if (elab > ecut2)  sig = (p*elab*elab+a*elab+b) * signor;   
222  }              //end for E<Ec
223  else {           //start for  E>Ec
224    sig = (landa*elab+mu+nu/elab) * signor;
225    geom = 0.;
226    if (xnulam < flow || elab < etest) return sig;
227    geom = std::sqrt(theA*K);
228    geom = 1.23*ResidualAthrd + ra + 4.573/geom;
229    geom = 31.416 * geom * geom;
230    sig = std::max(geom,sig);
231  }
232  return sig;}
233
234//   ************************** end of cross sections *******************************
235
Note: See TracBrowser for help on using the repository browser.