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

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

update ti head

File size: 7.2 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.7 2010/08/28 15:16:55 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03-ref-09 $
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// 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
41//                         use int Z and A and cleanup
42//
43
44#include "G4PreCompoundDeuteron.hh"
45#include "G4Deuteron.hh"
46
47G4PreCompoundDeuteron::G4PreCompoundDeuteron()
48  : G4PreCompoundIon(G4Deuteron::Deuteron(), &theDeuteronCoulombBarrier)
49{}
50
51G4PreCompoundDeuteron::~G4PreCompoundDeuteron()
52{}
53 
54G4double G4PreCompoundDeuteron::FactorialFactor(G4int N, G4int P)
55{
56  return G4double((N-1)*(N-2)*(P-1)*P)/2.0;
57}
58 
59G4double G4PreCompoundDeuteron::CoalescenceFactor(G4int A)
60{
61  return 16.0/G4double(A);
62}   
63
64G4double G4PreCompoundDeuteron::GetRj(G4int nParticles, const G4int nCharged)
65{
66  G4double rj = 0.0;
67  if(nCharged >=1 && (nParticles-nCharged) >=1) {
68    G4double denominator = G4double(nParticles*(nParticles-1));
69    rj = 2*nCharged*(nParticles-nCharged)/denominator; 
70  }
71  return rj;
72}
73
74////////////////////////////////////////////////////////////////////////////////
75//J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections
76//OPT=0 Dostrovski's parameterization
77//OPT=1,2 Chatterjee's paramaterization
78//OPT=3,4 Kalbach's parameterization
79//
80G4double G4PreCompoundDeuteron::CrossSection(G4double K)
81{
82  ResidualA = GetRestA();
83  ResidualZ = GetRestZ(); 
84  theA = GetA();
85  theZ = GetZ();
86  ResidualAthrd = ResidualA13();
87  FragmentA = theA + ResidualA;
88  FragmentAthrd = g4pow->Z13(FragmentA);
89
90  if (OPTxs==0) { return GetOpt0( K); }
91  else if( OPTxs==1 || OPTxs==2) { return GetOpt12( K); }
92  else if (OPTxs==3 || OPTxs==4) { return GetOpt34( K); }
93  else{
94    std::ostringstream errOs;
95    errOs << "BAD DEUTERON CROSS SECTION OPTION !!"  <<G4endl;
96    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
97    return 0.;
98  }
99}
100
101G4double G4PreCompoundDeuteron::GetAlpha()
102{
103  G4double C = 0.0;
104  G4int aZ = theZ + ResidualZ;
105  if (aZ >= 70) 
106    {
107      C = 0.10;
108    } 
109  else 
110    {
111      C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; 
112    }
113  return 1.0 + C/2.0;
114}
115//
116//********************* OPT=1,2 : Chatterjee's cross section ********************
117//(fitting to cross section from Bechetti & Greenles OM potential)
118
119G4double G4PreCompoundDeuteron::GetOpt12(G4double K)
120{
121  G4double Kc = K;
122
123  // JMQ xsec is set constat above limit of validity
124  if (K > 50*MeV) { Kc = 50*MeV; }
125
126  G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
127 
128  G4double    p0 = -38.21;
129  G4double    p1 = 922.6;
130  G4double    p2 = -2804.;
131  G4double    landa0 = -0.0323;
132  G4double    landa1 = -5.48;
133  G4double    mu0 = 336.1;
134  G4double    mu1 = 0.48;
135  G4double    nu0 = 524.3;
136  G4double    nu1 = -371.8;
137  G4double    nu2 = -5.924; 
138  G4double    delta=1.2;           
139
140  Ec = 1.44*theZ*ResidualZ/(1.5*ResidualAthrd+delta);
141  p = p0 + p1/Ec + p2/(Ec*Ec);
142  landa = landa0*ResidualA + landa1;
143  G4double resmu1 = g4pow->powZ(ResidualA,mu1); 
144  mu = mu0*resmu1;
145  nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec));
146  q = landa - nu/(Ec*Ec) - 2*p*Ec;
147  r = mu + 2*nu/Ec + p*(Ec*Ec);
148
149  ji=std::max(Kc,Ec);
150  if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
151  else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
152                 
153  if (xs <0.0) {xs=0.0;}
154             
155  return xs;
156}
157
158// *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)*************
159G4double G4PreCompoundDeuteron::GetOpt34(G4double K)
160//     ** d from o.m. of perey and perey
161{
162
163  G4double landa, mu, nu, p ,signor(1.),sig;
164  G4double ec,ecsq,xnulam,etest(0.),a; 
165  G4double b,ecut,cut,ecut2,geom,elab;
166
167  G4double     flow = 1.e-18;
168  G4double     spill= 1.e+18;
169
170  G4double     p0 = 0.798;
171  G4double     p1 = 420.3;
172  G4double     p2 = -1651.;
173  G4double     landa0 = 0.00619;
174  G4double     landa1 = -7.54;
175  G4double     mu0 = 583.5;
176  G4double     mu1 = 0.337;
177  G4double     nu0 = 421.8;
178  G4double     nu1 = -474.5;
179  G4double     nu2 = -3.592;     
180 
181  G4double     ra=0.80;
182       
183  //JMQ 13/02/09 increase of reduced radius to lower the barrier
184  // ec = 1.44 * theZ * ResidualZ / (1.5*ResidualAthrd+ra);
185  ec = 1.44 * theZ * ResidualZ / (1.7*ResidualAthrd+ra);
186  ecsq = ec * ec;
187  p = p0 + p1/ec + p2/ecsq;
188  landa = landa0*ResidualA + landa1;
189  a = g4pow->powZ(ResidualA,mu1);
190  mu = mu0 * a;
191  nu = a* (nu0+nu1*ec+nu2*ecsq); 
192  xnulam = nu / landa;
193  if (xnulam > spill) { xnulam=0.; }
194  if (xnulam >= flow) { etest = 1.2 *std::sqrt(xnulam); }
195
196  a = -2.*p*ec + landa - nu/ecsq;
197  b = p*ecsq + mu + 2.*nu/ec;
198  ecut = 0.;
199  cut = a*a - 4.*p*b;
200  if (cut > 0.) { ecut = std::sqrt(cut); }
201  ecut = (ecut-a) / (p+p);
202  ecut2 = ecut;
203  //JMQ 290310 for avoiding unphysical increase below minimum (at ecut)
204  //ecut<0 means that there is no cut with energy axis, i.e. xs is set
205  //to 0 bellow minimum
206  //  if (cut < 0.) ecut2 = ecut - 2.;
207  if (cut < 0.) { ecut2 = ecut; }
208  elab = K * FragmentA / G4double(ResidualA);
209  sig = 0.;
210
211  if (elab <= ec) { //start for E<Ec
212    if (elab > ecut2) { sig = (p*elab*elab+a*elab+b) * signor; }
213  }           //end for E<Ec
214  else {           //start for E>Ec
215    sig = (landa*elab+mu+nu/elab) * signor;
216    geom = 0.;
217    if (xnulam < flow || elab < etest) { return sig; }
218    geom = std::sqrt(theA*K);
219    geom = 1.23*ResidualAthrd + ra + 4.573/geom;
220    geom = 31.416 * geom * geom;
221    sig = std::max(geom,sig);
222  }           //end for E>Ec
223  return sig;
224}
Note: See TracBrowser for help on using the repository browser.