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 | // |
---|
27 | // $Id: G4AlphaEvaporationProbability.cc,v 1.4 2006/06/29 20:10:19 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-01-patch-02 $ |
---|
29 | // |
---|
30 | // Hadronic Process: Nuclear De-excitations |
---|
31 | // by V. Lara (Nov 1999) |
---|
32 | // |
---|
33 | |
---|
34 | |
---|
35 | #include "G4AlphaEvaporationProbability.hh" |
---|
36 | |
---|
37 | G4AlphaEvaporationProbability::G4AlphaEvaporationProbability() : |
---|
38 | G4EvaporationProbability(4,2,4) // A,Z,Gamma |
---|
39 | { |
---|
40 | // const G4int NumExcitedStates = 31+1; |
---|
41 | std::vector<G4double>::size_type NumExcitedStatesEnergy = 31+1; |
---|
42 | std::vector<G4int>::size_type NumExcitedStatesSpin = 31+1; |
---|
43 | ExcitEnergies.reserve(NumExcitedStatesEnergy); |
---|
44 | ExcitSpins.reserve(NumExcitedStatesSpin); |
---|
45 | ExcitEnergies.insert(ExcitEnergies.begin(),NumExcitedStatesEnergy,0.0); |
---|
46 | ExcitSpins.insert(ExcitSpins.begin(),NumExcitedStatesSpin,0); |
---|
47 | // for (G4int i = 0; i < NumExcitedStates; i++) { |
---|
48 | // ExcitEnergies(i) = 0.0; |
---|
49 | // ExcitSpins(i) = 0; |
---|
50 | // } |
---|
51 | |
---|
52 | ExcitEnergies[18] = 7.98*MeV; |
---|
53 | ExcitEnergies[20] = 6.90*MeV; |
---|
54 | ExcitEnergies[25] = 5.83*MeV; |
---|
55 | ExcitEnergies[26] = 8.57*MeV; |
---|
56 | ExcitEnergies[31] = 5.33*MeV; |
---|
57 | |
---|
58 | ExcitSpins[18] = 4; |
---|
59 | ExcitSpins[20] = 6; |
---|
60 | ExcitSpins[25] = 7; |
---|
61 | ExcitSpins[26] = 4; |
---|
62 | ExcitSpins[31] = 13; |
---|
63 | |
---|
64 | SetExcitationEnergiesPtr(&ExcitEnergies); |
---|
65 | SetExcitationSpinsPtr(&ExcitSpins); |
---|
66 | } |
---|
67 | |
---|
68 | |
---|
69 | G4AlphaEvaporationProbability::G4AlphaEvaporationProbability(const G4AlphaEvaporationProbability &): G4EvaporationProbability() |
---|
70 | { |
---|
71 | throw G4HadronicException(__FILE__, __LINE__, "G4AlphaEvaporationProbability::copy_constructor meant to not be accessable"); |
---|
72 | } |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | const G4AlphaEvaporationProbability & G4AlphaEvaporationProbability:: |
---|
78 | operator=(const G4AlphaEvaporationProbability &) |
---|
79 | { |
---|
80 | throw G4HadronicException(__FILE__, __LINE__, "G4AlphaEvaporationProbability::operator= meant to not be accessable"); |
---|
81 | return *this; |
---|
82 | } |
---|
83 | |
---|
84 | |
---|
85 | G4bool G4AlphaEvaporationProbability::operator==(const G4AlphaEvaporationProbability &) const |
---|
86 | { |
---|
87 | return false; |
---|
88 | } |
---|
89 | |
---|
90 | G4bool G4AlphaEvaporationProbability::operator!=(const G4AlphaEvaporationProbability &) const |
---|
91 | { |
---|
92 | return true; |
---|
93 | } |
---|
94 | |
---|
95 | G4double G4AlphaEvaporationProbability::CCoeficient(const G4double aZ) const |
---|
96 | { |
---|
97 | // Data comes from |
---|
98 | // Dostrovsky, Fraenkel and Friedlander |
---|
99 | // Physical Review, vol 116, num. 3 1959 |
---|
100 | // |
---|
101 | // const G4int size = 5; |
---|
102 | // G4double Zlist[5] = { 10.0, 20.0, 30.0, 50.0, 70.0}; |
---|
103 | // G4double Calpha[5] = { 0.10, 0.10, 0.10, 0.08, 0.06}; |
---|
104 | G4double C = 0.0; |
---|
105 | |
---|
106 | |
---|
107 | if (aZ <= 30) { |
---|
108 | C = 0.10; |
---|
109 | } else if (aZ <= 50) { |
---|
110 | C = 0.1 + -((aZ-50.)/20.)*0.02; |
---|
111 | } else if (aZ < 70) { |
---|
112 | C = 0.08 + -((aZ-70.)/20.)*0.02; |
---|
113 | } else { |
---|
114 | C = 0.06; |
---|
115 | } |
---|
116 | return C; |
---|
117 | } |
---|