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

Last change on this file since 852 was 850, checked in by garnier, 17 years ago

geant4.8.2 beta

File size: 3.6 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.7 2006/06/29 19:23:58 gunter Exp $
28// GEANT4 tag $Name: HEAD $
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 G4NucleiPropertiesTheoreticalTable
49{
50private:
51
52 // Default constructor
53 G4NucleiPropertiesTheoreticalTable(){};
54
55public:
56
57 // Destructor
58 ~G4NucleiPropertiesTheoreticalTable() { };
59
60 enum {nEntries = 8979, shortTableSize = 137};
61
62 // Other Operations
63
64 public: // With Description
65 // Operation: GetMassExcess
66 static G4double GetMassExcess(G4int Z, G4int A);
67
68 // Operation: GetNuclearMass
69 static G4double GetNuclearMass(G4int Z, G4int A);
70
71 // Operation: GetAtomicMass
72 static G4double GetAtomicMass(G4int Z, G4int A);
73
74 // Operation: GetBindingEnergy
75 static G4double GetBindingEnergy(G4int Z, G4int A);
76
77 // Is the nucleus (Z,A) in table?
78 static G4bool IsInTable(G4int Z, G4int A);
79
80
81private:
82
83 // Operation: GetIndex
84 static G4int GetIndex(G4int Z, G4int A);
85
86 static G4double ElectronicBindingEnergy(G4int Z);
87
88
89 // Mass Excess
90 static G4double AtomicMassExcess[nEntries];
91
92 // Table of Z (number of protons) and A (number of nucleons)
93 // indexArray[0][ ] --> Z
94 // indexArray[1][ ] --> A
95 static G4int indexArray[2][nEntries];
96
97 // Reduced Table of Z for shorter index search.
98 // The index in this table coincide with Z-1
99 // For each Z value shortTable[Z-1] has the index of
100 // the 1st occurrence in the indexArray[][]
101 static G4int shortTable[shortTableSize];
102
103};
104
105
106#endif
107
108
109
110
111
112
Note: See TracBrowser for help on using the repository browser.