// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4PreCompoundProton.cc,v 1.6 2010/08/28 15:16:55 vnivanch Exp $ // GEANT4 tag $Name: geant4-09-03-ref-09 $ // // ------------------------------------------------------------------- // // GEANT4 Class file // // // File name: G4PreCompoundProton // // Author: V.Lara // // Modified: // 21.08.2008 J. M. Quesada added external choice of inverse cross section option // 21.08.2008 J. M. Quesada added external choice for superimposed Coulomb // barrier (if useSICB=true) // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers // use int Z and A and cleanup // #include "G4PreCompoundProton.hh" #include "G4Proton.hh" G4PreCompoundProton::G4PreCompoundProton() : G4PreCompoundNucleon(G4Proton::Proton(), &theProtonCoulombBarrier) {} G4PreCompoundProton::~G4PreCompoundProton() {} G4double G4PreCompoundProton::GetRj(G4int nParticles, G4int nCharged) { G4double rj = 0.0; if(nParticles > 0) { rj = static_cast(nCharged)/static_cast(nParticles); } return rj; } //////////////////////////////////////////////////////////////////////////////////// //J. M. Quesada (Dec 2007-June 2008): New inverse reaction cross sections //OPT=0 Dostrovski's parameterization //OPT=1 Chatterjee's paramaterization //OPT=2,4 Wellisch's parametarization //OPT=3 Kalbach's parameterization // G4double G4PreCompoundProton::CrossSection(G4double K) { ResidualA = GetRestA(); ResidualZ = GetRestZ(); theA = GetA(); theZ = GetZ(); ResidualAthrd = ResidualA13(); FragmentA = theA + ResidualA; FragmentAthrd = g4pow->Z13(FragmentA); if (OPTxs==0) { return GetOpt0(K); } else if( OPTxs==1) { return GetOpt1(K); } else if( OPTxs==2|| OPTxs==4) { return GetOpt2(K); } else if (OPTxs==3) { return GetOpt3(K); } else{ std::ostringstream errOs; errOs << "BAD PROTON CROSS SECTION OPTION !!" <= 70) { C = 0.10; } else { C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375; } return 1.0 + C; } G4double G4PreCompoundProton::GetBeta() { return -GetCoulombBarrier(); } //********************* OPT=1 : Chatterjee's cross section ********************* //(fitting to cross section from Bechetti & Greenles OM potential) G4double G4PreCompoundProton::GetOpt1(G4double K) { G4double Kc=K; // JMQ xsec is set constat above limit of validity if (K > 50*MeV) { Kc = 50*MeV; } G4double landa, landa0, landa1, mu, mu0, mu1,nu, nu0, nu1, nu2,xs; G4double p, p0, p1, p2,Ec,delta,q,r,ji; p0 = 15.72; p1 = 9.65; p2 = -449.0; landa0 = 0.00437; landa1 = -16.58; mu0 = 244.7; mu1 = 0.503; nu0 = 273.1; nu1 = -182.4; nu2 = -1.872; delta=0.; Ec = 1.44*theZ*ResidualZ/(1.5*ResidualAthrd+delta); p = p0 + p1/Ec + p2/(Ec*Ec); landa = landa0*ResidualA + landa1; G4double resmu1 = g4pow->powZ(ResidualA,mu1); mu = mu0*resmu1; nu = resmu1*(nu0 + nu1*Ec + nu2*(Ec*Ec)); q = landa - nu/(Ec*Ec) - 2*p*Ec; r = mu + 2*nu/Ec + p*(Ec*Ec); ji=std::max(Kc,Ec); if(Kc < Ec) { xs = p*Kc*Kc + q*Kc + r;} else {xs = p*(Kc - ji)*(Kc - ji) + landa*Kc + mu + nu*(2 - Kc/ji)/ji ;} if (xs <0.0) {xs=0.0;} return xs; } //************* OPT=2 : Welisch's proton reaction cross section *************** G4double G4PreCompoundProton::GetOpt2(G4double K) { G4double eekin,ekin,ff1,ff2,ff3,r0,fac,fac1,fac2,b0,xine_th(0); // This is redundant when the Coulomb barrier is overimposed to all // cross sections // It should be kept when Coulomb barrier only imposed at OPTxs=2 if(!useSICB && K<=theCoulombBarrier) { return 0.0; } eekin=K; G4int rnneu=ResidualA-ResidualZ; ekin=eekin/1000; r0=1.36*1.e-15; fac=pi*r0*r0; b0=2.247-0.915*(1.-1./ResidualAthrd); fac1=b0*(1.-1./ResidualAthrd); fac2=1.; if(rnneu > 1.5) { fac2 = g4pow->logZ(rnneu); } xine_th= 1.e+31*fac*fac2*(1.+ResidualAthrd-fac1); xine_th=(1.-0.15*std::exp(-ekin))*xine_th/(1.00-0.0007*ResidualA); ff1=0.70-0.0020*ResidualA; ff2=1.00+1/ResidualA; ff3=0.8+18/ResidualA-0.002*ResidualA; fac=1.-(1./(1.+std::exp(-8.*ff1*(std::log10(ekin)+1.37*ff2)))); xine_th=xine_th*(1.+ff3*fac); ff1=1.-1/ResidualA-0.001*ResidualA; ff2=1.17-2.7/ResidualA-0.0014*ResidualA; fac=-8.*ff1*(std::log10(ekin)+2.0*ff2); fac=1./(1.+std::exp(fac)); xine_th=xine_th*fac; if (xine_th < 0.0){ std::ostringstream errOs; G4cout<<"WARNING: negative Wellisch cross section "<