GENIEGenerator
|
Singleton class to load & serve tables of natural occurring isotopes. More...
#include <NaturalIsotopes.h>
Classes | |
struct | Cleaner |
Public Member Functions | |
int | NElements (int Z) const |
const NaturalIsotopeElementData * | ElementData (int Z, int ielement) const |
const NaturalIsotopeElementData * | ElementDataPdg (int Z, int pdgcode) const |
Static Public Member Functions | |
static NaturalIsotopes * | Instance (void) |
Private Member Functions | |
NaturalIsotopes () | |
NaturalIsotopes (const NaturalIsotopes &) | |
virtual | ~NaturalIsotopes () |
bool | LoadTable (void) |
Private Attributes | |
map< int, vector < NaturalIsotopeElementData * > > | fNaturalIsotopesTable |
Static Private Attributes | |
static NaturalIsotopes * | fInstance = 0 |
Friends | |
struct | Cleaner |
Singleton class to load & serve tables of natural occurring isotopes.
Definition at line 33 of file NaturalIsotopes.h.
|
private |
Definition at line 31 of file NaturalIsotopes.cxx.
References fInstance, LoadTable(), LOG, and pERROR.
Referenced by Instance().
|
private |
|
privatevirtual |
Definition at line 39 of file NaturalIsotopes.cxx.
References fInstance, and fNaturalIsotopesTable.
const NaturalIsotopeElementData * NaturalIsotopes::ElementData | ( | int | Z, |
int | ielement | ||
) | const |
Definition at line 90 of file NaturalIsotopes.cxx.
References fNaturalIsotopesTable, LOG, and pWARN.
Referenced by main().
const NaturalIsotopeElementData * NaturalIsotopes::ElementDataPdg | ( | int | Z, |
int | pdgcode | ||
) | const |
Definition at line 110 of file NaturalIsotopes.cxx.
References fNaturalIsotopesTable, LOG, genie::utils::res::PdgCode(), and pWARN.
|
static |
Definition at line 63 of file NaturalIsotopes.cxx.
References genie::NaturalIsotopes::Cleaner::DummyMethodAndSilentCompiler(), fInstance, LOG, NaturalIsotopes(), and pINFO.
Referenced by main().
|
private |
eof
Definition at line 132 of file NaturalIsotopes.cxx.
References fNaturalIsotopesTable, LOG, pDEBUG, pINFO, and pWARN.
Referenced by NaturalIsotopes().
int NaturalIsotopes::NElements | ( | int | Z | ) | const |
Definition at line 76 of file NaturalIsotopes.cxx.
References fNaturalIsotopesTable, LOG, and pWARN.
Referenced by main().
|
friend |
Definition at line 62 of file NaturalIsotopes.h.
|
staticprivate |
Definition at line 49 of file NaturalIsotopes.h.
Referenced by Instance(), NaturalIsotopes(), genie::NaturalIsotopes::Cleaner::~Cleaner(), and ~NaturalIsotopes().
|
private |
Definition at line 51 of file NaturalIsotopes.h.
Referenced by ElementData(), ElementDataPdg(), LoadTable(), NElements(), and ~NaturalIsotopes().