Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AtomicShells_XDB_EADL Class Reference

#include <G4AtomicShells_XDB_EADL.hh>

Public Member Functions

 G4AtomicShells_XDB_EADL (const G4AtomicShells_XDB_EADL &)=delete
 
const G4AtomicShells_XDB_EADLoperator= (const G4AtomicShells_XDB_EADL &)=delete
 

Static Public Member Functions

static G4int GetNumberOfShells (G4int Z)
 
static G4int GetNumberOfElectrons (G4int Z, G4int SubshellNb)
 
static G4int GetNumberOfFreeElectrons (G4int Z, G4double th)
 
static G4double GetBindingEnergy (G4int Z, G4int SubshellNb)
 
static G4double GetTotalBindingEnergy (G4int Z)
 

Detailed Description

Definition at line 45 of file G4AtomicShells_XDB_EADL.hh.

Constructor & Destructor Documentation

◆ G4AtomicShells_XDB_EADL()

G4AtomicShells_XDB_EADL::G4AtomicShells_XDB_EADL ( const G4AtomicShells_XDB_EADL & )
delete

Member Function Documentation

◆ GetBindingEnergy()

G4double G4AtomicShells_XDB_EADL::GetBindingEnergy ( G4int Z,
G4int SubshellNb )
static

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()

G4int G4AtomicShells_XDB_EADL::GetNumberOfFreeElectrons ( G4int Z,
G4double th )
static

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];
1248 G4int n = 0;
1249 for (G4int i = idx; i < idxmax; ++i) {
1250 if (fBindingEnergies[i] * CLHEP::keV <= th) {
1251 n += fNumberOfElectrons[i];
1252 }
1253 }
1254 return n;
1255}
int G4int
Definition G4Types.hh:85

◆ 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];
1266 G4double energy = 0.0;
1267 for (G4int i = idx; i < idxmax; ++i) {
1268 energy += fBindingEnergies[i];
1269 }
1270 return energy * CLHEP::keV;
1271}
double G4double
Definition G4Types.hh:83
G4double energy(const ThreeVector &p, const G4double m)

◆ operator=()

const G4AtomicShells_XDB_EADL & G4AtomicShells_XDB_EADL::operator= ( const G4AtomicShells_XDB_EADL & )
delete

The documentation for this class was generated from the following files: