Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -23,23 +23,18 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4NucleiPropertiesTheoreticalTable
//
// Class description:
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
// ----------------------------------------------------------------
// Class Description
// Encapsulates Data from W.D. Myers, W.J. Swiatecki, P. Moller
// and J.R. Nix, 1. Jan. 1995.
// Encapsulates data from:
// W.D. Myers, W.J. Swiatecki, P. Moller and J.R. Nix, 1. Jan. 1995.
// Atomic Mass Excess.
// ----------------------------------------------------------------
// Remove "theInstance" by H.Kurashige (12 Dec. 03)
//
#ifndef G4NucleiPropertiesTheoreticalTable_h
#define G4NucleiPropertiesTheoreticalTable_h 1
// Author: Tatsumi Koi, SLAC
// --------------------------------------------------------------------
#ifndef G4NucleiPropertiesTheoreticalTable_hh
#define G4NucleiPropertiesTheoreticalTable_hh 1
#include "globals.hh"
@@ -47,69 +42,49 @@ class G4NucleiProperties;
class G4NucleiPropertiesTheoreticalTable
{
private:
public:
~G4NucleiPropertiesTheoreticalTable(){}
enum {nEntries = 8979, shortTableSize = 137};
friend class G4NucleiProperties;
// All methods are private and can be used only by G4NucleiProperties
private:
// Default constructor
G4NucleiPropertiesTheoreticalTable(){};
G4NucleiPropertiesTheoreticalTable(){}
// Default constructor
public:
static G4double GetMassExcess(G4int Z, G4int A);
// Destructor
~G4NucleiPropertiesTheoreticalTable() { };
static G4double GetNuclearMass(G4int Z, G4int A);
enum {nEntries = 8979, shortTableSize = 137};
static G4double GetAtomicMass(G4int Z, G4int A);
// Other Operations
// all methods are private and can be used only by G4NucleiProperties
friend class G4NucleiProperties;
static G4double GetBindingEnergy(G4int Z, G4int A);
static G4bool IsInTable(G4int Z, G4int A);
// Is the nucleus (Z,A) in table?
static G4int GetIndex(G4int Z, G4int A);
private: // With Description
// Operation: GetMassExcess
static G4double GetMassExcess(G4int Z, G4int A);
// Operation: GetNuclearMass
static G4double GetNuclearMass(G4int Z, G4int A);
// Operation: GetAtomicMass
static G4double GetAtomicMass(G4int Z, G4int A);
// Operation: GetBindingEnergy
static G4double GetBindingEnergy(G4int Z, G4int A);
// Is the nucleus (Z,A) in table?
static G4bool IsInTable(G4int Z, G4int A);
private:
// Operation: GetIndex
static G4int GetIndex(G4int Z, G4int A);
static G4double ElectronicBindingEnergy(G4int Z);
static G4double ElectronicBindingEnergy(G4int Z);
// Mass Excess
static const G4double AtomicMassExcess[nEntries];
static const G4double AtomicMassExcess[nEntries];
// Mass Excess
// Table of Z (number of protons) and A (number of nucleons)
// indexArray[0][ ] --> Z
// indexArray[1][ ] --> A
static const G4int indexArray[2][nEntries];
static const G4int indexArray[2][nEntries];
// Table of Z (number of protons) and A (number of nucleons)
// indexArray[0][ ] --> Z
// indexArray[1][ ] --> A
// Reduced Table of Z for shorter index search.
// The index in this table coincide with Z-1
// For each Z value shortTable[Z-1] has the index of
// the 1st occurrence in the indexArray[][]
static const G4int shortTable[shortTableSize];
static const G4int shortTable[shortTableSize];
// Reduced Table of Z for shorter index search.
// The index in this table coincide with Z-1
// For each Z value shortTable[Z-1] has the index of
// the 1st occurrence in the indexArray[][]
};
#endif