source: trunk/source/processes/hadronic/models/de_excitation/gem_evaporation/src/G4DeuteronGEMProbability.cc @ 1337

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 4.0 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: G4DeuteronGEMProbability.cc,v 1.5 2009/09/15 12:54:16 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-01 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara (Nov 1999)
32//
33// J.M. Quesada (July 2009) C's and k's  values according to Furihata's paper
34// (based on notes added on proof in Dostrovskii's paper)
35
36#include "G4DeuteronGEMProbability.hh"
37
38G4DeuteronGEMProbability::G4DeuteronGEMProbability() :
39    G4GEMProbability(2,1,1.0) // A,Z,Gamma
40{
41    SetExcitationEnergiesPtr(&ExcitEnergies);
42    SetExcitationSpinsPtr(&ExcitSpins);
43    SetExcitationLifetimesPtr(&ExcitLifetimes);
44}
45
46
47G4DeuteronGEMProbability::G4DeuteronGEMProbability(const G4DeuteronGEMProbability &) : G4GEMProbability()
48{
49    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronGEMProbability::copy_constructor meant to not be accessable");
50}
51
52
53
54
55const G4DeuteronGEMProbability & G4DeuteronGEMProbability::
56operator=(const G4DeuteronGEMProbability &)
57{
58    throw G4HadronicException(__FILE__, __LINE__, "G4DeuteronGEMProbability::operator= meant to not be accessable");
59    return *this;
60}
61
62
63G4bool G4DeuteronGEMProbability::operator==(const G4DeuteronGEMProbability &) const
64{
65    return false;
66}
67
68G4bool G4DeuteronGEMProbability::operator!=(const G4DeuteronGEMProbability &) const
69{
70    return true;
71}
72
73
74//JMQ 190709 C's values from Furihata's paper
75//(notes added on proof in Dostrovskii's paper)
76//data = {{20, 0.}, {30, -0.06}, {40, -0.10}, {50, -0.10}};
77G4double G4DeuteronGEMProbability::CCoeficient(const G4double aZ) const
78{
79   G4double C = 0.0;
80       
81    if (aZ >= 50){
82      C=-0.10;     
83    } else if (aZ <= 20) {
84        C = 0.0;
85    } else C=0.123482-0.00534691*aZ-0.0000610624*aZ*aZ+5.93719*1e-7*aZ*aZ*aZ+1.95687*1e-8*aZ*aZ*aZ*aZ; 
86    return C/2.;
87       
88}
89
90
91
92//G4double G4DeuteronGEMProbability::CCoeficient(const G4double aZ) const
93//{
94    // Data comes from
95    // Dostrovsky, Fraenkel and Friedlander
96    // Physical Review, vol 116, num. 3 1959
97    //
98    // const G4int size = 5;
99    // G4double Zlist[5] = { 10.0, 20.0, 30.0, 50.0, 70.0};
100    // G4double Cp[5] = { 0.50, 0.28, 0.20, 0.15, 0.10};
101    // C for deuteron is equal to C for protons divided by 2
102//    G4double C = 0.0;
103//     
104//    if (aZ >= 70) {
105//        C = 0.10;
106//    } else {
107//        C = ((((0.15417e-06*aZ) - 0.29875e-04)*aZ + 0.21071e-02)*aZ - 0.66612e-01)*aZ + 0.98375;
108//    }
109       
110//    return C/2.0;
111       
112//}
Note: See TracBrowser for help on using the repository browser.