[819] | 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 | // |
---|
[1340] | 26 | // $Id: G4PreCompoundNucleon.cc,v 1.14 2010/08/28 15:16:55 vnivanch Exp $ |
---|
| 27 | // GEANT4 tag $Name: geant4-09-03-ref-09 $ |
---|
[962] | 28 | // |
---|
[1055] | 29 | // ------------------------------------------------------------------- |
---|
| 30 | // |
---|
| 31 | // GEANT4 Class file |
---|
| 32 | // |
---|
| 33 | // |
---|
| 34 | // File name: G4PreCompoundNucleon |
---|
| 35 | // |
---|
| 36 | // Author: V.Lara |
---|
| 37 | // |
---|
| 38 | // Modified: |
---|
| 39 | // 10.02.2009 J. M. Quesada cleanup |
---|
[1340] | 40 | // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers |
---|
| 41 | // use int Z and A and cleanup |
---|
[1055] | 42 | // |
---|
[819] | 43 | |
---|
| 44 | #include "G4PreCompoundNucleon.hh" |
---|
| 45 | |
---|
[1340] | 46 | G4PreCompoundNucleon:: |
---|
| 47 | G4PreCompoundNucleon(const G4ParticleDefinition* part, |
---|
| 48 | G4VCoulombBarrier* aCoulombBarrier) |
---|
| 49 | : G4PreCompoundFragment(part,aCoulombBarrier) |
---|
[1055] | 50 | { |
---|
[1340] | 51 | fact = 2*CLHEP::millibarn/(CLHEP::pi2*CLHEP::hbarc*CLHEP::hbarc*CLHEP::hbarc); |
---|
[1055] | 52 | } |
---|
[819] | 53 | |
---|
[1340] | 54 | G4PreCompoundNucleon::~G4PreCompoundNucleon() |
---|
| 55 | {} |
---|
| 56 | |
---|
[819] | 57 | G4double G4PreCompoundNucleon:: |
---|
[1340] | 58 | ProbabilityDistributionFunction(G4double eKin, |
---|
[819] | 59 | const G4Fragment& aFragment) |
---|
| 60 | { |
---|
[1340] | 61 | if ( !IsItPossible(aFragment) ) { return 0.0; } |
---|
[819] | 62 | |
---|
| 63 | G4double U = aFragment.GetExcitationEnergy(); |
---|
[1340] | 64 | G4int P = aFragment.GetNumberOfParticles(); |
---|
| 65 | G4int H = aFragment.GetNumberOfHoles(); |
---|
| 66 | G4int N = P + H; |
---|
| 67 | |
---|
| 68 | G4double g0 = (6.0/pi2)*aFragment.GetA_asInt()*theParameters->GetLevelDensity(); |
---|
| 69 | G4double g1 = (6.0/pi2)*GetRestA()*theParameters->GetLevelDensity(); |
---|
[819] | 70 | |
---|
[1340] | 71 | G4double A0 = G4double(P*P+H*H+P-3*H)/(4.0*g0); |
---|
| 72 | G4double A1 = (A0 - 0.5*P)/g1; |
---|
[819] | 73 | |
---|
[1340] | 74 | G4double E0 = U - A0; |
---|
| 75 | if (E0 <= 0.0) { return 0.0; } |
---|
[962] | 76 | |
---|
[1340] | 77 | G4double E1 = U - eKin - GetBindingEnergy() - A1; |
---|
| 78 | if (E1 <= 0.0) { return 0.0; } |
---|
[819] | 79 | |
---|
[1340] | 80 | G4double rj = GetRj(P, aFragment.GetNumberOfCharged()); |
---|
| 81 | G4double xs = CrossSection(eKin); |
---|
[819] | 82 | |
---|
[1340] | 83 | if (rj <0.0 || xs < 0.0) { |
---|
[1055] | 84 | std::ostringstream errOs; |
---|
| 85 | G4cout<<"WARNING: NEGATIVE VALUES "<<G4endl; |
---|
[1340] | 86 | errOs << "Rj=" << rj <<" xsec(" |
---|
| 87 | <<eKin/MeV<<" MeV)= "<< xs <<" A= "<<GetA()<<" Z= "<<GetZ() |
---|
[1055] | 88 | <<G4endl; |
---|
| 89 | throw G4HadronicException(__FILE__, __LINE__, errOs.str()); |
---|
| 90 | } |
---|
[962] | 91 | |
---|
[1340] | 92 | G4double Probability = fact * GetReducedMass() * rj * xs * eKin * P * (N-1) |
---|
| 93 | * g4pow->powN(g1*E1/(g0*E0),N-2) * g1 / (E0*g0*g0); |
---|
| 94 | |
---|
| 95 | /* |
---|
| 96 | G4double Probability = 1.0/pi2*2.0/(hbarc*hbarc*hbarc) * GetReducedMass() |
---|
| 97 | * GetRj(aFragment.GetNumberOfParticles(), aFragment.GetNumberOfCharged()) |
---|
| 98 | * eKin*CrossSection(eKin)*millibarn * P*(N-1.0) * |
---|
| 99 | std::pow(g1*E1/(g0*E0),N-2.0)/E0 * g1/(g0*g0); |
---|
| 100 | */ |
---|
| 101 | |
---|
[819] | 102 | return Probability; |
---|
| 103 | } |
---|
[962] | 104 | |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | |
---|