source: trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/include/G4NuclearLevel.hh

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

geant4 tag 9.4

File size: 5.9 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// $Id: G4NuclearLevel.hh,v 1.7 2010/11/17 19:17:17 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-ref-00 $
28//
29// -------------------------------------------------------------------
30//      GEANT 4 class file
31//
32//      For information related to this code contact:
33//      CERN, IT Division, ASD group
34//      CERN, Geneva, Switzerland
35//
36//      File name:     G4NuclearLevel
37//
38//      Author:        Maria Grazia Pia (pia@genova.infn.it)
39//
40//      Creation date: 25 October 1998
41//
42//      Modifications:
43//        06 Oct 2010, M. Kelsey (kelsey@slac.stanford.edu)
44//              Add friendship for G4NuclearLevelManager; define private
45//              constructors without vectors.
46//
47//        21 Nov. 2001, Fan Lei (flei@space.qinetiq.com)
48//              Added K->N+ internal  conversion coefficiencies and their access
49//              functions     
50//     
51//        15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it)
52//              Added half-life, angular momentum, parity, emissioni type
53//              reading from experimental data.
54//
55//        28 October 2010, V.Ivanchenko moved copy constructor to source, cleanup
56//
57//     
58// -------------------------------------------------------------------
59
60#ifndef G4NUCLEARLEVEL_HH
61#define G4NUCLEARLEVEL_HH 1
62
63#include "globals.hh"
64#include <vector>
65
66class G4NuclearLevel 
67{
68
69public:
70  G4NuclearLevel(G4double energy, G4double halfLife,
71                 G4double angularMomentum, const std::vector<G4double>& eGamma,
72                 const std::vector<G4double>& wGamma, const std::vector<G4double>& polarities,
73                 const std::vector<G4double>& kCC, const std::vector<G4double>& l1CC,
74                 const std::vector<G4double>& l2CC, const std::vector<G4double>& l3CC,
75                 const std::vector<G4double>& m1CC, const std::vector<G4double>& m2CC,
76                 const std::vector<G4double>& m3CC, const std::vector<G4double>& m4CC,
77                 const std::vector<G4double>& m5CC, const std::vector<G4double>& nPlusCC,
78                 const std::vector<G4double>& totalCC);
79
80  ~G4NuclearLevel();
81
82  const std::vector<G4double>& GammaEnergies() const;
83 
84  const std::vector<G4double>& GammaWeights() const;
85
86  const std::vector<G4double>& GammaProbabilities() const;
87
88  const std::vector<G4double>& GammaCumulativeProbabilities() const;
89
90  const std::vector<G4double>& GammaPolarities() const;
91
92  const std::vector<G4double>& KConvertionProbabilities() const;
93
94  const std::vector<G4double>& L1ConvertionProbabilities() const;
95
96  const std::vector<G4double>& L2ConvertionProbabilities() const;
97
98  const std::vector<G4double>& L3ConvertionProbabilities() const;
99
100  const std::vector<G4double>& M1ConvertionProbabilities() const;
101
102  const std::vector<G4double>& M2ConvertionProbabilities() const;
103
104  const std::vector<G4double>& M3ConvertionProbabilities() const;
105
106  const std::vector<G4double>& M4ConvertionProbabilities() const;
107
108  const std::vector<G4double>& M5ConvertionProbabilities() const;
109
110  const std::vector<G4double>& NPlusConvertionProbabilities() const;
111
112  const std::vector<G4double>& TotalConvertionProbabilities() const;
113
114  G4double Energy() const;
115
116  G4double AngularMomentum() const;
117
118  G4double HalfLife() const;
119
120  G4int NumberOfGammas() const;
121
122  void PrintAll() const; 
123
124  G4bool operator==(const G4NuclearLevel &right) const;
125  G4bool operator!=(const G4NuclearLevel &right) const;
126  G4bool operator<(const G4NuclearLevel &right) const;
127  const G4NuclearLevel& operator=(const G4NuclearLevel &right);
128
129  G4NuclearLevel(const G4NuclearLevel &right);
130
131private: 
132
133  friend class G4NuclearLevelManager;
134
135  G4NuclearLevel();
136
137  G4NuclearLevel(G4double energy, G4double halfLife,
138                 G4double angularMomentum);
139
140  void Finalize();
141
142  void MakeProbabilities();
143  void MakeCumProb();
144 
145  G4int Increment(G4int aF);
146 
147  std::vector<G4double> _energies;
148  std::vector<G4double> _weights;
149  std::vector<G4double> _prob;
150  std::vector<G4double> _cumProb;
151  std::vector<G4double> _polarities;
152  std::vector<G4double> _kCC;
153  std::vector<G4double> _l1CC; 
154  std::vector<G4double> _l2CC; 
155  std::vector<G4double> _l3CC; 
156  std::vector<G4double> _m1CC; 
157  std::vector<G4double> _m2CC; 
158  std::vector<G4double> _m3CC; 
159  std::vector<G4double> _m4CC; 
160  std::vector<G4double> _m5CC; 
161  std::vector<G4double> _nPlusCC; 
162  std::vector<G4double> _totalCC; 
163
164  G4double _energy;
165  G4double _halfLife;
166  G4double _angularMomentum;
167  G4int _nGammas;
168};
169
170#endif
171
172
173
174
175
176
Note: See TracBrowser for help on using the repository browser.