Geant4  10.01.p02
G4PreCompoundIon.cc
Go to the documentation of this file.
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 // $Id: G4PreCompoundIon.cc 82765 2014-07-08 14:25:39Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class file
31 //
32 //
33 // File name: G4PreCompoundIon
34 //
35 // Author: V.Lara
36 //
37 // Modified:
38 // 10.02.2009 J. M. Quesada fixed bug in level density of light fragments
39 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
40 // use int Z and A and cleanup
41 //
42 
43 #include "G4PreCompoundIon.hh"
44 #include "G4PhysicalConstants.hh"
45 
48  G4VCoulombBarrier* aCoulombBarrier)
49  : G4PreCompoundFragment(part,aCoulombBarrier)
50 {
52  fact = 0.75*CLHEP::millibarn/(CLHEP::pi*r0*r0*r0);
53 }
54 
56 {}
57 
60  const G4Fragment& aFragment)
61 {
62  if ( !IsItPossible(aFragment) ) { return 0.0; }
63  G4double efinal = eKin + GetBindingEnergy();
64  if(efinal <= 0.0 ) { return 0.0; }
65 
66  G4double U = aFragment.GetExcitationEnergy();
67  G4int P = aFragment.GetNumberOfParticles();
68  G4int H = aFragment.GetNumberOfHoles();
69  G4int A = GetA();
70  G4int N = P + H;
71 
72  G4double g0 = (6.0/pi2)*aFragment.GetA_asInt()*theParameters->GetLevelDensity();
73  G4double g1 = (6.0/pi2)*GetRestA()*theParameters->GetLevelDensity();
74 
75  // G4double gj = (6.0/pi2)*GetA() *
76  // G4PreCompoundParameters::GetAddress()->GetLevelDensity();
77 
78  G4double gj = g1;
79 
80  G4double A0 = G4double(P*P+H*H+P-3*H)/(4.0*g0);
81  G4double A1 = std::max(0.0,(A0*g0 + A*(A-2*P-1)*0.25)/g1);
82 
83  G4double E0 = U - A0;
84  if (E0 <= 0.0) { return 0.0; }
85 
86  G4double E1 = (std::max(0.0,GetMaximalKineticEnergy() - eKin - A1));
87 
88  G4double Aj = A*(A+1)/(4.0*gj);
89  G4double Ej = std::max(0.0,efinal - Aj);
90 
91  G4double rj = GetRj(P, aFragment.GetNumberOfCharged());
92  G4double xs = CrossSection(eKin);
93 
94  G4double pA = fact*eKin*xs*rj
95  * CoalescenceFactor(aFragment.GetA_asInt()) * FactorialFactor(N,P)
96  * std::sqrt(2.0/(GetReducedMass()*efinal))
97  * g4pow->powN(g1*E1/(g0*E0), N-A-1)
98  * g4pow->powN(gj*Ej/(g0*E0), A-1)*gj*g1/(g0*g0*E0*GetRestA());
99 
100  return pA;
101 }
virtual G4double CrossSection(G4double ekin)=0
G4double powN(G4double x, G4int n) const
Definition: G4Pow.cc:128
virtual ~G4PreCompoundIon()
G4double GetMaximalKineticEnergy() const
G4double GetReducedMass() const
const G4double pi
virtual G4double ProbabilityDistributionFunction(G4double eKin, const G4Fragment &aFragment)
G4int GetA() const
G4int GetNumberOfParticles() const
Definition: G4Fragment.hh:330
G4bool IsItPossible(const G4Fragment &aFragment) const
int G4int
Definition: G4Types.hh:78
G4double GetBindingEnergy() const
G4int GetNumberOfHoles() const
Definition: G4Fragment.hh:350
G4int GetA_asInt() const
Definition: G4Fragment.hh:243
virtual G4double FactorialFactor(G4int N, G4int P)=0
static const G4double A[nN]
virtual G4double CoalescenceFactor(G4int A)=0
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged)=0
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static const double millibarn
Definition: G4SIunits.hh:96
G4int GetRestA() const
G4PreCompoundParameters * theParameters
double G4double
Definition: G4Types.hh:76
G4int GetNumberOfCharged() const
Definition: G4Fragment.hh:335
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:260
const G4double r0