Geant4-11
Static Public Member Functions | Private Member Functions | Static Private Attributes
G4AtomicShells_XDB_EADL Class Reference

#include <G4AtomicShells_XDB_EADL.hh>

Static Public Member Functions

static G4double GetBindingEnergy (G4int Z, G4int SubshellNb)
 
static G4int GetNumberOfElectrons (G4int Z, G4int SubshellNb)
 
static G4int GetNumberOfFreeElectrons (G4int Z, G4double th)
 
static G4int GetNumberOfShells (G4int Z)
 
static G4double GetTotalBindingEnergy (G4int Z)
 

Private Member Functions

 G4AtomicShells_XDB_EADL (const G4AtomicShells_XDB_EADL &)=delete
 
const G4AtomicShells_XDB_EADLoperator= (const G4AtomicShells_XDB_EADL &)=delete
 

Static Private Attributes

static const G4double fBindingEnergies [2171]
 
static const G4int fIndexOfShells [121]
 
static const G4int fNumberOfElectrons [2171]
 
static const G4int fNumberOfShells [121]
 

Detailed Description

Definition at line 48 of file G4AtomicShells_XDB_EADL.hh.

Constructor & Destructor Documentation

◆ G4AtomicShells_XDB_EADL()

G4AtomicShells_XDB_EADL::G4AtomicShells_XDB_EADL ( const G4AtomicShells_XDB_EADL )
privatedelete

Member Function Documentation

◆ GetBindingEnergy()

G4double G4AtomicShells_XDB_EADL::GetBindingEnergy ( G4int  Z,
G4int  SubshellNb 
)
static

Definition at line 1241 of file G4AtomicShells_XDB_EADL.cc.

1242{
1243#ifdef G4VERBOSE
1244 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetBindingEnergy"); }
1245 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1246 ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
1247 }
1248#endif
1249 return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*CLHEP::keV;
1250}
const G4int Z[17]
static const G4double fBindingEnergies[2171]
static const G4int fNumberOfShells[121]
static const G4int fIndexOfShells[121]
static constexpr double keV

References fBindingEnergies, fIndexOfShells, fNumberOfShells, CLHEP::keV, and Z.

◆ GetNumberOfElectrons()

G4int G4AtomicShells_XDB_EADL::GetNumberOfElectrons ( G4int  Z,
G4int  SubshellNb 
)
static

Definition at line 1254 of file G4AtomicShells_XDB_EADL.cc.

1255{
1256#ifdef G4VERBOSE
1257 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfElectrons"); }
1258 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1259 ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
1260 }
1261#endif
1262 return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
1263}
static const G4int fNumberOfElectrons[2171]

References fIndexOfShells, fNumberOfElectrons, fNumberOfShells, and Z.

◆ GetNumberOfFreeElectrons()

G4int G4AtomicShells_XDB_EADL::GetNumberOfFreeElectrons ( G4int  Z,
G4double  th 
)
static

Definition at line 1268 of file G4AtomicShells_XDB_EADL.cc.

1269{
1270#ifdef G4VERBOSE
1271 if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetNumberOfFreeElectrons"); }
1272#endif
1273 G4int idx = fIndexOfShells[Z];
1274 G4int idxmax = idx + fNumberOfShells[Z];
1275 G4int n = 0;
1276 for (G4int i=idx; i<idxmax; ++i) {
1277 if(fBindingEnergies[i]*CLHEP::keV <= th) { n += fNumberOfElectrons[i]; }
1278 }
1279 return n;
1280}
int G4int
Definition: G4Types.hh:85

References fBindingEnergies, fIndexOfShells, fNumberOfElectrons, fNumberOfShells, CLHEP::keV, CLHEP::detail::n, and Z.

◆ GetNumberOfShells()

G4int G4AtomicShells_XDB_EADL::GetNumberOfShells ( G4int  Z)
static

Definition at line 1231 of file G4AtomicShells_XDB_EADL.cc.

1232{
1233#ifdef G4VERBOSE
1234 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfShells"); }
1235#endif
1236 return fNumberOfShells[Z];
1237}

References fNumberOfShells, and Z.

◆ GetTotalBindingEnergy()

G4double G4AtomicShells_XDB_EADL::GetTotalBindingEnergy ( G4int  Z)
static

Definition at line 1282 of file G4AtomicShells_XDB_EADL.cc.

1283{
1284#ifdef G4VERBOSE
1285 if ( Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetTotalBindingEnergy"); }
1286#endif
1287 G4int idx = fIndexOfShells[Z];
1288 G4int idxmax = idx + fNumberOfShells[Z];
1289 G4double energy = 0.0;
1290 for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
1291 return energy*CLHEP::keV;
1292}
double G4double
Definition: G4Types.hh:83
G4double energy(const ThreeVector &p, const G4double m)

References G4INCL::KinematicsUtils::energy(), fBindingEnergies, fIndexOfShells, fNumberOfShells, CLHEP::keV, and Z.

◆ operator=()

const G4AtomicShells_XDB_EADL & G4AtomicShells_XDB_EADL::operator= ( const G4AtomicShells_XDB_EADL )
privatedelete

Field Documentation

◆ fBindingEnergies

const G4double G4AtomicShells_XDB_EADL::fBindingEnergies
staticprivate

◆ fIndexOfShells

const G4int G4AtomicShells_XDB_EADL::fIndexOfShells
staticprivate
Initial value:
=
{
0,
1, 2, 3, 5, 7, 10, 13, 17, 21, 25,
29, 34, 39, 45, 51, 58, 65, 72, 79, 87,
95, 104, 113, 122, 132, 142, 152, 162, 172, 182,
192, 203, 214, 226, 238, 250, 262, 275, 288, 302,
316, 330, 345, 360, 375, 390, 404, 419, 434, 450,
466, 483, 500, 517, 534, 552, 570, 589, 610, 631,
651, 670, 690, 710, 731, 752, 772, 792, 812, 832,
852, 873, 894, 915, 936, 958, 980, 1002, 1024, 1046,
1068, 1091, 1114, 1138, 1162, 1186, 1210, 1235, 1260, 1286,
1312, 1339, 1366, 1393, 1419, 1446, 1474, 1502, 1529, 1556,
1583, 1610, 1637, 1665, 1693, 1721, 1749, 1778, 1807, 1836,
1865, 1894, 1923, 1953, 1983, 2014, 2045, 2076, 2107, 2139
}

Definition at line 69 of file G4AtomicShells_XDB_EADL.hh.

Referenced by GetBindingEnergy(), GetNumberOfElectrons(), GetNumberOfFreeElectrons(), and GetTotalBindingEnergy().

◆ fNumberOfElectrons

const G4int G4AtomicShells_XDB_EADL::fNumberOfElectrons
staticprivate

Definition at line 70 of file G4AtomicShells_XDB_EADL.hh.

Referenced by GetNumberOfElectrons(), and GetNumberOfFreeElectrons().

◆ fNumberOfShells

const G4int G4AtomicShells_XDB_EADL::fNumberOfShells
staticprivate
Initial value:
=
{
1 ,
1, 1, 2, 2, 3, 3, 4, 4, 4, 4,
5, 5, 6, 6, 7, 7, 7, 7, 8, 8,
9, 9, 9, 10, 10, 10, 10, 10, 10, 10,
11, 11, 12, 12, 12, 12, 13, 13, 14, 14,
14, 15, 15, 15, 15, 14, 15, 15, 16, 16,
17, 17, 17, 17, 18, 18, 19, 21, 21, 20,
19, 20, 20, 21, 21, 20, 20, 20, 20, 20,
21, 21, 21, 21, 22, 22, 22, 22, 22, 22,
23, 23, 24, 24, 24, 24, 25, 25, 26, 26,
27, 27, 27, 26, 27, 28, 28, 27, 27, 27,
27, 27, 28, 28, 28, 28, 29, 29, 29, 29,
29, 29, 30, 30, 31, 31, 31, 31, 32, 32
}

Definition at line 68 of file G4AtomicShells_XDB_EADL.hh.

Referenced by GetBindingEnergy(), GetNumberOfElectrons(), GetNumberOfFreeElectrons(), GetNumberOfShells(), and GetTotalBindingEnergy().


The documentation for this class was generated from the following files: