Geant4  10.02.p03
G4AtomicShells Class Reference

#include <G4AtomicShells.hh>

Collaboration diagram for G4AtomicShells:

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)
 

Static Private Attributes

static const G4int fNumberOfShells [101]
 
static const G4int fIndexOfShells [101]
 
static const G4int fNumberOfElectrons [1540]
 
static const G4double fBindingEnergies [1540]
 

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 }
static const G4double fBindingEnergies[1540]
Float_t Z
static const G4int fIndexOfShells[101]
static const double eV
Definition: G4SIunits.hh:212
Here is the caller graph for this function:

◆ 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 }
Float_t Z
static const G4int fIndexOfShells[101]
static const G4int fNumberOfShells[101]
static const G4int fNumberOfElectrons[1540]
Here is the caller graph for this function:

◆ GetNumberOfShells()

G4int G4AtomicShells::GetNumberOfShells ( G4int  Z)
static

Definition at line 750 of file G4AtomicShells.cc.

751 {
752  assert (Z>0 && Z<101);
753  return fNumberOfShells[Z];
754 }
Float_t Z
static const G4int fNumberOfShells[101]
Here is the caller graph for this function:

◆ 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 }
static const G4double fBindingEnergies[1540]
int G4int
Definition: G4Types.hh:78
double energy
Definition: plottest35.C:25
Float_t Z
static const G4int fIndexOfShells[101]
static const G4int fNumberOfShells[101]
static const double eV
Definition: G4SIunits.hh:212
double G4double
Definition: G4Types.hh:76
Here is the caller graph for this function:

Member Data Documentation

◆ fBindingEnergies

const G4double G4AtomicShells::fBindingEnergies
staticprivate

Definition at line 75 of file G4AtomicShells.hh.

◆ fIndexOfShells

const G4int G4AtomicShells::fIndexOfShells
staticprivate
Initial value:
=
{ 0,
1, 2, 3, 5, 7, 10, 13, 17, 21, 24,
28, 33, 38, 44, 50, 56, 62, 68, 75, 83,
91, 100, 109, 118, 127, 136, 145, 154, 164, 174,
184, 195, 206, 217, 228, 239, 251, 264, 277, 291,
305, 319, 333, 347, 361, 375, 390, 405, 420, 436,
452, 468, 484, 500, 517, 535, 553, 572, 591, 610,
629, 648, 667, 686, 706, 725, 744, 763, 782, 801,
821, 842, 863, 884, 905, 926, 947, 968, 989, 1011,
1033, 1056, 1079, 1102, 1125, 1149, 1173, 1198, 1223, 1249,
1275, 1302, 1329, 1356, 1382, 1408, 1435, 1462, 1488, 1514
}

Definition at line 73 of file G4AtomicShells.hh.

◆ fNumberOfElectrons

const G4int G4AtomicShells::fNumberOfElectrons
staticprivate

Definition at line 74 of file G4AtomicShells.hh.

◆ fNumberOfShells

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

Definition at line 72 of file G4AtomicShells.hh.


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