#include <G4AtomicShells.hh>
Definition at line 59 of file G4AtomicShells.hh.
Definition at line 758 of file G4AtomicShells.cc.
761 if(Z<0 || Z>100) {
Z = PrintErrorZ(
Z,
"GetBindingEnergy"); }
762 if(ShellNb < 0 || ShellNb>=fNumberOfShells[
Z]) {
763 ShellNb = PrintErrorShell(Z, ShellNb,
"GetBindingEnergy");
766 return fBindingEnergies[fIndexOfShells[
Z] + ShellNb]*
CLHEP::eV;
static constexpr double eV
Definition at line 772 of file G4AtomicShells.cc.
775 if(Z<0 || Z>100) {
Z = PrintErrorZ(
Z,
"GetNumberOfElectrons"); }
776 if(ShellNb < 0 || ShellNb>=fNumberOfShells[
Z]) {
777 ShellNb = PrintErrorShell(Z, ShellNb,
"GetNumberOfElectrons");
780 return fNumberOfElectrons[fIndexOfShells[
Z] + ShellNb];
G4int G4AtomicShells::GetNumberOfShells |
( |
G4int |
Z | ) |
|
|
static |
Definition at line 747 of file G4AtomicShells.cc.
750 if(Z<0 || Z>100) {
Z = PrintErrorZ(
Z,
"GetNumberOfShells"); }
752 return fNumberOfShells[
Z];
Definition at line 785 of file G4AtomicShells.cc.
788 if(Z<0 || Z>100) {
Z = PrintErrorZ(
Z,
"GetTotalBindingEnergy"); }
790 G4int idx = fIndexOfShells[
Z];
791 G4int idxmax = idx + fNumberOfShells[
Z];
793 for (
G4int i=idx; i<idxmax; ++i) {energy += fBindingEnergies[i];}
static constexpr double eV
G4double energy(const ThreeVector &p, const G4double m)
The documentation for this class was generated from the following files: