#include <G4AtomicShells_XDB_EADL.hh>
Definition at line 45 of file G4AtomicShells_XDB_EADL.hh.
◆ G4AtomicShells_XDB_EADL()
◆ GetBindingEnergy()
Definition at line 1211 of file G4AtomicShells_XDB_EADL.cc.
1212{
1213#ifdef G4VERBOSE
1214 if (Z < 0 || Z > 120) {
1215 Z = PrintErrorZ(Z, "GetBindingEnergy");
1216 }
1217 if (ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1218 ShellNb = PrintErrorShell(Z, ShellNb, "GetBindingEnergy");
1219 }
1220#endif
1221 return fBindingEnergies[fIndexOfShells[Z] + ShellNb] * CLHEP::keV;
1222}
◆ GetNumberOfElectrons()
G4int G4AtomicShells_XDB_EADL::GetNumberOfElectrons |
( |
G4int | Z, |
|
|
G4int | SubshellNb ) |
|
static |
Definition at line 1224 of file G4AtomicShells_XDB_EADL.cc.
1225{
1226#ifdef G4VERBOSE
1227 if (Z < 0 || Z > 120) {
1228 Z = PrintErrorZ(Z, "GetNumberOfElectrons");
1229 }
1230 if (ShellNb < 0 || ShellNb >= fNumberOfShells[Z]) {
1231 ShellNb = PrintErrorShell(Z, ShellNb, "GetNumberOfElectrons");
1232 }
1233#endif
1234 return fNumberOfElectrons[fIndexOfShells[Z] + ShellNb];
1235}
◆ GetNumberOfFreeElectrons()
Definition at line 1239 of file G4AtomicShells_XDB_EADL.cc.
1240{
1241#ifdef G4VERBOSE
1242 if (Z < 0 || Z > 120) {
1243 Z = PrintErrorZ(Z, "GetNumberOfFreeElectrons");
1244 }
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) {
1251 n += fNumberOfElectrons[i];
1252 }
1253 }
1255}
◆ GetNumberOfShells()
G4int G4AtomicShells_XDB_EADL::GetNumberOfShells |
( |
G4int | Z | ) |
|
|
static |
Definition at line 1201 of file G4AtomicShells_XDB_EADL.cc.
1202{
1203#ifdef G4VERBOSE
1204 if (Z < 0 || Z > 120) {
1205 Z = PrintErrorZ(Z, "GetNumberOfShells");
1206 }
1207#endif
1208 return fNumberOfShells[Z];
1209}
◆ GetTotalBindingEnergy()
G4double G4AtomicShells_XDB_EADL::GetTotalBindingEnergy |
( |
G4int | Z | ) |
|
|
static |
Definition at line 1257 of file G4AtomicShells_XDB_EADL.cc.
1258{
1259#ifdef G4VERBOSE
1260 if (Z < 0 || Z > 120) {
1261 Z = PrintErrorZ(Z, "GetTotalBindingEnergy");
1262 }
1263#endif
1264 G4int idx = fIndexOfShells[Z];
1265 G4int idxmax = idx + fNumberOfShells[Z];
1267 for (
G4int i = idx; i < idxmax; ++i) {
1268 energy += fBindingEnergies[i];
1269 }
1270 return energy * CLHEP::keV;
1271}
G4double energy(const ThreeVector &p, const G4double m)
◆ operator=()
The documentation for this class was generated from the following files: