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

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

Definition at line 759 of file G4AtomicShells.cc.

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

00760 {
00761   assert (Z>0 && Z<101 && ShellNb<fNumberOfShells[Z]);
00762   return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*eV;
00763 }

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

Definition at line 768 of file G4AtomicShells.cc.

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

00769 {
00770   assert (Z>0 && Z<101 && ShellNb<fNumberOfShells[Z]);
00771   return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
00772 }

G4int G4AtomicShells::GetNumberOfShells ( G4int  Z  )  [static]

Definition at line 750 of file G4AtomicShells.cc.

Referenced by G4Element::AddIsotope(), G4NuclearDecayChannel::DecayIt(), G4Element::G4Element(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4EmCorrections::LShellCorrection(), and G4EmCorrections::ShellCorrection().

00751 {
00752   assert (Z>0 && Z<101);
00753   return fNumberOfShells[Z];
00754 }

G4double G4AtomicShells::GetTotalBindingEnergy ( G4int  Z  ) 

Definition at line 776 of file G4AtomicShells.cc.

00777 {
00778   assert (Z>=1 && Z<101);
00779   
00780   G4int idx = fIndexOfShells[Z];
00781   G4int idxmax = idx +  fNumberOfShells[Z];
00782   G4double energy = 0.0;
00783   for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
00784   return energy*eV;
00785 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:28 2013 for Geant4 by  doxygen 1.4.7