File indexing completed on 2025-01-18 09:58:57
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
0038 #ifndef G4PreCompoundEmission_h
0039 #define G4PreCompoundEmission_h 1
0040
0041 #include "G4VPreCompoundFragment.hh"
0042 #include "G4ReactionProduct.hh"
0043 #include "G4Fragment.hh"
0044 #include "G4PreCompoundFragmentVector.hh"
0045
0046 class G4VPreCompoundEmissionFactory;
0047 class G4Pow;
0048 class G4NuclearLevelData;
0049
0050 class G4PreCompoundEmission
0051 {
0052 public:
0053
0054 G4PreCompoundEmission();
0055
0056 ~G4PreCompoundEmission();
0057
0058 void SetDefaultModel();
0059
0060 void SetHETCModel();
0061
0062 G4ReactionProduct* PerformEmission(G4Fragment& aFragment);
0063
0064 inline G4double GetTotalProbability(const G4Fragment& aFragment);
0065
0066 inline void SetOPTxs(G4int);
0067
0068 inline void UseSICB(G4bool);
0069
0070 G4PreCompoundEmission(const G4PreCompoundEmission &right) = delete;
0071 const G4PreCompoundEmission& operator=
0072 (const G4PreCompoundEmission &right) = delete;
0073 G4bool operator==(const G4PreCompoundEmission &right) const = delete;
0074 G4bool operator!=(const G4PreCompoundEmission &right) const = delete;
0075
0076 private:
0077
0078 void AngularDistribution(G4VPreCompoundFragment * theFragment,
0079 const G4Fragment& aFragment,
0080 G4double kineticEnergy);
0081
0082 G4double rho(G4int p, G4int h, G4double gg,
0083 G4double E, G4double Ef) const;
0084
0085 G4Pow* g4calc;
0086 G4NuclearLevelData* fNuclData;
0087
0088 G4double fFermiEnergy;
0089
0090
0091 G4PreCompoundFragmentVector* theFragmentsVector;
0092 G4VPreCompoundEmissionFactory* theFragmentsFactory;
0093
0094
0095 G4ThreeVector theFinalMomentum;
0096 G4bool fUseAngularGenerator;
0097
0098 G4int fModelID;
0099 };
0100
0101 inline G4double
0102 G4PreCompoundEmission::GetTotalProbability(const G4Fragment& aFragment)
0103 {
0104 return theFragmentsVector->CalculateProbabilities(aFragment);
0105 }
0106
0107 inline void G4PreCompoundEmission::SetOPTxs(G4int opt)
0108 {
0109 theFragmentsVector->SetOPTxs(opt);
0110 }
0111
0112 inline void G4PreCompoundEmission::UseSICB(G4bool use)
0113 {
0114 theFragmentsVector->UseSICB(use);
0115 }
0116
0117 #endif