Geant4 10.7.0
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 1243 of file G4AtomicShells_XDB_EADL.cc.

1244{
1245#ifdef G4VERBOSE
1246 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetBindingEnergy"); }
1247 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1248 ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
1249 }
1250#endif
1251 return fBindingEnergies[fIndexOfShells[Z] + ShellNb]*CLHEP::keV;
1252}

◆ GetNumberOfElectrons()

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

Definition at line 1256 of file G4AtomicShells_XDB_EADL.cc.

1257{
1258#ifdef G4VERBOSE
1259 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfElectrons"); }
1260 if(ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1261 ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
1262 }
1263#endif
1264 return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
1265}

◆ GetNumberOfFreeElectrons()

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

Definition at line 1270 of file G4AtomicShells_XDB_EADL.cc.

1271{
1272#ifdef G4VERBOSE
1273 if(Z<0 || Z>120) { Z = PrintErrorZ(Z, "GetNumberOfFreeElectrons"); }
1274#endif
1275 G4int idx = fIndexOfShells[Z];
1276 G4int idxmax = idx + fNumberOfShells[Z];
1277 G4int n = 0;
1278 for (G4int i=idx; i<idxmax; ++i) {
1279 if(fBindingEnergies[i] <= th) { n += fNumberOfElectrons[i]; }
1280 }
1281 return n;
1282}
int G4int
Definition: G4Types.hh:85

◆ GetNumberOfShells()

G4int G4AtomicShells_XDB_EADL::GetNumberOfShells ( G4int  Z)
static

Definition at line 1233 of file G4AtomicShells_XDB_EADL.cc.

1234{
1235#ifdef G4VERBOSE
1236 if (Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetNumberOfShells"); }
1237#endif
1238 return fNumberOfShells[Z];
1239}

◆ GetTotalBindingEnergy()

G4double G4AtomicShells_XDB_EADL::GetTotalBindingEnergy ( G4int  Z)
static

Definition at line 1284 of file G4AtomicShells_XDB_EADL.cc.

1285{
1286#ifdef G4VERBOSE
1287 if ( Z < 0 || Z > 120) { Z = PrintErrorZ(Z, "GetTotalBindingEnergy"); }
1288#endif
1289 G4int idx = fIndexOfShells[Z];
1290 G4int idxmax = idx + fNumberOfShells[Z];
1291 G4double energy = 0.0;
1292 for (G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
1293 return energy*CLHEP::keV;
1294}
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: