source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4PreCompoundTriton.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//
27//J.M.Quesada (August 08). New source file
28//
29// Modif (21 August 2008) by J. M. Quesada for external choice of inverse
30// cross section option
31 
32#include "G4PreCompoundTriton.hh"
33
34
35  G4ReactionProduct * G4PreCompoundTriton::GetReactionProduct() const
36  {
37    G4ReactionProduct * theReactionProduct =
38      new G4ReactionProduct(G4Triton::TritonDefinition());
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   G4double G4PreCompoundTriton::FactorialFactor(const G4double N, const G4double P)
48  {
49      return 
50      (N-3.0)*(P-2.0)*(
51                       (((N-2.0)*(P-1.0))/2.0) *(
52                                                 (((N-1.0)*P)/3.0) 
53                                                 )
54                       );
55  }
56 
57   G4double G4PreCompoundTriton::CoalescenceFactor(const G4double A)
58  {
59     return 243.0/(A*A);
60  }   
61
62
63   G4double G4PreCompoundTriton::GetRj(const G4int NumberParticles, const G4int NumberCharged)
64  {
65    G4double rj = 0.0;
66    G4double denominator = NumberParticles*(NumberParticles-1)*(NumberParticles-2);
67    if(NumberCharged >= 1 && (NumberParticles-NumberCharged) >= 2) rj = 3.0*static_cast<G4double>(NumberCharged*(NumberParticles-NumberCharged)*(NumberParticles-NumberCharged-1))/static_cast<G4double>(denominator); 
68    return rj;
69  }
70
71
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//
80 G4double G4PreCompoundTriton::CrossSection(const  G4double K)
81{
82  ResidualA=GetRestA();
83  ResidualZ=GetRestZ(); 
84  theA=GetA();
85  theZ=GetZ();
86  ResidualAthrd=std::pow(ResidualA,0.33333);
87  FragmentA=GetA()+GetRestA();
88  FragmentAthrd=std::pow(FragmentA,0.33333);
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 TRITON CROSS SECTION OPTION !!"  <<G4endl;
96    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
97    return 0.;
98  }
99}
100
101// *********************** OPT=0 : Dostrovski's cross section  *****************************
102
103G4double G4PreCompoundTriton::GetOpt0(const  G4double K)
104{
105  const G4double r0 = G4PreCompoundParameters::GetAddress()->Getr0();
106  // cross section is now given in mb (r0 is in mm) for the sake of consistency
107  //with the rest of the options
108  return 1.e+25*pi*(r0*ResidualAthrd)*(r0*ResidualAthrd)*GetAlpha()*(1.+GetBeta()/K);
109}
110//
111//---------
112//
113  G4double G4PreCompoundTriton::GetAlpha()
114  {
115    G4double C = 0.0;
116    G4double aZ = GetZ() + GetRestZ();
117    if (aZ >= 70) 
118      {
119        C = 0.10;
120      } 
121    else 
122      {
123        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; 
124      }
125 
126    return 1.0 + C/3.0;
127  }
128//
129//-------------
130//
131   G4double G4PreCompoundTriton::GetBeta() 
132  {
133      return -GetCoulombBarrier();
134  }
135//
136//********************* OPT=1,2 : Chatterjee's cross section ************************
137//(fitting to cross section from Bechetti & Greenles OM potential)
138
139G4double G4PreCompoundTriton::GetOpt12(const  G4double K)
140{
141
142  G4double Kc=K;
143
144  // JMQ xsec is set constat above limit of validity
145  if (K>50) Kc=50;
146
147  G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
148 
149  G4double    p0 = -11.04;
150  G4double    p1 = 619.1;
151  G4double    p2 = -2147.;
152  G4double    landa0 = -0.0426;
153  G4double    landa1 = -10.33;
154  G4double    mu0 = 601.9;
155  G4double    mu1 = 0.37;
156  G4double    nu0 = 583.0;
157  G4double    nu1 = -546.2;
158  G4double    nu2 = 1.718; 
159  G4double    delta=1.2;           
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// *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)*************
180G4double G4PreCompoundTriton::GetOpt34(const  G4double K)
181//     ** t from o.m. of hafele, flynn et al
182{
183
184  G4double landa, mu, nu, p , signor(1.),sig;
185G4double ec,ecsq,xnulam,etest(0.),a; 
186G4double b,ecut,cut,ecut2,geom,elab;
187
188
189 G4double     flow = 1.e-18;
190 G4double     spill= 1.e+18;
191
192
193 G4double     p0 = -21.45;
194 G4double     p1 = 484.7;
195 G4double     p2 = -1608.;
196 G4double     landa0 = 0.0186;
197 G4double     landa1 = -8.90;
198 G4double     mu0 = 686.3;
199 G4double     mu1 = 0.325;
200 G4double     nu0 = 368.9;
201 G4double     nu1 = -522.2;
202 G4double     nu2 = -4.998; 
203 
204 G4double      ra=0.80;
205       
206 ec = 1.44 * theZ * ResidualZ / (1.5*ResidualAthrd+ra);
207 ecsq = ec * ec;
208 p = p0 + p1/ec + p2/ecsq;
209 landa = landa0*ResidualA + landa1;
210 a = std::pow(ResidualA,mu1);
211 mu = mu0 * a;
212 nu = a* (nu0+nu1*ec+nu2*ecsq); 
213 xnulam = nu / landa;
214 if (xnulam > spill) xnulam=0.;
215 if (xnulam >= flow) etest = 1.2 *std::sqrt(xnulam);
216 
217 a = -2.*p*ec + landa - nu/ecsq;
218 b = p*ecsq + mu + 2.*nu/ec;
219 ecut = 0.;
220 cut = a*a - 4.*p*b;
221 if (cut > 0.) ecut = std::sqrt(cut);
222 ecut = (ecut-a) / (p+p);
223 ecut2 = ecut;
224 if (cut < 0.) ecut2 = ecut - 2.;
225 elab = K * FragmentA / ResidualA;
226 sig = 0.;
227 
228 if (elab <= ec) { //start for E<Ec
229   if (elab > ecut2)  sig = (p*elab*elab+a*elab+b) * signor;   
230 }           //end for E<Ec
231 else {           //start for E>Ec
232   sig = (landa*elab+mu+nu/elab) * signor;
233   geom = 0.;
234   if (xnulam < flow || elab < etest) return sig;
235   geom = std::sqrt(theA*K);
236   geom = 1.23*ResidualAthrd + ra + 4.573/geom;
237   geom = 31.416 * geom * geom;
238   sig = std::max(geom,sig);
239 }           //end for E>Ec
240 return sig;
241
242}
243
244//   ************************** end of cross sections *******************************
245
246
247
248
Note: See TracBrowser for help on using the repository browser.