File indexing completed on 2026-07-24 09:10:49
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 #ifndef G4StatMFMacroCanonical_h
0032 #define G4StatMFMacroCanonical_h 1
0033
0034 #include "G4Fragment.hh"
0035 #include "G4StatMFFragment.hh"
0036 #include "G4VStatMFEnsemble.hh"
0037 #include "G4VStatMFMacroCluster.hh"
0038 #include "G4StatMFMacroNucleon.hh"
0039 #include "G4StatMFMacroBiNucleon.hh"
0040 #include "G4StatMFMacroTriNucleon.hh"
0041 #include "G4StatMFMacroTetraNucleon.hh"
0042 #include "G4StatMFMacroMultiNucleon.hh"
0043 #include "G4StatMFParameters.hh"
0044 #include "G4StatMFChannel.hh"
0045 #include "G4StatMFMacroTemperature.hh"
0046 #include "Randomize.hh"
0047
0048
0049 class G4StatMFMacroCanonical : public G4VStatMFEnsemble {
0050
0051 public:
0052
0053 G4StatMFMacroCanonical();
0054
0055 ~G4StatMFMacroCanonical() override;
0056
0057
0058 void Initialise(const G4Fragment& theFragment) override;
0059
0060
0061 G4StatMFChannel* ChooseAandZ(const G4Fragment &theFragment) override;
0062
0063 G4StatMFMacroCanonical(const G4StatMFMacroCanonical&) = delete;
0064 G4StatMFMacroCanonical& operator=(const G4StatMFMacroCanonical& right) = delete;
0065 G4bool operator==(const G4StatMFMacroCanonical& right) const = delete;
0066 G4bool operator!=(const G4StatMFMacroCanonical& right) const = delete;
0067
0068 private:
0069
0070
0071 G4double ChooseA(G4int A, std::vector<G4int>& ANumbers);
0072
0073
0074 G4StatMFChannel* ChooseZ(G4int Z, std::vector<G4int>& FragmentsA);
0075
0076 G4StatMFMacroTemperature* theTemp{nullptr};
0077
0078
0079 G4double fChemPotentialMu{0.0};
0080
0081
0082 G4double fChemPotentialNu{0.0};
0083
0084
0085 G4double fKappa{0.0};
0086
0087
0088 std::vector<G4VStatMFMacroCluster*> fClusters;
0089 std::vector<G4double> fAcumMultiplicity;
0090 };
0091
0092 #endif