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