#include <G4AtomicShells_XDB_EADL.hh>
Definition at line 48 of file G4AtomicShells_XDB_EADL.hh.
◆ GetBindingEnergy()
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()
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];
1278 for (
G4int i=idx; i<idxmax; ++i) {
1279 if(fBindingEnergies[i] <= th) {
n += fNumberOfElectrons[i]; }
1280 }
1282}
◆ 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];
1292 for (
G4int i=idx; i<idxmax; ++i) {
energy += fBindingEnergies[i];}
1293 return energy*CLHEP::keV;
1294}
G4double energy(const ThreeVector &p, const G4double m)
The documentation for this class was generated from the following files: