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