source: trunk/source/processes/hadronic/models/de_excitation/gem_evaporation/src/G4N12GEMProbability.cc @ 962

Last change on this file since 962 was 962, checked in by garnier, 15 years ago

update processes

File size: 3.2 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: G4N12GEMProbability.cc,v 1.5 2006/06/29 20:22:43 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara (Nov 1999)
32//
33
34
35#include "G4N12GEMProbability.hh"
36
37G4N12GEMProbability::G4N12GEMProbability() :
38  G4GEMProbability(12,7,1.0) // A,Z,Spin
39{
40
41  ExcitEnergies.push_back(960.0*keV);
42  ExcitSpins.push_back(2.0);
43  ExcitLifetimes.push_back(hbar_Planck*std::log(2.0)/(20*keV));
44
45  ExcitEnergies.push_back(1189*keV);
46  ExcitSpins.push_back(2.0);
47  ExcitLifetimes.push_back(hbar_Planck*std::log(2.0)/(100*keV));
48
49  ExcitEnergies.push_back(2415*keV);
50  ExcitSpins.push_back(0.0);
51  ExcitLifetimes.push_back(hbar_Planck*std::log(2.0)/(45*keV));
52
53  ExcitEnergies.push_back(3118*keV);
54  ExcitSpins.push_back(2.0);
55  ExcitLifetimes.push_back(hbar_Planck*std::log(2.0)/(210*keV));
56
57  SetExcitationEnergiesPtr(&ExcitEnergies);
58  SetExcitationSpinsPtr(&ExcitSpins);
59  SetExcitationLifetimesPtr(&ExcitLifetimes);
60}
61
62
63G4N12GEMProbability::G4N12GEMProbability(const G4N12GEMProbability &) : G4GEMProbability()
64{
65  throw G4HadronicException(__FILE__, __LINE__, "G4N12GEMProbability::copy_constructor meant to not be accessable");
66}
67
68
69
70
71const G4N12GEMProbability & G4N12GEMProbability::
72operator=(const G4N12GEMProbability &)
73{
74  throw G4HadronicException(__FILE__, __LINE__, "G4N12GEMProbability::operator= meant to not be accessable");
75  return *this;
76}
77
78
79G4bool G4N12GEMProbability::operator==(const G4N12GEMProbability &) const
80{
81  return false;
82}
83
84G4bool G4N12GEMProbability::operator!=(const G4N12GEMProbability &) const
85{
86  return true;
87}
88
89
90
Note: See TracBrowser for help on using the repository browser.