Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4AtomicShells_EADL Class Reference

#include <G4AtomicShells_EADL.hh>

Static Public Member Functions

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

Detailed Description

Definition at line 55 of file G4AtomicShells_EADL.hh.

Member Function Documentation

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

Definition at line 1581 of file G4AtomicShells_EADL.cc.

1582 {
1583 #ifdef G4VERBOSE
1584  if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetBindingEnergy"); }
1585  if(ShellNb < 0 || ShellNb>=fNumberOfShells[Z]) {
1586  ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
1587  }
1588 #endif
1589  return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*CLHEP::keV;
1590 }
static constexpr double keV
G4int G4AtomicShells_EADL::GetNumberOfElectrons ( G4int  Z,
G4int  SubshellNb 
)
static

Definition at line 1595 of file G4AtomicShells_EADL.cc.

1596 {
1597 #ifdef G4VERBOSE
1598  if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetNumberOfElectrons"); }
1599  if(ShellNb < 0 || ShellNb>=fNumberOfShells[Z]) {
1600  ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
1601  }
1602 #endif
1603  return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
1604 }
G4int G4AtomicShells_EADL::GetNumberOfShells ( G4int  Z)
static

Definition at line 1570 of file G4AtomicShells_EADL.cc.

1571 {
1572 #ifdef G4VERBOSE
1573  if(Z<0 || Z>100) { Z = PrintErrorZ(Z, "GetNumberOfShells"); }
1574 #endif
1575  return fNumberOfShells[Z];
1576 }
G4double G4AtomicShells_EADL::GetTotalBindingEnergy ( G4int  Z)
static

Definition at line 1608 of file G4AtomicShells_EADL.cc.

1609 {
1610 #ifdef G4VERBOSE
1611  if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetTotalBindingEnergy"); }
1612 #endif
1613  G4int idx = fIndexOfShells[Z];
1614  G4int idxmax = idx + fNumberOfShells[Z];
1615  G4double energy = 0.0;
1616  for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
1617  return energy*CLHEP::keV;
1618 }
static constexpr double keV
int G4int
Definition: G4Types.hh:78
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:


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