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: G4NeutronEvaporationProbability.cc,v 1.4 2006/06/29 20:10:39 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 "G4NeutronEvaporationProbability.hh" |
---|
36 | |
---|
37 | G4NeutronEvaporationProbability::G4NeutronEvaporationProbability() : |
---|
38 | G4EvaporationProbability(1,0,2) // A,Z,Gamma |
---|
39 | { |
---|
40 | std::vector<G4double>::size_type NumExcitedStatesEnergy = 31+1; |
---|
41 | std::vector<G4int>::size_type NumExcitedStatesSpin = 31+1; |
---|
42 | ExcitEnergies.reserve(NumExcitedStatesEnergy); |
---|
43 | ExcitSpins.reserve(NumExcitedStatesSpin); |
---|
44 | ExcitEnergies.insert(ExcitEnergies.begin(),NumExcitedStatesEnergy,0.0); |
---|
45 | ExcitSpins.insert(ExcitSpins.begin(),NumExcitedStatesSpin,0); |
---|
46 | |
---|
47 | |
---|
48 | ExcitEnergies[ 9] = 3.56*MeV; |
---|
49 | ExcitEnergies[10] = 0.48*MeV; |
---|
50 | ExcitEnergies[11] = 0.98*MeV; |
---|
51 | ExcitEnergies[12] = 0.43*MeV; |
---|
52 | ExcitEnergies[15] = 3.37*MeV; |
---|
53 | ExcitEnergies[17] = 0.72*MeV; |
---|
54 | ExcitEnergies[18] = 2.13*MeV; |
---|
55 | ExcitEnergies[19] = 0.95*MeV; |
---|
56 | ExcitEnergies[20] = 2.00*MeV; |
---|
57 | ExcitEnergies[21] = 4.44*MeV; |
---|
58 | ExcitEnergies[22] = 3.09*MeV; |
---|
59 | ExcitEnergies[23] = 6.09*MeV; |
---|
60 | ExcitEnergies[25] = 2.31*MeV; |
---|
61 | ExcitEnergies[26] = 5.28*MeV; |
---|
62 | ExcitEnergies[27] = 0.12*MeV; |
---|
63 | ExcitEnergies[28] = 5.22*MeV; |
---|
64 | ExcitEnergies[29] = 6.10*MeV; |
---|
65 | ExcitEnergies[30] = 0.87*MeV; |
---|
66 | ExcitEnergies[31] = 1.98*MeV; |
---|
67 | |
---|
68 | |
---|
69 | ExcitSpins[ 9] = 1; |
---|
70 | ExcitSpins[10] = 2; |
---|
71 | ExcitSpins[11] = 3; |
---|
72 | ExcitSpins[12] = 2; |
---|
73 | ExcitSpins[15] = 5; |
---|
74 | ExcitSpins[17] = 3; |
---|
75 | ExcitSpins[18] = 2; |
---|
76 | ExcitSpins[19] = 5; |
---|
77 | ExcitSpins[20] = 2; |
---|
78 | ExcitSpins[21] = 5; |
---|
79 | ExcitSpins[22] = 2; |
---|
80 | ExcitSpins[23] = 3; |
---|
81 | ExcitSpins[25] = 1; |
---|
82 | ExcitSpins[26] = 8; |
---|
83 | ExcitSpins[27] = 1; |
---|
84 | ExcitSpins[28] = 8; |
---|
85 | ExcitSpins[29] = 8; |
---|
86 | ExcitSpins[30] = 2; |
---|
87 | ExcitSpins[31] = 5; |
---|
88 | |
---|
89 | SetExcitationEnergiesPtr(&ExcitEnergies); |
---|
90 | SetExcitationSpinsPtr(&ExcitSpins); |
---|
91 | } |
---|
92 | |
---|
93 | |
---|
94 | G4NeutronEvaporationProbability::G4NeutronEvaporationProbability(const G4NeutronEvaporationProbability &) : G4EvaporationProbability() |
---|
95 | { |
---|
96 | throw G4HadronicException(__FILE__, __LINE__, "G4NeutronEvaporationProbability::copy_constructor meant to not be accessable"); |
---|
97 | } |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | const G4NeutronEvaporationProbability & G4NeutronEvaporationProbability:: |
---|
103 | operator=(const G4NeutronEvaporationProbability &) |
---|
104 | { |
---|
105 | throw G4HadronicException(__FILE__, __LINE__, "G4NeutronEvaporationProbability::operator= meant to not be accessable"); |
---|
106 | return *this; |
---|
107 | } |
---|
108 | |
---|
109 | |
---|
110 | G4bool G4NeutronEvaporationProbability::operator==(const G4NeutronEvaporationProbability &) const |
---|
111 | { |
---|
112 | return false; |
---|
113 | } |
---|
114 | |
---|
115 | G4bool G4NeutronEvaporationProbability::operator!=(const G4NeutronEvaporationProbability &) const |
---|
116 | { |
---|
117 | return true; |
---|
118 | } |
---|