Geant4-11
Public Member Functions | Protected Attributes | Private Member Functions
G4StatMFMacroTriNucleon Class Reference

#include <G4StatMFMacroTriNucleon.hh>

Inheritance diagram for G4StatMFMacroTriNucleon:
G4VStatMFMacroCluster

Public Member Functions

G4double CalcEnergy (const G4double T)
 
G4double CalcEntropy (const G4double T, const G4double FreeVol)
 
G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)
 
G4double CalcZARatio (const G4double)
 
 G4StatMFMacroTriNucleon ()
 
G4double GetInvLevelDensity (void) const
 
G4double GetMeanMultiplicity (void) const
 
G4double GetSize (void) const
 
G4double GetZARatio (void) const
 
G4bool operator!= (const G4VStatMFMacroCluster &right) const
 
G4bool operator== (const G4VStatMFMacroCluster &right) const
 
void SetSize (const G4double value)
 
void SetZARatio (const G4double value)
 
 ~G4StatMFMacroTriNucleon ()
 

Protected Attributes

G4double _Energy
 
G4double _Entropy
 
G4double _InvLevelDensity
 
G4double _MeanMultiplicity
 
G4int theA
 
G4double theZARatio
 

Private Member Functions

G4double CalcInvLevelDensity (void)
 
 G4StatMFMacroTriNucleon (const G4StatMFMacroTriNucleon &right)
 
G4bool operator!= (const G4StatMFMacroTriNucleon &right) const
 
G4StatMFMacroTriNucleonoperator= (const G4StatMFMacroTriNucleon &right)
 
G4bool operator== (const G4StatMFMacroTriNucleon &right) const
 

Detailed Description

Definition at line 37 of file G4StatMFMacroTriNucleon.hh.

Constructor & Destructor Documentation

◆ G4StatMFMacroTriNucleon() [1/2]

G4StatMFMacroTriNucleon::G4StatMFMacroTriNucleon ( )

Definition at line 38 of file G4StatMFMacroTriNucleon.cc.

◆ ~G4StatMFMacroTriNucleon()

G4StatMFMacroTriNucleon::~G4StatMFMacroTriNucleon ( )

Definition at line 42 of file G4StatMFMacroTriNucleon.cc.

43{}

◆ G4StatMFMacroTriNucleon() [2/2]

G4StatMFMacroTriNucleon::G4StatMFMacroTriNucleon ( const G4StatMFMacroTriNucleon right)
private

Member Function Documentation

◆ CalcEnergy()

G4double G4StatMFMacroTriNucleon::CalcEnergy ( const G4double  T)
virtual

◆ CalcEntropy()

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

Implements G4VStatMFMacroCluster.

Definition at line 78 of file G4StatMFMacroTriNucleon.cc.

79{
80 G4double Entropy = 0.0;
81 if (_MeanMultiplicity > 0.0) {
82 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
83 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
84 Entropy = _MeanMultiplicity*(2.5 + G4Log((4*theA)*std::sqrt((G4double)theA)
85 *FreeVol/(lambda3*_MeanMultiplicity)));
86 }
87 return Entropy;
88}
G4double G4Log(G4double x)
Definition: G4Log.hh:226
static constexpr double fermi
Definition: G4SIunits.hh:83
double G4double
Definition: G4Types.hh:83

References G4VStatMFMacroCluster::_MeanMultiplicity, fermi, G4Log(), and G4VStatMFMacroCluster::theA.

◆ CalcInvLevelDensity()

G4double G4VStatMFMacroCluster::CalcInvLevelDensity ( void  )
privateinherited

Definition at line 65 of file G4VStatMFMacroCluster.cc.

66{
67 // Calculate Inverse Density Level
68 // Epsilon0*(1 + 3 /(Af - 1))
69 if (theA == 1) return 0.0;
70 else return
71 G4StatMFParameters::GetEpsilon0()*(1.0+3.0/(static_cast<G4double>(theA-1)));
72}
static G4double GetEpsilon0()

References G4StatMFParameters::GetEpsilon0(), and G4VStatMFMacroCluster::theA.

Referenced by G4VStatMFMacroCluster::G4VStatMFMacroCluster(), and G4VStatMFMacroCluster::SetSize().

◆ CalcMeanMultiplicity()

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

Implements G4VStatMFMacroCluster.

Definition at line 46 of file G4StatMFMacroTriNucleon.cc.

50{
51 G4double ThermalWaveLenght = 16.15*fermi/std::sqrt(T);
52 G4double lambda3 = ThermalWaveLenght*ThermalWaveLenght*ThermalWaveLenght;
53 static const G4double degeneracy = 4.0; // H3 + He3
54
55 // old value was 9.224*MeV
57 // + G4NucleiProperties::GetBindingEnergy(theA,2);
58
59 G4double exponent = (BindingE+ theA*(mu+nu*theZARatio) -
62 if (exponent > 300.0) exponent = 300.0;
63
64 _MeanMultiplicity = (degeneracy*FreeVol*theA*std::sqrt((G4double)theA)/lambda3)*
65 G4Exp(exponent);
66
67 return _MeanMultiplicity;
68}
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:179
static const G4double degeneracy

References G4VStatMFMacroCluster::_MeanMultiplicity, degeneracy, fermi, G4Exp(), G4NucleiProperties::GetBindingEnergy(), G4StatMFParameters::GetCoulomb(), G4Pow::GetInstance(), G4VStatMFMacroCluster::theA, G4VStatMFMacroCluster::theZARatio, and G4Pow::Z23().

◆ CalcZARatio()

G4double G4StatMFMacroTriNucleon::CalcZARatio ( const  G4double)
inlinevirtual

Implements G4VStatMFMacroCluster.

Definition at line 48 of file G4StatMFMacroTriNucleon.hh.

48{return theZARatio = 0.5;}

References G4VStatMFMacroCluster::theZARatio.

◆ GetInvLevelDensity()

G4double G4VStatMFMacroCluster::GetInvLevelDensity ( void  ) const
inlineinherited

Definition at line 113 of file G4VStatMFMacroCluster.hh.

114 { return _InvLevelDensity; }

References G4VStatMFMacroCluster::_InvLevelDensity.

◆ GetMeanMultiplicity()

G4double G4VStatMFMacroCluster::GetMeanMultiplicity ( void  ) const
inlineinherited

Definition at line 85 of file G4VStatMFMacroCluster.hh.

85{ return _MeanMultiplicity; }

References G4VStatMFMacroCluster::_MeanMultiplicity.

◆ GetSize()

G4double G4VStatMFMacroCluster::GetSize ( void  ) const
inlineinherited

Definition at line 130 of file G4VStatMFMacroCluster.hh.

131 { return theA; }

References G4VStatMFMacroCluster::theA.

◆ GetZARatio()

G4double G4VStatMFMacroCluster::GetZARatio ( void  ) const
inlineinherited

Definition at line 119 of file G4VStatMFMacroCluster.hh.

120 { return theZARatio; }

References G4VStatMFMacroCluster::theZARatio.

◆ operator!=() [1/2]

G4bool G4StatMFMacroTriNucleon::operator!= ( const G4StatMFMacroTriNucleon right) const
private

◆ operator!=() [2/2]

G4bool G4VStatMFMacroCluster::operator!= ( const G4VStatMFMacroCluster right) const
inherited

Definition at line 58 of file G4VStatMFMacroCluster.cc.

59{
60// throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::operator!= meant to not be accessible");
61 return true;
62}

◆ operator=()

G4StatMFMacroTriNucleon & G4StatMFMacroTriNucleon::operator= ( const G4StatMFMacroTriNucleon right)
private

◆ operator==() [1/2]

G4bool G4StatMFMacroTriNucleon::operator== ( const G4StatMFMacroTriNucleon right) const
private

◆ operator==() [2/2]

G4bool G4VStatMFMacroCluster::operator== ( const G4VStatMFMacroCluster right) const
inherited

Definition at line 51 of file G4VStatMFMacroCluster.cc.

52{
53// throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::operator== meant to not be accessible");
54 return false;
55}

◆ SetSize()

void G4VStatMFMacroCluster::SetSize ( const G4double  value)
inlineinherited

Definition at line 123 of file G4VStatMFMacroCluster.hh.

124 {
125 if (value <= 0.0) throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::SetSize: Cluster's size must be >= 1");
126 theA = G4int(value);
128 }
int G4int
Definition: G4Types.hh:85
G4double CalcInvLevelDensity(void)

References G4VStatMFMacroCluster::_InvLevelDensity, G4VStatMFMacroCluster::CalcInvLevelDensity(), and G4VStatMFMacroCluster::theA.

◆ SetZARatio()

void G4VStatMFMacroCluster::SetZARatio ( const G4double  value)
inlineinherited

Definition at line 116 of file G4VStatMFMacroCluster.hh.

117 { theZARatio = value; }

References G4VStatMFMacroCluster::theZARatio.

Field Documentation

◆ _Energy

G4double G4VStatMFMacroCluster::_Energy
protectedinherited

◆ _Entropy

G4double G4VStatMFMacroCluster::_Entropy
protectedinherited

Definition at line 99 of file G4VStatMFMacroCluster.hh.

◆ _InvLevelDensity

G4double G4VStatMFMacroCluster::_InvLevelDensity
protectedinherited

◆ _MeanMultiplicity

G4double G4VStatMFMacroCluster::_MeanMultiplicity
protectedinherited

◆ theA

G4int G4VStatMFMacroCluster::theA
protectedinherited

◆ theZARatio

G4double G4VStatMFMacroCluster::theZARatio
protectedinherited

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