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