Geant4  10.02.p03
G4StatMFMacroNucleon Class Reference

#include <G4StatMFMacroNucleon.hh>

Inheritance diagram for G4StatMFMacroNucleon:
Collaboration diagram for G4StatMFMacroNucleon:

Public Member Functions

 G4StatMFMacroNucleon ()
 
 ~G4StatMFMacroNucleon ()
 
G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)
 
G4double CalcZARatio (const G4double)
 
G4double CalcEnergy (const G4double T)
 
G4double CalcEntropy (const G4double T, const G4double FreeVol)
 
- Public Member Functions inherited from G4VStatMFMacroCluster
 G4VStatMFMacroCluster (const G4int Size)
 
virtual ~G4VStatMFMacroCluster ()
 
G4bool operator== (const G4VStatMFMacroCluster &right) const
 
G4bool operator!= (const G4VStatMFMacroCluster &right) const
 
G4double GetMeanMultiplicity (void) const
 
G4double GetInvLevelDensity (void) const
 
void SetZARatio (const G4double value)
 
G4double GetZARatio (void) const
 
void SetSize (const G4double value)
 
G4double GetSize (void) const
 

Private Member Functions

 G4StatMFMacroNucleon (const G4StatMFMacroNucleon &right)
 
G4StatMFMacroNucleonoperator= (const G4StatMFMacroNucleon &right)
 
G4bool operator== (const G4StatMFMacroNucleon &right) const
 
G4bool operator!= (const G4StatMFMacroNucleon &right) const
 

Private Attributes

G4double _NeutronMeanMultiplicity
 
G4double _ProtonMeanMultiplicity
 

Additional Inherited Members

- Protected Attributes inherited from G4VStatMFMacroCluster
G4int theA
 
G4double _InvLevelDensity
 
G4double _Entropy
 
G4double theZARatio
 
G4double _MeanMultiplicity
 
G4double _Energy
 

Detailed Description

Definition at line 37 of file G4StatMFMacroNucleon.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroNucleon() [1/2]

G4StatMFMacroNucleon::G4StatMFMacroNucleon ( )

Definition at line 38 of file G4StatMFMacroNucleon.cc.

Here is the caller graph for this function:

◆ ~G4StatMFMacroNucleon()

G4StatMFMacroNucleon::~G4StatMFMacroNucleon ( )

Definition at line 43 of file G4StatMFMacroNucleon.cc.

44 {}

◆ G4StatMFMacroNucleon() [2/2]

G4StatMFMacroNucleon::G4StatMFMacroNucleon ( const G4StatMFMacroNucleon right)
private

Member Function Documentation

◆ CalcEnergy()

G4double G4StatMFMacroNucleon::CalcEnergy ( const G4double  T)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 78 of file G4StatMFMacroNucleon.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalcEntropy()

G4double G4StatMFMacroNucleon::CalcEntropy ( const G4double  T,
const G4double  FreeVol 
)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 84 of file G4StatMFMacroNucleon.cc.

85 {
86  G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
87  G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
88 
89  G4double NeutronEntropy = 0.0;
90  if (_NeutronMeanMultiplicity > 0.0)
91  NeutronEntropy = _NeutronMeanMultiplicity*(2.5+G4Log(2*theA*FreeVol/
92  (lambda3*_NeutronMeanMultiplicity)));
93 
94  G4double ProtonEntropy = 0.0;
95  if (_ProtonMeanMultiplicity > 0.0)
96  ProtonEntropy = _ProtonMeanMultiplicity*(2.5+G4Log(2*theA*FreeVol/
97  (lambda3*_ProtonMeanMultiplicity)));
98 
99  return NeutronEntropy+ProtonEntropy;
100 }
G4double G4Log(G4double x)
Definition: G4Log.hh:230
double G4double
Definition: G4Types.hh:76
static const double fermi
Definition: G4SIunits.hh:102
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalcMeanMultiplicity()

G4double G4StatMFMacroNucleon::CalcMeanMultiplicity ( const G4double  FreeVol,
const G4double  mu,
const G4double  nu,
const G4double  T 
)
virtual

Implements G4VStatMFMacroCluster.

Definition at line 47 of file G4StatMFMacroNucleon.cc.

50 {
51  if (T <= 0.0) {
52  throw G4HadronicException(__FILE__, __LINE__,
53  "G4StatMFMacroNucleon::CalcMeanMultiplicity: Temperature less or equal 0");
54  }
55 
56  G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
57 
58  G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
59 
60  static const G4double degeneracy = 2.0;
61 
62  G4double exponent_proton = (mu + nu - G4StatMFParameters::GetCoulomb())/T;
63  G4double exponent_neutron = mu/T;
64 
65  if (exponent_neutron > 300.0) exponent_neutron = 300.0;
66  if (exponent_proton > 300.0) exponent_proton = 300.0;
67 
69  (degeneracy*FreeVol/lambda3)*G4Exp(exponent_neutron);
70 
72  (degeneracy*FreeVol/lambda3)*G4Exp(exponent_proton);
73 
75 }
static const G4double degeneracy
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:183
static G4double GetCoulomb()
double G4double
Definition: G4Types.hh:76
static const double fermi
Definition: G4SIunits.hh:102
Here is the call graph for this function:

◆ CalcZARatio()

G4double G4StatMFMacroNucleon::CalcZARatio ( const G4double  )
inlinevirtual

Implements G4VStatMFMacroCluster.

Definition at line 48 of file G4StatMFMacroNucleon.hh.

Here is the call graph for this function:

◆ operator!=()

G4bool G4StatMFMacroNucleon::operator!= ( const G4StatMFMacroNucleon right) const
private
Here is the caller graph for this function:

◆ operator=()

G4StatMFMacroNucleon& G4StatMFMacroNucleon::operator= ( const G4StatMFMacroNucleon right)
private
Here is the caller graph for this function:

◆ operator==()

G4bool G4StatMFMacroNucleon::operator== ( const G4StatMFMacroNucleon right) const
private
Here is the caller graph for this function:

Member Data Documentation

◆ _NeutronMeanMultiplicity

G4double G4StatMFMacroNucleon::_NeutronMeanMultiplicity
private

Definition at line 72 of file G4StatMFMacroNucleon.hh.

◆ _ProtonMeanMultiplicity

G4double G4StatMFMacroNucleon::_ProtonMeanMultiplicity
private

Definition at line 73 of file G4StatMFMacroNucleon.hh.


The documentation for this class was generated from the following files: