00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // 00030 // GEANT4 Class file 00031 // 00032 // 00033 // File name: G4PreCompoundNucleon 00034 // 00035 // Author: V.Lara 00036 // 00037 // Modified: 00038 // 10.02.2009 J. M. Quesada cleanup 00039 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers 00040 // use int Z and A and cleanup 00041 // 00042 00043 #include "G4PreCompoundNucleon.hh" 00044 #include "G4PhysicalConstants.hh" 00045 #include "G4SystemOfUnits.hh" 00046 00047 G4PreCompoundNucleon:: 00048 G4PreCompoundNucleon(const G4ParticleDefinition* part, 00049 G4VCoulombBarrier* aCoulombBarrier) 00050 : G4PreCompoundFragment(part,aCoulombBarrier) 00051 { 00052 fact = 2*CLHEP::millibarn/(CLHEP::pi2*CLHEP::hbarc*CLHEP::hbarc*CLHEP::hbarc); 00053 } 00054 00055 G4PreCompoundNucleon::~G4PreCompoundNucleon() 00056 {} 00057 00058 G4double G4PreCompoundNucleon:: 00059 ProbabilityDistributionFunction(G4double eKin, 00060 const G4Fragment& aFragment) 00061 { 00062 if ( !IsItPossible(aFragment) ) { return 0.0; } 00063 00064 G4double U = aFragment.GetExcitationEnergy(); 00065 G4int P = aFragment.GetNumberOfParticles(); 00066 G4int H = aFragment.GetNumberOfHoles(); 00067 G4int N = P + H; 00068 00069 G4double g0 = (6.0/pi2)*aFragment.GetA_asInt()*theParameters->GetLevelDensity(); 00070 G4double g1 = (6.0/pi2)*GetRestA()*theParameters->GetLevelDensity(); 00071 00072 G4double A0 = G4double(P*P+H*H+P-3*H)/(4.0*g0); 00073 G4double A1 = (A0 - 0.5*P)/g1; 00074 00075 G4double E0 = U - A0; 00076 if (E0 <= 0.0) { return 0.0; } 00077 00078 G4double E1 = U - eKin - GetBindingEnergy() - A1; 00079 if (E1 <= 0.0) { return 0.0; } 00080 00081 G4double rj = GetRj(P, aFragment.GetNumberOfCharged()); 00082 G4double xs = CrossSection(eKin); 00083 00084 if (rj <0.0 || xs < 0.0) { 00085 std::ostringstream errOs; 00086 G4cout<<"WARNING: NEGATIVE VALUES "<<G4endl; 00087 errOs << "Rj=" << rj <<" xsec(" 00088 <<eKin/MeV<<" MeV)= "<< xs <<" A= "<<GetA()<<" Z= "<<GetZ() 00089 <<G4endl; 00090 throw G4HadronicException(__FILE__, __LINE__, errOs.str()); 00091 } 00092 00093 G4double Probability = fact * GetReducedMass() * rj * xs * eKin * P * (N-1) 00094 * g4pow->powN(g1*E1/(g0*E0),N-2) * g1 / (E0*g0*g0); 00095 00096 /* 00097 G4double Probability = 1.0/pi2*2.0/(hbarc*hbarc*hbarc) * GetReducedMass() 00098 * GetRj(aFragment.GetNumberOfParticles(), aFragment.GetNumberOfCharged()) 00099 * eKin*CrossSection(eKin)*millibarn * P*(N-1.0) * 00100 std::pow(g1*E1/(g0*E0),N-2.0)/E0 * g1/(g0*g0); 00101 */ 00102 00103 return Probability; 00104 } 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120