Geant4-11
|
Class that stores isotopic abundances for a given element. More...
#include <G4INCLNaturalIsotopicDistributions.hh>
Public Member Functions | |
G4int | drawRandomIsotope (G4int const Z) const |
Draw a random isotope. More... | |
IsotopicDistribution const & | getIsotopicDistribution (G4int const Z) const |
Get an isotopic distribution. More... | |
NaturalIsotopicDistributions () | |
Constructor. More... | |
Private Attributes | |
std::map< G4int, IsotopicDistribution > | theDistributions |
Class that stores isotopic abundances for a given element.
Definition at line 81 of file G4INCLNaturalIsotopicDistributions.hh.
G4INCL::NaturalIsotopicDistributions::NaturalIsotopicDistributions | ( | ) |
Constructor.
Definition at line 398 of file G4INCLNaturalIsotopicDistributions.cc.
References G4INCL::anonymous_namespace{G4INCLNaturalIsotopicDistributions.cc}::sizeOfArray(), theDistributions, and G4INCL::anonymous_namespace{G4INCLNaturalIsotopicDistributions.cc}::theRawDistributions.
Draw a random isotope.
Z | the element number |
Definition at line 97 of file G4INCLNaturalIsotopicDistributions.cc.
References G4INCL::IsotopicDistribution::drawRandomIsotope(), getIsotopicDistribution(), and Z.
Referenced by G4INCL::ParticleTable::drawRandomNaturalIsotope().
IsotopicDistribution const & G4INCL::NaturalIsotopicDistributions::getIsotopicDistribution | ( | G4int const | Z | ) | const |
Get an isotopic distribution.
Z | the element number |
Definition at line 87 of file G4INCLNaturalIsotopicDistributions.cc.
References INCL_FATAL, theDistributions, and Z.
Referenced by drawRandomIsotope(), and G4INCL::ParticleTable::getNaturalIsotopicDistribution().
|
private |
Definition at line 100 of file G4INCLNaturalIsotopicDistributions.hh.
Referenced by getIsotopicDistribution(), and NaturalIsotopicDistributions().