File indexing completed on 2025-01-18 09:59:20
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
0033
0034
0035
0036
0037 #ifndef G4VEmissionProbability_h
0038 #define G4VEmissionProbability_h 1
0039
0040 #include "globals.hh"
0041 #include "G4Fragment.hh"
0042
0043 class G4NuclearLevelData;
0044 class G4Pow;
0045
0046 class G4VEmissionProbability
0047 {
0048 public:
0049
0050 explicit G4VEmissionProbability(G4int Z, G4int A);
0051
0052 virtual ~G4VEmissionProbability() = default;
0053
0054 void Initialise();
0055
0056 virtual G4double EmissionProbability(const G4Fragment & fragment,
0057 G4double anEnergy);
0058
0059 virtual G4double ComputeProbability(G4double anEnergy, G4double CB);
0060
0061 G4int GetZ(void) const { return theZ; }
0062
0063 G4int GetA(void) const { return theA; }
0064
0065
0066
0067
0068 void SetDecayKinematics(G4int rZ, G4int rA, G4double rmass, G4double fmass)
0069 {
0070 resZ = rZ;
0071 resA = rA;
0072 pMass = fmass;
0073 pResMass = rmass;
0074 }
0075
0076 G4double GetRecoilExcitation() const { return fExcRes; };
0077
0078 void SetEvapExcitation(G4double exc) { fExc = exc; };
0079
0080 G4double GetProbability() const { return pProbability; };
0081
0082 void ResetProbability() { pProbability = 0.0; };
0083
0084
0085
0086 G4double SampleEnergy();
0087
0088 G4VEmissionProbability(const G4VEmissionProbability &right) = delete;
0089 const G4VEmissionProbability & operator=
0090 (const G4VEmissionProbability &right) = delete;
0091 G4bool operator==(const G4VEmissionProbability &right) const = delete;
0092 G4bool operator!=(const G4VEmissionProbability &right) const = delete;
0093
0094 protected:
0095
0096 void ResetIntegrator(size_t nbin, G4double de, G4double eps);
0097
0098 G4double IntegrateProbability(G4double elow, G4double ehigh, G4double CB);
0099
0100 G4NuclearLevelData* pNuclearLevelData;
0101 G4Pow* pG4pow;
0102
0103 G4int OPTxs;
0104 G4int pVerbose;
0105 G4int theZ;
0106 G4int theA;
0107 G4int resZ = 0;
0108 G4int resA = 0;
0109
0110 G4double pMass = 0.0;
0111 G4double pEvapMass = 0.0;
0112 G4double pResMass = 0.0;
0113 G4double pProbability = 0.0;
0114 G4double pTolerance = 0.0;
0115
0116 private:
0117
0118 G4double FindRecoilExcitation(const G4double e);
0119
0120 G4double fExc = 0.0;
0121 G4double fExcRes = 0.0;
0122
0123 G4double fE1 = 0.0;
0124 G4double fE2 = 0.0;
0125 G4double fP2 = 0.0;
0126
0127 G4double emin = 0.0;
0128 G4double emax = 0.0;
0129 G4double eCoulomb = 0.0;
0130 G4double accuracy = 0.005;
0131 G4double probmax = 0.0;
0132 G4double elimit;
0133
0134 G4bool fFD = false;
0135 };
0136
0137 #endif