source: trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4ProtonEvaporationProbability.cc @ 843

Last change on this file since 843 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 4.5 KB
Line 
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: G4ProtonEvaporationProbability.cc,v 1.4 2006/06/29 20:10:43 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 "G4ProtonEvaporationProbability.hh"
36
37G4ProtonEvaporationProbability::G4ProtonEvaporationProbability() :
38    G4EvaporationProbability(1,1,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
49    ExcitEnergies[15] = 5.96*MeV;
50    ExcitEnergies[17] = 1.74*MeV;
51    ExcitEnergies[18] = 4.44*MeV;
52    ExcitEnergies[19] = 1.67*MeV;
53    ExcitEnergies[20] = 4.32*MeV;
54    ExcitEnergies[22] = 3.68*MeV;
55    ExcitEnergies[23] = 6.69*MeV;
56    ExcitEnergies[25] = 3.95*MeV;
57    ExcitEnergies[26] = 6.32*MeV;
58    ExcitEnergies[27] = 0.30*MeV;
59    ExcitEnergies[28] = 6.18*MeV;
60    ExcitEnergies[29] = 6.92*MeV;
61    ExcitEnergies[30] = 3.06*MeV;
62    ExcitEnergies[31] = 3.57*MeV;
63
64
65    ExcitSpins[15] = 8;
66    ExcitSpins[17] = 1;
67    ExcitSpins[18] = 6;
68    ExcitSpins[19] = 5;
69    ExcitSpins[20] = 6;
70    ExcitSpins[22] = 4;
71    ExcitSpins[23] = 8;
72    ExcitSpins[25] = 3;
73    ExcitSpins[26] = 4;
74    ExcitSpins[27] = 7;
75    ExcitSpins[28] = 4;
76    ExcitSpins[29] = 5;
77    ExcitSpins[30] = 2;
78    ExcitSpins[31] = 10;
79       
80    SetExcitationEnergiesPtr(&ExcitEnergies);
81    SetExcitationSpinsPtr(&ExcitSpins); 
82       
83}
84
85G4ProtonEvaporationProbability::G4ProtonEvaporationProbability(const G4ProtonEvaporationProbability &) : G4EvaporationProbability()
86{
87    throw G4HadronicException(__FILE__, __LINE__, "G4ProtonEvaporationProbability::copy_constructor meant to not be accessable");
88}
89
90const G4ProtonEvaporationProbability & G4ProtonEvaporationProbability::
91operator=(const G4ProtonEvaporationProbability &)
92{
93    throw G4HadronicException(__FILE__, __LINE__, "G4ProtonEvaporationProbability::operator= meant to not be accessable");
94    return *this;
95}
96
97
98G4bool G4ProtonEvaporationProbability::operator==(const G4ProtonEvaporationProbability &) const
99{
100    return false;
101}
102
103G4bool G4ProtonEvaporationProbability::operator!=(const G4ProtonEvaporationProbability &) const
104{
105    return true;
106}
107
108G4double G4ProtonEvaporationProbability::CCoeficient(const G4double aZ) const
109{
110    // Data comes from
111    // Dostrovsky, Fraenkel and Friedlander
112    // Physical Review, vol 116, num. 3 1959
113    //
114    // const G4int size = 5;
115    // G4double Zlist[5] = { 10.0, 20.0, 30.0, 50.0, 70.0};
116    // G4double Cp[5] = { 0.50, 0.28, 0.20, 0.15, 0.10};
117    G4double C = 0.0;
118       
119    if (aZ >= 70) {
120        C = 0.10;
121    } else {
122        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
123    }
124       
125    return C;
126       
127}
Note: See TracBrowser for help on using the repository browser.