Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:56

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 
0026 ////////////////////////////////////////////////////////////////////////////////
0027 //                                                                            //
0028 //  File:   G4AtomicShells_XDB_EADL.hh                                        //
0029 //  Author: D.H. Wright (SLAC)                                                //
0030 //  Date:   9 August 2018                                                     //
0031 //                                                                            //
0032 //  Description: Class containing number of shells, electron configurations   //
0033 //               and binding energies for atoms from Z = 1 to Z = 120.        //
0034 //               Most entries are taken from the X-ray Data Book, with        //
0035 //               unmeasured values supplied by Kibedi.  See documentation     //
0036 //               file in G4EMLOW7.3 or later, directory fluor/                //
0037 //                                                                            //
0038 ////////////////////////////////////////////////////////////////////////////////
0039 
0040 #ifndef G4ATOMICSHELLS_XDB_EADL_H
0041 #define G4ATOMICSHELLS_XDB_EADL_H
0042 
0043 #include "globals.hh"
0044 
0045 class G4AtomicShells_XDB_EADL
0046 {
0047  public:  // with description
0048   G4AtomicShells_XDB_EADL(const G4AtomicShells_XDB_EADL&) = delete;
0049   const G4AtomicShells_XDB_EADL& operator=(const G4AtomicShells_XDB_EADL&) = delete;
0050 
0051   static G4int GetNumberOfShells(G4int Z);
0052   static G4int GetNumberOfElectrons(G4int Z, G4int SubshellNb);
0053   static G4int GetNumberOfFreeElectrons(G4int Z, G4double th);
0054   static G4double GetBindingEnergy(G4int Z, G4int SubshellNb);
0055   static G4double GetTotalBindingEnergy(G4int Z);
0056 
0057  private:
0058 #ifdef G4VERBOSE
0059   static G4int PrintErrorZ(G4int Z, const G4String&);
0060   static G4int PrintErrorShell(G4int Z, G4int SubshellNb, const G4String&);
0061 #endif
0062   static const G4int fNumberOfShells[121];
0063   static const G4int fIndexOfShells[121];
0064   static const G4int fNumberOfElectrons[2171];
0065   static const G4double fBindingEnergies[2171];
0066 };
0067 
0068 #endif  // end of G4AtomicShells_XDB_EADL.hh