1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | //J.M. Quesada (August2008). Based on: |
---|
27 | // |
---|
28 | // Hadronic Process: Nuclear De-excitations |
---|
29 | // by V. Lara (Oct 1998) |
---|
30 | // |
---|
31 | #ifndef G4EvaporationProbability_h |
---|
32 | #define G4EvaporationProbability_h 1 |
---|
33 | |
---|
34 | |
---|
35 | #include "G4VEmissionProbability.hh" |
---|
36 | #include "G4VLevelDensityParameter.hh" |
---|
37 | #include "G4EvaporationLevelDensityParameter.hh" |
---|
38 | #include "G4VCoulombBarrier.hh" |
---|
39 | #include "G4CoulombBarrier.hh" |
---|
40 | |
---|
41 | |
---|
42 | class G4EvaporationProbability : public G4VEmissionProbability |
---|
43 | { |
---|
44 | public: |
---|
45 | // Only available constructor |
---|
46 | G4EvaporationProbability(const G4int anA, const G4int aZ, const G4double aGamma,G4VCoulombBarrier * aCoulombBarrier) : |
---|
47 | theA(anA), |
---|
48 | theZ(aZ), |
---|
49 | Gamma(aGamma) |
---|
50 | , theCoulombBarrierptr(aCoulombBarrier) |
---|
51 | { |
---|
52 | theEvapLDPptr = new G4EvaporationLevelDensityParameter; |
---|
53 | |
---|
54 | |
---|
55 | } |
---|
56 | |
---|
57 | ~G4EvaporationProbability() |
---|
58 | { |
---|
59 | if (theEvapLDPptr != 0) delete theEvapLDPptr; |
---|
60 | |
---|
61 | } |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | G4double GetZ(void) const { return theZ; } |
---|
66 | |
---|
67 | G4double GetA(void) const { return theA;} |
---|
68 | |
---|
69 | protected: |
---|
70 | |
---|
71 | // Default constructor |
---|
72 | G4EvaporationProbability() {} |
---|
73 | |
---|
74 | private: |
---|
75 | // Copy constructor |
---|
76 | G4EvaporationProbability(const G4EvaporationProbability &right); |
---|
77 | |
---|
78 | const G4EvaporationProbability & operator=(const G4EvaporationProbability &right); |
---|
79 | G4bool operator==(const G4EvaporationProbability &right) const; |
---|
80 | G4bool operator!=(const G4EvaporationProbability &right) const; |
---|
81 | |
---|
82 | public: |
---|
83 | |
---|
84 | G4double ProbabilityDistributionFunction( const G4Fragment & aFragment, const G4double K); |
---|
85 | |
---|
86 | G4double EmissionProbability(const G4Fragment & fragment, const G4double anEnergy); |
---|
87 | |
---|
88 | private: |
---|
89 | |
---|
90 | G4double CalculateProbability(const G4Fragment & fragment, const G4double MaximalKineticEnergy ); |
---|
91 | |
---|
92 | G4double IntegrateEmissionProbability(const G4Fragment & aFragment, const G4double & Low, const G4double & Up ); |
---|
93 | |
---|
94 | protected: |
---|
95 | |
---|
96 | virtual G4double CrossSection( const G4Fragment & fragment, const G4double K )= 0; |
---|
97 | |
---|
98 | virtual G4double CalcAlphaParam(const G4Fragment & fragment)=0 ; |
---|
99 | |
---|
100 | virtual G4double CalcBetaParam(const G4Fragment & fragment)=0 ; |
---|
101 | |
---|
102 | private: |
---|
103 | |
---|
104 | // Data Members |
---|
105 | |
---|
106 | G4VLevelDensityParameter * theEvapLDPptr; |
---|
107 | |
---|
108 | G4int theA; |
---|
109 | G4int theZ; |
---|
110 | |
---|
111 | // Gamma is A_f(2S_f+1) factor, where A_f is fragment atomic |
---|
112 | // number and S_f is fragment spin |
---|
113 | G4double Gamma; |
---|
114 | |
---|
115 | //The Coulomb Barrier |
---|
116 | G4VCoulombBarrier * theCoulombBarrierptr; |
---|
117 | |
---|
118 | |
---|
119 | }; |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | #endif |
---|