Geant4 Cross Reference |
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 // File: G4AtomicShells_XDB_EADL.hh // 29 // Author: D.H. Wright (SLAC) // 30 // Date: 9 August 2018 // 31 // // 32 // Description: Class containing number of shells, electron configurations // 33 // and binding energies for atoms from Z = 1 to Z = 120. // 34 // Most entries are taken from the X-ray Data Book, with // 35 // unmeasured values supplied by Kibedi. See documentation // 36 // file in G4EMLOW7.3 or later, directory fluor/ // 37 // // 38 //////////////////////////////////////////////////////////////////////////////// 39 40 #ifndef G4ATOMICSHELLS_XDB_EADL_H 41 #define G4ATOMICSHELLS_XDB_EADL_H 42 43 #include "globals.hh" 44 45 class G4AtomicShells_XDB_EADL 46 { 47 public: // with description 48 G4AtomicShells_XDB_EADL(const G4AtomicShells_XDB_EADL&) = delete; 49 const G4AtomicShells_XDB_EADL& operator=(const G4AtomicShells_XDB_EADL&) = delete; 50 51 static G4int GetNumberOfShells(G4int Z); 52 static G4int GetNumberOfElectrons(G4int Z, G4int SubshellNb); 53 static G4int GetNumberOfFreeElectrons(G4int Z, G4double th); 54 static G4double GetBindingEnergy(G4int Z, G4int SubshellNb); 55 static G4double GetTotalBindingEnergy(G4int Z); 56 57 private: 58 #ifdef G4VERBOSE 59 static G4int PrintErrorZ(G4int Z, const G4String&); 60 static G4int PrintErrorShell(G4int Z, G4int SubshellNb, const G4String&); 61 #endif 62 static const G4int fNumberOfShells[121]; 63 static const G4int fIndexOfShells[121]; 64 static const G4int fNumberOfElectrons[2171]; 65 static const G4double fBindingEnergies[2171]; 66 }; 67 68 #endif // end of G4AtomicShells_XDB_EADL.hh 69