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

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

update to geant4.9.2

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