File indexing completed on 2025-01-18 09:59:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #ifndef G4StatMFMicroManager_h
0033 #define G4StatMFMicroManager_h 1
0034
0035 #include "G4StatMFMicroPartition.hh"
0036 #include "G4StatMFParameters.hh"
0037 #include "G4StatMFChannel.hh"
0038
0039 #include "G4Fragment.hh"
0040 #include "Randomize.hh"
0041
0042
0043 class G4StatMFMicroManager {
0044
0045 public:
0046
0047
0048
0049 G4StatMFMicroManager(const G4Fragment & theFragment, G4int multiplicity,
0050 G4double FreeIntE, G4double SCompNuc);
0051
0052
0053 ~G4StatMFMicroManager();
0054
0055 private:
0056
0057 G4StatMFMicroManager() {};
0058
0059
0060
0061 G4StatMFMicroManager(const G4StatMFMicroManager &right);
0062
0063
0064
0065 G4StatMFMicroManager & operator=(const G4StatMFMicroManager & right);
0066
0067 public:
0068 G4bool operator==(const G4StatMFMicroManager & right) const;
0069 G4bool operator!=(const G4StatMFMicroManager & right) const;
0070
0071
0072 public:
0073
0074
0075 G4StatMFChannel * ChooseChannel(G4int A0, G4int Z0, G4double MeanT);
0076
0077 G4double GetProbability(void) const {return _WW;}
0078
0079 void Normalize(G4double Norm);
0080
0081 G4double GetMeanMultiplicity(void) const {return _MeanMultiplicity; }
0082
0083 G4double GetMeanTemperature(void) const {return _MeanTemperature; }
0084
0085 G4double GetMeanEntropy(void) const {return _MeanEntropy; }
0086
0087 private:
0088
0089
0090 void Initialize(const G4Fragment & theFragment, G4int m,
0091 G4double FreeIntE, G4double SCompNuc);
0092
0093 G4bool MakePartition(G4int k, G4int * ANumbers);
0094
0095
0096
0097
0098
0099 private:
0100
0101
0102
0103 std::vector<G4StatMFMicroPartition*> _Partition;
0104
0105
0106
0107 G4double _WW;
0108
0109 G4double _Normalization;
0110
0111 G4double _MeanMultiplicity;
0112
0113 G4double _MeanTemperature;
0114
0115 G4double _MeanEntropy;
0116
0117 struct DeleteFragment
0118 {
0119 template<typename T>
0120 void operator()(const T* ptr) const
0121 {
0122 delete ptr;
0123 }
0124 };
0125
0126 };
0127
0128 #endif
0129
0130
0131
0132
0133
0134