G4NucleiPropertiesTheoreticalTable.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // 
00030 // ------------------------------------------------------------
00031 //      GEANT 4 class header file
00032 //
00033 // ----------------------------------------------------------------
00034 // Class Description
00035 //   Encapsulates Data from W.D. Myers, W.J. Swiatecki, P. Moller
00036 //   and J.R. Nix, 1. Jan. 1995.
00037 //   Atomic Mass Excess.
00038 // ----------------------------------------------------------------
00039 // Remove "theInstance"  by H.Kurashige (12 Dec. 03)
00040 //
00041 
00042 #ifndef G4NucleiPropertiesTheoreticalTable_h
00043 #define G4NucleiPropertiesTheoreticalTable_h 1
00044 
00045 #include "globals.hh"
00046 
00047 class G4NucleiProperties;
00048 
00049 class G4NucleiPropertiesTheoreticalTable 
00050 {
00051 private:
00052   
00053   // Default constructor 
00054   G4NucleiPropertiesTheoreticalTable(){};
00055 
00056 public:
00057 
00058   // Destructor
00059   ~G4NucleiPropertiesTheoreticalTable() { };
00060 
00061   enum  {nEntries = 8979, shortTableSize = 137}; 
00062 
00063   // Other Operations 
00064   // all methods are private and can be used only by G4NucleiProperties
00065   friend class G4NucleiProperties;  
00066 
00067   
00068  private: // With Description
00069   // Operation: GetMassExcess
00070   static G4double GetMassExcess(G4int Z, G4int A); 
00071 
00072   // Operation: GetNuclearMass
00073   static G4double GetNuclearMass(G4int Z, G4int A);
00074 
00075   // Operation: GetAtomicMass 
00076   static G4double GetAtomicMass(G4int Z, G4int A);
00077 
00078   // Operation: GetBindingEnergy
00079   static G4double GetBindingEnergy(G4int Z, G4int A);
00080 
00081   // Is the nucleus (Z,A) in table?
00082   static G4bool IsInTable(G4int Z, G4int A);
00083 
00084 
00085 private:
00086 
00087   // Operation: GetIndex
00088   static G4int GetIndex(G4int Z, G4int A);
00089   
00090   static G4double ElectronicBindingEnergy(G4int Z);
00091  
00092 
00093   // Mass Excess
00094   static G4double AtomicMassExcess[nEntries];
00095   
00096   // Table of Z (number of protons) and A (number of nucleons)
00097   //        indexArray[0][ ] --> Z
00098   //        indexArray[1][ ] --> A
00099   static G4int indexArray[2][nEntries];
00100   
00101   // Reduced Table of Z for shorter index search.
00102   //         The index in this table coincide with Z-1
00103   //         For each Z value shortTable[Z-1] has the index of
00104   // the 1st occurrence in the indexArray[][]
00105   static G4int shortTable[shortTableSize];
00106 
00107 };
00108   
00109 
00110 #endif
00111 
00112 
00113 
00114 
00115 
00116 

Generated on Mon May 27 17:49:07 2013 for Geant4 by  doxygen 1.4.7