Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -44,85 +44,48 @@ class G4StatMFMicroManager {
public:
// G4StatMFMicroManager class must be initialized with a G4Fragment, multiplicity,
// free internal energy and the entropy of the compund nucleus.
G4StatMFMicroManager(const G4Fragment & theFragment, G4int multiplicity,
G4double FreeIntE, G4double SCompNuc);
// G4StatMFMicroManager class must be initialized with a G4Fragment, multiplicity,
// free internal energy and the entropy of the compund nucleus.
G4StatMFMicroManager(const G4Fragment& theFragment, G4int multiplicity,
G4double FreeIntE, G4double SCompNuc);
// destructor
~G4StatMFMicroManager();
~G4StatMFMicroManager();
private:
// default constructor
G4StatMFMicroManager() {};
// copy constructor
G4StatMFMicroManager(const G4StatMFMicroManager& right) = delete;
G4StatMFMicroManager & operator=(const G4StatMFMicroManager& right) = delete;
G4bool operator==(const G4StatMFMicroManager & right) const = delete;
G4bool operator!=(const G4StatMFMicroManager & right) const = delete;
// copy constructor
G4StatMFMicroManager(const G4StatMFMicroManager &right);
// operators
G4StatMFMicroManager & operator=(const G4StatMFMicroManager & right);
public:
G4bool operator==(const G4StatMFMicroManager & right) const;
G4bool operator!=(const G4StatMFMicroManager & right) const;
public:
// Choice of fragment atomic numbers and charges.
G4StatMFChannel * ChooseChannel(G4int A0, G4int Z0, G4double MeanT);
// Choice of fragment atomic numbers and charges.
G4StatMFChannel* ChooseChannel(G4int A0, G4int Z0, G4double MeanT);
G4double GetProbability(void) const {return _WW;}
G4double GetProbability(void) const {return _WW;}
void Normalize(G4double Norm);
void Normalize(G4double Norm);
G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity; }
G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity; }
G4double GetMeanTemperature(void) const {return _MeanTemperature; }
G4double GetMeanTemperature(void) const {return _MeanTemperature; }
G4double GetMeanEntropy(void) const {return _MeanEntropy; }
G4double GetMeanEntropy(void) const {return _MeanEntropy; }
private:
// Initailization method
void Initialize(const G4Fragment & theFragment, G4int m,
G4double FreeIntE, G4double SCompNuc);
// Initailization method
void Initialize(const G4Fragment & theFragment, G4int m,
G4double FreeIntE, G4double SCompNuc);
G4bool MakePartition(G4int k, G4int * ANumbers);
G4bool MakePartition(G4int k, G4int* ANumbers);
// Partitions vector
std::vector<G4StatMFMicroPartition*> _Partition;
// Data members
private:
// Partitions vector
std::vector<G4StatMFMicroPartition*> _Partition;
// Statistical weight
G4double _WW;
G4double _Normalization;
G4double _MeanMultiplicity;
G4double _MeanTemperature;
G4double _MeanEntropy;
struct DeleteFragment
{
template<typename T>
void operator()(const T* ptr) const
{
delete ptr;
}
};
G4double _WW;
G4double _Normalization;
G4double _MeanMultiplicity;
G4double _MeanTemperature;
G4double _MeanEntropy;
};
#endif