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

#include <G4AtomicShells.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 59 of file G4AtomicShells.hh.

Member Function Documentation

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

Definition at line 758 of file G4AtomicShells.cc.

759 {
760 #ifdef G4VERBOSE
761  if(Z<0 || Z>100) { Z = PrintErrorZ(Z, "GetBindingEnergy"); }
762  if(ShellNb < 0 || ShellNb>=fNumberOfShells[Z]) {
763  ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
764  }
765 #endif
766  return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*CLHEP::eV;
767 }
static constexpr double eV

Here is the caller graph for this function:

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

Definition at line 772 of file G4AtomicShells.cc.

773 {
774 #ifdef G4VERBOSE
775  if(Z<0 || Z>100) { Z = PrintErrorZ(Z, "GetNumberOfElectrons"); }
776  if(ShellNb < 0 || ShellNb>=fNumberOfShells[Z]) {
777  ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
778  }
779 #endif
780  return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
781 }

Here is the caller graph for this function:

G4int G4AtomicShells::GetNumberOfShells ( G4int  Z)
static

Definition at line 747 of file G4AtomicShells.cc.

748 {
749 #ifdef G4VERBOSE
750  if(Z<0 || Z>100) { Z = PrintErrorZ(Z, "GetNumberOfShells"); }
751 #endif
752  return fNumberOfShells[Z];
753 }

Here is the caller graph for this function:

G4double G4AtomicShells::GetTotalBindingEnergy ( G4int  Z)
static

Definition at line 785 of file G4AtomicShells.cc.

786 {
787 #ifdef G4VERBOSE
788  if(Z<0 || Z>100) { Z = PrintErrorZ(Z, "GetTotalBindingEnergy"); }
789 #endif
790  G4int idx = fIndexOfShells[Z];
791  G4int idxmax = idx + fNumberOfShells[Z];
792  G4double energy = 0.0;
793  for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
794  return energy*CLHEP::eV;
795 }
int G4int
Definition: G4Types.hh:78
static constexpr double eV
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:


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