Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4PreCompoundNucleon.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: G4PreCompoundNucleon.cc 100378 2016-10-19 15:03:27Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class file
31 //
32 //
33 // File name: G4PreCompoundNucleon
34 //
35 // Author: V.Lara
36 //
37 // Modified:
38 // 10.02.2009 J. M. Quesada cleanup
39 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
40 // use int Z and A and cleanup
41 //
42 
43 #include "G4PreCompoundNucleon.hh"
44 #include "G4PhysicalConstants.hh"
45 #include "G4SystemOfUnits.hh"
46 
48  const G4ParticleDefinition* part, G4VCoulombBarrier* aCoulombBarrier)
49  : G4PreCompoundFragment(part,aCoulombBarrier)
50 {}
51 
53 {}
54 
57  const G4Fragment& aFragment)
58 {
59  G4double U = aFragment.GetExcitationEnergy();
60  G4int P = aFragment.GetNumberOfParticles();
61  G4int H = aFragment.GetNumberOfHoles();
62  G4int N = P + H;
63 
64  static const G4double sixoverpi2 = 6.0/CLHEP::pi2;
66  G4double g1 = sixoverpi2*theResA*theParameters->GetLevelDensity();
67 
68  G4double A0 = G4double(P*P+H*H+P-3*H)/(4.0*g0);
69  G4double A1 = (A0 - 0.5*P)/g1;
70 
71  G4double E0 = U - A0;
72  if (E0 <= 0.0) { return 0.0; }
73 
74  G4double E1 = U - eKin - theBindingEnergy - A1;
75  if (E1 <= 0.0) { return 0.0; }
76 
77  G4double rj = GetRj(P, aFragment.GetNumberOfCharged());
78  G4double xs = CrossSection(eKin);
79 
80  if (rj <0.0 || xs < 0.0) { return 0.0; }
81 
82  static const G4double fact = 2*CLHEP::millibarn
84  G4double Probability = fact * theReducedMass * rj * xs * eKin * P * (N-1)
85  * g4calc->powN(g1*E1/(g0*E0),N-2) * g1 / (E0*g0*g0);
86 
87  return Probability;
88 }
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
const int N
Definition: mixmax.h:43
G4double powN(G4double x, G4int n) const
Definition: G4Pow.cc:128
static constexpr double pi2
Definition: SystemOfUnits.h:57
static constexpr double millibarn
Definition: SystemOfUnits.h:86
static constexpr double hbarc
G4int GetNumberOfParticles() const
Definition: G4Fragment.hh:345
G4double GetLevelDensity() const
int G4int
Definition: G4Types.hh:78
static double P[]
G4PreCompoundNucleon(const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
G4DeexPrecoParameters * theParameters
G4int GetNumberOfHoles() const
Definition: G4Fragment.hh:365
G4double CrossSection(G4double ekin) const
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged) const =0
virtual G4double ProbabilityDistributionFunction(G4double eKin, const G4Fragment &aFragment)
double G4double
Definition: G4Types.hh:76
G4int GetNumberOfCharged() const
Definition: G4Fragment.hh:350
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:283