Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AtomicShells Class Reference

#include <G4AtomicShells.hh>

Public Member Functions

G4double GetTotalBindingEnergy (G4int Z)
 

Static Public Member Functions

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

Detailed Description

Definition at line 61 of file G4AtomicShells.hh.

Member Function Documentation

◆ GetBindingEnergy()

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

Definition at line 759 of file G4AtomicShells.cc.

760{
761 assert (Z>0 && Z<101 && ShellNb<fNumberOfShells[Z]);
762 return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*eV;
763}

Referenced by G4Element::AddIsotope(), G4Element::G4Element(), and G4DiscreteGammaTransition::SelectGamma().

◆ GetNumberOfElectrons()

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

Definition at line 768 of file G4AtomicShells.cc.

769{
770 assert (Z>0 && Z<101 && ShellNb<fNumberOfShells[Z]);
771 return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
772}

Referenced by G4Element::AddIsotope(), G4Element::G4Element(), G4EmCorrections::LShellCorrection(), and G4EmCorrections::ShellCorrection().

◆ GetNumberOfShells()

G4int G4AtomicShells::GetNumberOfShells ( G4int  Z)
static

◆ GetTotalBindingEnergy()

G4double G4AtomicShells::GetTotalBindingEnergy ( G4int  Z)

Definition at line 776 of file G4AtomicShells.cc.

777{
778 assert (Z>=1 && Z<101);
779
780 G4int idx = fIndexOfShells[Z];
781 G4int idxmax = idx + fNumberOfShells[Z];
782 G4double energy = 0.0;
783 for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
784 return energy*eV;
785}
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66

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