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

#include <G4AtomicShells_XDB_EADL.hh>

Static Public Member Functions

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

Detailed Description

Definition at line 48 of file G4AtomicShells_XDB_EADL.hh.

Member Function Documentation

◆ GetBindingEnergy()

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

Definition at line 1214 of file G4AtomicShells_XDB_EADL.cc.

1215{
1216#ifdef G4VERBOSE
1217 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetBindingEnergy"); }
1218 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1219 ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
1220 }
1221#endif
1222 return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*CLHEP::keV;
1223}
const G4int Z[17]

◆ GetNumberOfElectrons()

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

Definition at line 1227 of file G4AtomicShells_XDB_EADL.cc.

1228{
1229#ifdef G4VERBOSE
1230 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfElectrons"); }
1231 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1232 ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
1233 }
1234#endif
1235 return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
1236}

◆ GetNumberOfFreeElectrons()

G4int G4AtomicShells_XDB_EADL::GetNumberOfFreeElectrons ( G4int  Z,
G4double  th 
)
static

Definition at line 1241 of file G4AtomicShells_XDB_EADL.cc.

1242{
1243#ifdef G4VERBOSE
1244 if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetNumberOfFreeElectrons"); }
1245#endif
1246 G4int idx = fIndexOfShells[Z];
1247 G4int idxmax = idx + fNumberOfShells[Z];
1248 G4int n = 0;
1249 for (G4int i=idx; i<idxmax; ++i) {
1250 if(fBindingEnergies[i]*CLHEP::keV <= th) { n += fNumberOfElectrons[i]; }
1251 }
1252 return n;
1253}
int G4int
Definition: G4Types.hh:85

◆ GetNumberOfShells()

G4int G4AtomicShells_XDB_EADL::GetNumberOfShells ( G4int  Z)
static

Definition at line 1204 of file G4AtomicShells_XDB_EADL.cc.

1205{
1206#ifdef G4VERBOSE
1207 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfShells"); }
1208#endif
1209 return fNumberOfShells[Z];
1210}

◆ GetTotalBindingEnergy()

G4double G4AtomicShells_XDB_EADL::GetTotalBindingEnergy ( G4int  Z)
static

Definition at line 1255 of file G4AtomicShells_XDB_EADL.cc.

1256{
1257#ifdef G4VERBOSE
1258 if ( Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetTotalBindingEnergy"); }
1259#endif
1260 G4int idx = fIndexOfShells[Z];
1261 G4int idxmax = idx + fNumberOfShells[Z];
1262 G4double energy = 0.0;
1263 for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
1264 return energy*CLHEP::keV;
1265}
double G4double
Definition: G4Types.hh:83
G4double energy(const ThreeVector &p, const G4double m)

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