Geant4 9.6.0
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 39 of file G4VStatMFMacroCluster.hh.

Constructor & Destructor Documentation

◆ G4VStatMFMacroCluster()

G4VStatMFMacroCluster::G4VStatMFMacroCluster ( const G4int  Size)
inline

Definition at line 43 of file G4VStatMFMacroCluster.hh.

43 :
44 theA(Size),
46 _Entropy(0.0),
47 theZARatio(0.0),
49 _Energy(0.0)
50 {
51 if (theA <= 0) throw G4HadronicException(__FILE__, __LINE__,
52 "G4VStatMFMacroCluster::Constructor: Cluster's size must be >= 1");
53 _InvLevelDensity = CalcInvLevelDensity();
54 }

◆ ~G4VStatMFMacroCluster()

virtual G4VStatMFMacroCluster::~G4VStatMFMacroCluster ( )
inlinevirtual

Definition at line 58 of file G4VStatMFMacroCluster.hh.

58{};

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 114 of file G4VStatMFMacroCluster.hh.

115 { return _InvLevelDensity; }

◆ GetMeanMultiplicity()

G4double G4VStatMFMacroCluster::GetMeanMultiplicity ( void  ) const
inline

Definition at line 86 of file G4VStatMFMacroCluster.hh.

86{ return _MeanMultiplicity; }

◆ GetSize()

G4double G4VStatMFMacroCluster::GetSize ( void  ) const
inline

Definition at line 131 of file G4VStatMFMacroCluster.hh.

132 { return theA; }

◆ GetZARatio()

G4double G4VStatMFMacroCluster::GetZARatio ( void  ) const
inline

Definition at line 120 of file G4VStatMFMacroCluster.hh.

121 { return theZARatio; }

◆ operator!=()

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

Definition at line 59 of file G4VStatMFMacroCluster.cc.

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

◆ operator==()

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

Definition at line 52 of file G4VStatMFMacroCluster.cc.

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

◆ SetSize()

void G4VStatMFMacroCluster::SetSize ( const G4double  value)
inline

Definition at line 124 of file G4VStatMFMacroCluster.hh.

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

◆ SetZARatio()

void G4VStatMFMacroCluster::SetZARatio ( const G4double  value)
inline

Definition at line 117 of file G4VStatMFMacroCluster.hh.

118 { theZARatio = value; }

Member Data Documentation

◆ _Energy

◆ _Entropy

G4double G4VStatMFMacroCluster::_Entropy
protected

Definition at line 100 of file G4VStatMFMacroCluster.hh.

◆ _InvLevelDensity

◆ _MeanMultiplicity

◆ theA

◆ theZARatio


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