Geant4-11
Public Member Functions | Protected Attributes | Private Member Functions
G4VStatMFMacroCluster Class Referenceabstract

#include <G4VStatMFMacroCluster.hh>

Inheritance diagram for G4VStatMFMacroCluster:
G4StatMFMacroBiNucleon G4StatMFMacroMultiNucleon G4StatMFMacroNucleon G4StatMFMacroTetraNucleon G4StatMFMacroTriNucleon

Public Member Functions

virtual G4double CalcEnergy (const G4double T)=0
 
virtual G4double CalcEntropy (const G4double T, const G4double FreeVol)=0
 
virtual G4double CalcMeanMultiplicity (const G4double FreeVol, const G4double mu, const G4double nu, const G4double T)=0
 
virtual G4double CalcZARatio (const G4double nu)=0
 
 G4VStatMFMacroCluster (const G4int Size)
 
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)
 
virtual ~G4VStatMFMacroCluster ()
 

Protected Attributes

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

Private Member Functions

G4double CalcInvLevelDensity (void)
 
 G4VStatMFMacroCluster ()
 
 G4VStatMFMacroCluster (const G4VStatMFMacroCluster &right)
 
G4VStatMFMacroClusteroperator= (const G4VStatMFMacroCluster &right)
 

Detailed Description

Definition at line 38 of file G4VStatMFMacroCluster.hh.

Constructor & Destructor Documentation

◆ G4VStatMFMacroCluster() [1/3]

G4VStatMFMacroCluster::G4VStatMFMacroCluster ( const G4int  Size)
inline

Definition at line 42 of file G4VStatMFMacroCluster.hh.

42 :
43 theA(Size),
45 _Entropy(0.0),
46 theZARatio(0.0),
48 _Energy(0.0)
49 {
50 if (theA <= 0) throw G4HadronicException(__FILE__, __LINE__,
51 "G4VStatMFMacroCluster::Constructor: Cluster's size must be >= 1");
53 }
G4double CalcInvLevelDensity(void)

References _InvLevelDensity, CalcInvLevelDensity(), and theA.

◆ ~G4VStatMFMacroCluster()

virtual G4VStatMFMacroCluster::~G4VStatMFMacroCluster ( )
inlinevirtual

Definition at line 57 of file G4VStatMFMacroCluster.hh.

57{};

◆ G4VStatMFMacroCluster() [2/3]

G4VStatMFMacroCluster::G4VStatMFMacroCluster ( )
inlineprivate

Definition at line 63 of file G4VStatMFMacroCluster.hh.

63{};

◆ G4VStatMFMacroCluster() [3/3]

G4VStatMFMacroCluster::G4VStatMFMacroCluster ( const G4VStatMFMacroCluster right)
private

Definition at line 36 of file G4VStatMFMacroCluster.cc.

37{
38 throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::copy_constructor meant to not be accessible");
39}

Member Function Documentation

◆ CalcEnergy()

virtual G4double G4VStatMFMacroCluster::CalcEnergy ( const G4double  T)
pure virtual

◆ CalcEntropy()

virtual G4double G4VStatMFMacroCluster::CalcEntropy ( const G4double  T,
const G4double  FreeVol 
)
pure virtual

◆ CalcInvLevelDensity()

G4double G4VStatMFMacroCluster::CalcInvLevelDensity ( void  )
private

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}
double G4double
Definition: G4Types.hh:83
static G4double GetEpsilon0()

References G4StatMFParameters::GetEpsilon0(), and theA.

Referenced by G4VStatMFMacroCluster(), and SetSize().

◆ CalcMeanMultiplicity()

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

◆ CalcZARatio()

virtual G4double G4VStatMFMacroCluster::CalcZARatio ( const G4double  nu)
pure virtual

◆ GetInvLevelDensity()

G4double G4VStatMFMacroCluster::GetInvLevelDensity ( void  ) const
inline

Definition at line 113 of file G4VStatMFMacroCluster.hh.

114 { return _InvLevelDensity; }

References _InvLevelDensity.

◆ GetMeanMultiplicity()

G4double G4VStatMFMacroCluster::GetMeanMultiplicity ( void  ) const
inline

Definition at line 85 of file G4VStatMFMacroCluster.hh.

85{ return _MeanMultiplicity; }

References _MeanMultiplicity.

◆ GetSize()

G4double G4VStatMFMacroCluster::GetSize ( void  ) const
inline

Definition at line 130 of file G4VStatMFMacroCluster.hh.

131 { return theA; }

References theA.

◆ GetZARatio()

G4double G4VStatMFMacroCluster::GetZARatio ( void  ) const
inline

Definition at line 119 of file G4VStatMFMacroCluster.hh.

120 { return theZARatio; }

References theZARatio.

◆ operator!=()

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

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=()

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

Definition at line 43 of file G4VStatMFMacroCluster.cc.

45{
46 throw G4HadronicException(__FILE__, __LINE__, "G4VStatMFMacroCluster::operator= meant to not be accessible");
47 return *this;
48}

◆ operator==()

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

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)
inline

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

References _InvLevelDensity, CalcInvLevelDensity(), and theA.

◆ SetZARatio()

void G4VStatMFMacroCluster::SetZARatio ( const G4double  value)
inline

Definition at line 116 of file G4VStatMFMacroCluster.hh.

117 { theZARatio = value; }

References theZARatio.

Field Documentation

◆ _Energy

G4double G4VStatMFMacroCluster::_Energy
protected

◆ _Entropy

G4double G4VStatMFMacroCluster::_Entropy
protected

Definition at line 99 of file G4VStatMFMacroCluster.hh.

◆ _InvLevelDensity

G4double G4VStatMFMacroCluster::_InvLevelDensity
protected

◆ _MeanMultiplicity

G4double G4VStatMFMacroCluster::_MeanMultiplicity
protected

◆ theA

G4int G4VStatMFMacroCluster::theA
protected

◆ theZARatio

G4double G4VStatMFMacroCluster::theZARatio
protected

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