source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4PreCompoundDeuteron.cc @ 1315

Last change on this file since 1315 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

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