Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VStatMFMacroCluster Class Referenceabstract

#include <G4VStatMFMacroCluster.hh>

+ Inheritance diagram for G4VStatMFMacroCluster:

Public Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 38 of file G4VStatMFMacroCluster.hh.

Constructor & Destructor Documentation

◆ G4VStatMFMacroCluster()

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");
52 _InvLevelDensity = CalcInvLevelDensity();
53 }

◆ ~G4VStatMFMacroCluster()

virtual G4VStatMFMacroCluster::~G4VStatMFMacroCluster ( )
inlinevirtual

Definition at line 57 of file G4VStatMFMacroCluster.hh.

57{};

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

◆ 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; }

◆ GetMeanMultiplicity()

G4double G4VStatMFMacroCluster::GetMeanMultiplicity ( void ) const
inline

Definition at line 85 of file G4VStatMFMacroCluster.hh.

85{ return _MeanMultiplicity; }

◆ GetSize()

G4double G4VStatMFMacroCluster::GetSize ( void ) const
inline

Definition at line 130 of file G4VStatMFMacroCluster.hh.

131 { return theA; }

◆ GetZARatio()

G4double G4VStatMFMacroCluster::GetZARatio ( void ) const
inline

Definition at line 119 of file G4VStatMFMacroCluster.hh.

120 { return 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==()

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);
127 _InvLevelDensity = CalcInvLevelDensity();
128 }
int G4int
Definition G4Types.hh:85

◆ SetZARatio()

void G4VStatMFMacroCluster::SetZARatio ( const G4double value)
inline

Definition at line 116 of file G4VStatMFMacroCluster.hh.

117 { theZARatio = value; }

Member Data Documentation

◆ _Energy

◆ _Entropy

G4double G4VStatMFMacroCluster::_Entropy
protected

Definition at line 99 of file G4VStatMFMacroCluster.hh.

◆ _InvLevelDensity

◆ _MeanMultiplicity

◆ theA

◆ theZARatio


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