Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4NucleiPropertiesTheoreticalTable.hh
Go to the documentation of this file.
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 72955 2013-08-14 14:23:14Z gcosmo $
28 //
29 //
30 // ------------------------------------------------------------
31 // GEANT 4 class header file
32 //
33 // ----------------------------------------------------------------
34 // Class Description
35 // Encapsulates Data from W.D. Myers, W.J. Swiatecki, P. Moller
36 // and J.R. Nix, 1. Jan. 1995.
37 // Atomic Mass Excess.
38 // ----------------------------------------------------------------
39 // Remove "theInstance" by H.Kurashige (12 Dec. 03)
40 //
41 
42 #ifndef G4NucleiPropertiesTheoreticalTable_h
43 #define G4NucleiPropertiesTheoreticalTable_h 1
44 
45 #include "globals.hh"
46 
47 class G4NucleiProperties;
48 
50 {
51 private:
52 
53  // Default constructor
55 
56 public:
57 
58  // Destructor
60 
61  enum {nEntries = 8979, shortTableSize = 137};
62 
63  // Other Operations
64  // all methods are private and can be used only by G4NucleiProperties
65  friend class G4NucleiProperties;
66 
67 
68  private: // With Description
69  // Operation: GetMassExcess
70  static G4double GetMassExcess(G4int Z, G4int A);
71 
72  // Operation: GetNuclearMass
74 
75  // Operation: GetAtomicMass
76  static G4double GetAtomicMass(G4int Z, G4int A);
77 
78  // Operation: GetBindingEnergy
80 
81  // Is the nucleus (Z,A) in table?
82  static G4bool IsInTable(G4int Z, G4int A);
83 
84 
85 private:
86 
87  // Operation: GetIndex
88  static G4int GetIndex(G4int Z, G4int A);
89 
90  static G4double ElectronicBindingEnergy(G4int Z);
91 
92 
93  // Mass Excess
94  static const G4double AtomicMassExcess[nEntries];
95 
96  // Table of Z (number of protons) and A (number of nucleons)
97  // indexArray[0][ ] --> Z
98  // indexArray[1][ ] --> A
99  static const G4int indexArray[2][nEntries];
100 
101  // Reduced Table of Z for shorter index search.
102  // The index in this table coincide with Z-1
103  // For each Z value shortTable[Z-1] has the index of
104  // the 1st occurrence in the indexArray[][]
105  static const G4int shortTable[shortTableSize];
106 
107 };
108 
109 
110 #endif
111 
112 
113 
114 
115 
116 
static G4double GetNuclearMass(const G4double A, const G4double Z)
int G4int
Definition: G4Types.hh:78
static G4double GetMassExcess(const G4int A, const G4int Z)
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
static G4double GetBindingEnergy(const G4int A, const G4int Z)
double G4double
Definition: G4Types.hh:76