23#include "G4Isotope.hh"
68 fG4Isotopes[iIsotope] = g4Isotope;
69 fVgmIsotopes[g4Isotope] = iIsotope;
77 std::cout <<
"Geant4 Isotopes Map: " << std::endl;
81 for (i = fG4Isotopes.begin(); i != fG4Isotopes.end(); i++) {
83 G4Isotope* g4Isotope = (*i).second;
85 std::cout <<
" " << counter++ <<
"th entry:"
86 <<
" vgmIsotope " << iIsotope <<
" " << iIsotope->
Name()
87 <<
" g4Isotope " << g4Isotope <<
" " << g4Isotope->GetName()
98 if (i != fG4Isotopes.end())
110 if (i != fVgmIsotopes.end())
The map between VGM and Geant4 isotopes.
G4IsotopeMap::const_iterator G4IsotopeMapCIterator
static IsotopeMap * Instance()
void AddIsotope(VGM::IIsotope *, G4Isotope *)
G4Isotope * GetIsotope(VGM::IIsotope *iIsotope) const
VgmIsotopeMap::const_iterator VgmIsotopeMapCIterator
VGM implementation for Geant4 Isotope.
The VGM interface to elements.
virtual std::string Name() const =0
Return the name of this element.