source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4PreCompoundTriton.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.1 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// $Id: G4PreCompoundTriton.cc,v 1.6 2010/04/09 14:06:17 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
29//
30// -------------------------------------------------------------------
31//
32// GEANT4 Class file
33//
34//
35// File name:     G4PreCompoundTriton
36//
37// Author:         V.Lara
38//
39// Modified: 
40// 21.08.2008 J. M. Quesada add choice of options 
41//
42 
43#include "G4PreCompoundTriton.hh"
44
45
46G4ReactionProduct * G4PreCompoundTriton::GetReactionProduct() const
47{
48  G4ReactionProduct * theReactionProduct =
49    new G4ReactionProduct(G4Triton::TritonDefinition());
50  theReactionProduct->SetMomentum(GetMomentum().vect());
51  theReactionProduct->SetTotalEnergy(GetMomentum().e());
52#ifdef PRECOMPOUND_TEST
53  theReactionProduct->SetCreatorModel("G4PrecompoundModel");
54#endif
55  return theReactionProduct;
56}   
57
58G4double G4PreCompoundTriton::FactorialFactor(const G4double N, const G4double P)
59{
60  return 
61      (N-3.0)*(P-2.0)*(
62                       (((N-2.0)*(P-1.0))/2.0) *(
63                                                 (((N-1.0)*P)/3.0) 
64                                                 )
65                       );
66}
67 
68G4double G4PreCompoundTriton::CoalescenceFactor(const G4double A)
69{
70  return 243.0/(A*A);
71}   
72
73G4double G4PreCompoundTriton::GetRj(const G4int NumberParticles, const G4int NumberCharged)
74{
75  G4double rj = 0.0;
76  G4double denominator = NumberParticles*(NumberParticles-1)*(NumberParticles-2);
77  if(NumberCharged >= 1 && (NumberParticles-NumberCharged) >= 2) {
78    rj = 3.0*static_cast<G4double>(NumberCharged*(NumberParticles-NumberCharged)*(NumberParticles-NumberCharged-1))
79      /static_cast<G4double>(denominator); 
80  }
81  return rj;
82}
83
84////////////////////////////////////////////////////////////////////////////////////
85//J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections
86//OPT=0 Dostrovski's parameterization
87//OPT=1,2 Chatterjee's paramaterization
88//OPT=3,4 Kalbach's parameterization
89//
90G4double G4PreCompoundTriton::CrossSection(const  G4double K)
91{
92  ResidualA=GetRestA();
93  ResidualZ=GetRestZ(); 
94  theA=GetA();
95  theZ=GetZ();
96  ResidualAthrd=std::pow(ResidualA,0.33333);
97  FragmentA=GetA()+GetRestA();
98  FragmentAthrd=std::pow(FragmentA,0.33333);
99
100  if (OPTxs==0) return GetOpt0( K);
101  else if( OPTxs==1 || OPTxs==2) return GetOpt12( K);
102  else if (OPTxs==3 || OPTxs==4)  return GetOpt34( K);
103  else{
104    std::ostringstream errOs;
105    errOs << "BAD TRITON CROSS SECTION OPTION !!"  <<G4endl;
106    throw G4HadronicException(__FILE__, __LINE__, errOs.str());
107    return 0.;
108  }
109}
110
111// *********************** OPT=0 : Dostrovski's cross section  *****************************
112
113G4double G4PreCompoundTriton::GetOpt0(const  G4double K)
114{
115  const G4double r0 = G4PreCompoundParameters::GetAddress()->Getr0();
116  // cross section is now given in mb (r0 is in mm) for the sake of consistency
117  //with the rest of the options
118  return 1.e+25*pi*(r0*ResidualAthrd)*(r0*ResidualAthrd)*GetAlpha()*(1.+GetBeta()/K);
119}
120//
121//---------
122//
123G4double G4PreCompoundTriton::GetAlpha()
124{
125  G4double C = 0.0;
126  G4double aZ = GetZ() + GetRestZ();
127  if (aZ >= 70) 
128    {
129      C = 0.10;
130    } 
131  else 
132    {
133      C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; 
134    }
135 
136  return 1.0 + C/3.0;
137}
138//
139//-------------
140//
141G4double G4PreCompoundTriton::GetBeta() 
142{
143  return -GetCoulombBarrier();
144}
145//
146//********************* OPT=1,2 : Chatterjee's cross section ************************
147//(fitting to cross section from Bechetti & Greenles OM potential)
148
149G4double G4PreCompoundTriton::GetOpt12(const  G4double K)
150{
151
152  G4double Kc=K;
153
154  // JMQ xsec is set constat above limit of validity
155  if (K>50) Kc=50;
156
157  G4double landa ,mu ,nu ,p , Ec,q,r,ji,xs;
158 
159  G4double    p0 = -11.04;
160  G4double    p1 = 619.1;
161  G4double    p2 = -2147.;
162  G4double    landa0 = -0.0426;
163  G4double    landa1 = -10.33;
164  G4double    mu0 = 601.9;
165  G4double    mu1 = 0.37;
166  G4double    nu0 = 583.0;
167  G4double    nu1 = -546.2;
168  G4double    nu2 = 1.718; 
169  G4double    delta=1.2;           
170
171  Ec = 1.44*theZ*ResidualZ/(1.5*ResidualAthrd+delta);
172  p = p0 + p1/Ec + p2/(Ec*Ec);
173  landa = landa0*ResidualA + landa1;
174  mu = mu0*std::pow(ResidualA,mu1);
175  nu = std::pow(ResidualA,mu1)*(nu0 + nu1*Ec + nu2*(Ec*Ec));
176  q = landa - nu/(Ec*Ec) - 2*p*Ec;
177  r = mu + 2*nu/Ec + p*(Ec*Ec);
178 
179  ji=std::max(Kc,Ec);
180  if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;}
181  else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;}
182                 
183  if (xs <0.0) {xs=0.0;}
184             
185  return xs;
186
187}
188
189// *********** OPT=3,4 : Kalbach's cross sections (from PRECO code)*************
190G4double G4PreCompoundTriton::GetOpt34(const  G4double K)
191//     ** t from o.m. of hafele, flynn et al
192{
193
194  G4double landa, mu, nu, p , signor(1.),sig;
195  G4double ec,ecsq,xnulam,etest(0.),a; 
196  G4double b,ecut,cut,ecut2,geom,elab;
197
198
199  G4double     flow = 1.e-18;
200  G4double     spill= 1.e+18;
201
202
203  G4double     p0 = -21.45;
204  G4double     p1 = 484.7;
205  G4double     p2 = -1608.;
206  G4double     landa0 = 0.0186;
207  G4double     landa1 = -8.90;
208  G4double     mu0 = 686.3;
209  G4double     mu1 = 0.325;
210  G4double     nu0 = 368.9;
211  G4double     nu1 = -522.2;
212  G4double     nu2 = -4.998; 
213 
214  G4double      ra=0.80;
215       
216  //JMQ 13/02/09 increase of reduced radius to lower the barrier
217  // ec = 1.44 * theZ * ResidualZ / (1.5*ResidualAthrd+ra);
218  ec = 1.44 * theZ * ResidualZ / (1.7*ResidualAthrd+ra);
219  ecsq = ec * ec;
220  p = p0 + p1/ec + p2/ecsq;
221  landa = landa0*ResidualA + landa1;
222  a = std::pow(ResidualA,mu1);
223  mu = mu0 * a;
224  nu = a* (nu0+nu1*ec+nu2*ecsq); 
225  xnulam = nu / landa;
226  if (xnulam > spill) xnulam=0.;
227  if (xnulam >= flow) etest = 1.2 *std::sqrt(xnulam);
228 
229  a = -2.*p*ec + landa - nu/ecsq;
230  b = p*ecsq + mu + 2.*nu/ec;
231  ecut = 0.;
232  cut = a*a - 4.*p*b;
233  if (cut > 0.) ecut = std::sqrt(cut);
234  ecut = (ecut-a) / (p+p);
235  ecut2 = ecut;
236//JMQ 290310 for avoiding unphysical increase below minimum (at ecut)
237//ecut<0 means that there is no cut with energy axis, i.e. xs is set to 0 bellow minimum
238//  if (cut < 0.) ecut2 = ecut - 2.;
239  if (cut < 0.) ecut2 = ecut;
240  elab = K * FragmentA / ResidualA;
241  sig = 0.;
242 
243  if (elab <= ec) { //start for E<Ec
244    if (elab > ecut2)  sig = (p*elab*elab+a*elab+b) * signor;
245  }           //end for E<Ec
246  else {           //start for E>Ec
247    sig = (landa*elab+mu+nu/elab) * signor;
248    geom = 0.;
249    if (xnulam < flow || elab < etest) return sig;
250    geom = std::sqrt(theA*K);
251    geom = 1.23*ResidualAthrd + ra + 4.573/geom;
252    geom = 31.416 * geom * geom;
253    sig = std::max(geom,sig);
254  }           //end for E>Ec
255  return sig;
256
257}
258
259//   ************************** end of cross sections *******************************
Note: See TracBrowser for help on using the repository browser.