source: trunk/source/processes/hadronic/models/de_excitation/evaporation/src/G4DeuteronEvaporationProbability.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.6 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: G4DeuteronEvaporationProbability.cc,v 1.4 2006/06/29 20:10:23 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 "G4DeuteronEvaporationProbability.hh"
36
37G4DeuteronEvaporationProbability::G4DeuteronEvaporationProbability() :
38    G4EvaporationProbability(2,1,6) // 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[15] = 6.18*MeV;
49    ExcitEnergies[17] = 2.15*MeV;
50    ExcitEnergies[18] = 5.02*MeV;
51    ExcitEnergies[19] = 2.65*MeV;
52    ExcitEnergies[20] = 4.80*MeV;
53    ExcitEnergies[22] = 3.85*MeV;
54    ExcitEnergies[23] = 6.96*MeV;
55    ExcitEnergies[25] = 4.92*MeV;
56    ExcitEnergies[26] = 7.22*MeV;
57    ExcitEnergies[27] = 0.40*MeV;
58    ExcitEnergies[28] = 6.83*MeV;
59    ExcitEnergies[29] = 7.12*MeV;
60    ExcitEnergies[30] = 3.84*MeV;
61    ExcitEnergies[31] = 3.92*MeV;
62
63    ExcitSpins[15] = 1;
64    ExcitSpins[17] = 3;
65    ExcitSpins[18] = 4;
66    ExcitSpins[19] = 4;
67    ExcitSpins[20] = 4;
68    ExcitSpins[22] = 6;
69    ExcitSpins[23] = 6;
70    ExcitSpins[25] = 1;
71    ExcitSpins[26] = 10;
72    ExcitSpins[27] = 3;
73    ExcitSpins[28] = 10;
74    ExcitSpins[29] = 3;
75    ExcitSpins[30] = 6;
76    ExcitSpins[31] = 5;
77       
78    SetExcitationEnergiesPtr(&ExcitEnergies);
79    SetExcitationSpinsPtr(&ExcitSpins); 
80       
81}
82G4DeuteronEvaporationProbability::G4DeuteronEvaporationProbability(const G4DeuteronEvaporationProbability &) : G4EvaporationProbability()
83{
84    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronEvaporationProbability::copy_constructor meant to not be accessable");
85}
86
87
88
89
90const G4DeuteronEvaporationProbability & G4DeuteronEvaporationProbability::
91operator=(const G4DeuteronEvaporationProbability &)
92{
93    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronEvaporationProbability::operator= meant to not be accessable");
94    return *this;
95}
96
97
98G4bool G4DeuteronEvaporationProbability::operator==(const G4DeuteronEvaporationProbability &) const
99{
100    return false;
101}
102
103G4bool G4DeuteronEvaporationProbability::operator!=(const G4DeuteronEvaporationProbability &) const
104{
105    return true;
106}
107
108G4double G4DeuteronEvaporationProbability::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    // C for deuteron is equal to C for protons divided by 2
118    G4double C = 0.0;
119       
120    if (aZ >= 70) {
121        C = 0.10;
122    } else {
123        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
124    }
125       
126    return C/2.0;
127       
128}
Note: See TracBrowser for help on using the repository browser.