source: trunk/source/particles/management/include/G4NucleiPropertiesTheoreticalTable.hh @ 1202

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

update CVS release candidate geant4.9.3.01

File size: 3.8 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: G4NucleiPropertiesTheoreticalTable.hh,v 1.8 2008/10/22 12:35:46 kurasige Exp $
28// GEANT4 tag $Name: geant4-09-03-cand-01 $
29//
30//
31// ------------------------------------------------------------
32//      GEANT 4 class header file
33//
34// ----------------------------------------------------------------
35// Class Description
36//   Encapsulates Data from W.D. Myers, W.J. Swiatecki, P. Moller
37//   and J.R. Nix, 1. Jan. 1995.
38//   Atomic Mass Excess.
39// ----------------------------------------------------------------
40// Remove "theInstance"  by H.Kurashige (12 Dec. 03)
41//
42
43#ifndef G4NucleiPropertiesTheoreticalTable_h
44#define G4NucleiPropertiesTheoreticalTable_h 1
45
46#include "globals.hh"
47
48class G4NucleiProperties;
49
50class G4NucleiPropertiesTheoreticalTable 
51{
52private:
53 
54  // Default constructor
55  G4NucleiPropertiesTheoreticalTable(){};
56
57public:
58
59  // Destructor
60  ~G4NucleiPropertiesTheoreticalTable() { };
61
62  enum  {nEntries = 8979, shortTableSize = 137}; 
63
64  // Other Operations
65  // all methods are private and can be used only by G4NucleiProperties
66  friend class G4NucleiProperties; 
67
68 
69 private: // With Description
70  // Operation: GetMassExcess
71  static G4double GetMassExcess(G4int Z, G4int A); 
72
73  // Operation: GetNuclearMass
74  static G4double GetNuclearMass(G4int Z, G4int A);
75
76  // Operation: GetAtomicMass
77  static G4double GetAtomicMass(G4int Z, G4int A);
78
79  // Operation: GetBindingEnergy
80  static G4double GetBindingEnergy(G4int Z, G4int A);
81
82  // Is the nucleus (Z,A) in table?
83  static G4bool IsInTable(G4int Z, G4int A);
84
85
86private:
87
88  // Operation: GetIndex
89  static G4int GetIndex(G4int Z, G4int A);
90 
91  static G4double ElectronicBindingEnergy(G4int Z);
92 
93
94  // Mass Excess
95  static G4double AtomicMassExcess[nEntries];
96 
97  // Table of Z (number of protons) and A (number of nucleons)
98  //        indexArray[0][ ] --> Z
99  //        indexArray[1][ ] --> A
100  static G4int indexArray[2][nEntries];
101 
102  // Reduced Table of Z for shorter index search.
103  //         The index in this table coincide with Z-1
104  //         For each Z value shortTable[Z-1] has the index of
105  // the 1st occurrence in the indexArray[][]
106  static G4int shortTable[shortTableSize];
107
108};
109 
110
111#endif
112
113
114
115
116
117
Note: See TracBrowser for help on using the repository browser.