Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4StatMFMacroMultiNucleon.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 //
27 // $Id: G4StatMFMacroMultiNucleon.cc 100379 2016-10-19 15:05:35Z gcosmo $
28 //
29 // Hadronic Process: Nuclear De-excitations
30 // by V. Lara
31 //
32 // Modified:
33 // 25.07.08 I.Pshenichnov (in collaboration with Alexander Botvina and Igor
34 // Mishustin (FIAS, Frankfurt, INR, Moscow and Kurchatov Institute,
35 // Moscow, pshenich@fias.uni-frankfurt.de) fixed computation of the
36 // symmetry energy
37 
39 #include "G4PhysicalConstants.hh"
40 #include "G4SystemOfUnits.hh"
41 #include "G4Log.hh"
42 #include "G4Exp.hh"
43 #include "G4Pow.hh"
44 
45 // Default constructor
46 G4StatMFMacroMultiNucleon::
47 G4StatMFMacroMultiNucleon() :
48  G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private
49 {
50  throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::default_constructor meant to not be accessable");
51 }
52 
53 // Copy constructor
54 G4StatMFMacroMultiNucleon::
55 G4StatMFMacroMultiNucleon(const G4StatMFMacroMultiNucleon & ) :
56  G4VStatMFMacroCluster(0) // Beacuse the def. constr. of base class is private
57 {
58  throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::copy_constructor meant to not be accessable");
59 }
60 
61 // Operators
62 
63 G4StatMFMacroMultiNucleon & G4StatMFMacroMultiNucleon::
64 operator=(const G4StatMFMacroMultiNucleon & )
65 {
66  throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator= meant to not be accessable");
67  return *this;
68 }
69 
70 G4bool G4StatMFMacroMultiNucleon::operator==(const G4StatMFMacroMultiNucleon & ) const
71 {
72  throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator== meant to not be accessable");
73  return false;
74 }
75 
76 G4bool G4StatMFMacroMultiNucleon::operator!=(const G4StatMFMacroMultiNucleon & ) const
77 {
78  throw G4HadronicException(__FILE__, __LINE__, "G4StatMFMacroMultiNucleon::operator!= meant to not be accessable");
79  return true;
80 }
81 
83  const G4double mu,
84  const G4double nu,
85  const G4double T)
86 {
87  G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
88  G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
89  G4Pow* g4calc = G4Pow::GetInstance();
90  G4double A23 = g4calc->Z23(theA);
91 
92  G4double exponent = (mu + nu*theZARatio+ G4StatMFParameters::GetE0()
93  + T*T/_InvLevelDensity
95  (1.0 - 2.0*theZARatio))*theA
96  - G4StatMFParameters::Beta(T)*A23
98 
99  exponent /= T;
100 
101  if (exponent > 30.0) exponent = 30.0;
102 
103  _MeanMultiplicity = std::max((FreeVol * theA * std::sqrt((G4double)theA)/lambda3) *
104  G4Exp(exponent),1.0e-30);
105  return _MeanMultiplicity;
106 }
107 
109 {
112  theZARatio = (4.0*G4StatMFParameters::GetGamma0()+nu)/den;
113  return theZARatio;
114 }
115 
117 {
118  G4Pow* g4calc = G4Pow::GetInstance();
119  G4double A23 = g4calc->Z23(theA);
120 
121  // Volume term
123 
124  // Symmetry term
126  *(1. - 2.* theZARatio) * (1. - 2.* theZARatio);
127 
128  // Surface term
130 
131  // Coulomb term
133 
134  // Translational term
135  G4double ETrans = 1.5*T;
136  return _Energy = EVol + ESurf + ECoul + ETrans + ESym;
137 }
138 
140  const G4double FreeVol)
141 {
142  G4double Entropy = 0.0;
143  if (_MeanMultiplicity > 0.0) {
144 
145  G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
146  G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
147  // Volume term
148  G4double SV = 2.0*theA*T/_InvLevelDensity;
149 
150  // Surface term
152 
153  // Translational term
154  G4double ST = 2.5 + G4Log(FreeVol * std::sqrt((G4double)theA) * theA
155  /(lambda3*_MeanMultiplicity));
156 
157  Entropy = _MeanMultiplicity*(SV + SS + ST);
158  }
159  return Entropy;
160 }
static G4double GetGamma0()
static G4Pow * GetInstance()
Definition: G4Pow.cc:55
Definition: G4Pow.hh:56
G4double CalcEnergy(const G4double T)
bool G4bool
Definition: G4Types.hh:79
static G4double GetE0()
G4double G4Log(G4double x)
Definition: G4Log.hh:230
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:183
#define A23
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static G4double DBetaDT(G4double T)
static G4double GetCoulomb()
G4double Z23(G4int Z) const
Definition: G4Pow.hh:154
G4double CalcZARatio(const G4double nu)
G4double CalcMeanMultiplicity(const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)
double G4double
Definition: G4Types.hh:76
static constexpr double fermi
Definition: G4SIunits.hh:103
static G4double Beta(G4double T)
G4double CalcEntropy(const G4double T, const G4double FreeVol)