45 G4Exception(
"G4NucleiPropertiesTheoreticalTable::GetIndex",
49 G4Exception(
"G4NucleiPropertiesTheoreticalTable::GetIndex",
53 G4Exception(
"G4NucleiPropertiesTheoreticalTable::GetIndex",
57 G4Exception(
"G4NucleiPropertiesTheoreticalTable::GetIndex",
61 G4Exception(
"G4NucleiPropertiesTheoreticalTable::GetIndex",
66 G4int i = shortTable[Z-8];
67 while ( i < shortTable[Z-8+1] ) {
68 if (indexArray[1][i] != A ) i++;
79 G4int i=GetIndex(Z, A);
81 return AtomicMassExcess[i]*MeV;
89 G4int i=GetIndex(Z, A);
103 G4int i=GetIndex(Z, A);
105 return AtomicMassExcess[i]*MeV + A*amu_c2;
115 G4int i=GetIndex(Z, A);
117 return GetAtomicMass(Z,A) -
G4double(Z)*electron_mass_c2 + ElectronicBindingEnergy(Z);
123G4double G4NucleiPropertiesTheoreticalTable::ElectronicBindingEnergy(
G4int Z) {
125 return ael*std::pow(
G4double(Z),2.39);
130 return (Z <= A && A >= 16 && A <= 339 && Z <= 136 && Z >= 8 && GetIndex(Z, A) >= 0);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)