VGM Version 5.3
|
The map between VGM and Geant4 isotopes. More...
#include <IsotopeMap.h>
Public Types | |
typedef std::map< VGM::IIsotope *, G4Isotope * > | G4IsotopeMap |
typedef G4IsotopeMap::const_iterator | G4IsotopeMapCIterator |
typedef std::map< G4Isotope *, VGM::IIsotope * > | VgmIsotopeMap |
typedef VgmIsotopeMap::const_iterator | VgmIsotopeMapCIterator |
Public Member Functions | |
IsotopeMap () | |
virtual | ~IsotopeMap () |
void | AddIsotope (VGM::IIsotope *, G4Isotope *) |
void | Print () const |
G4Isotope * | GetIsotope (VGM::IIsotope *iIsotope) const |
VGM::IIsotope * | GetIsotope (G4Isotope *g4Isotope) const |
Static Public Member Functions | |
static IsotopeMap * | Instance () |
Protected Member Functions | |
IsotopeMap (const IsotopeMap &) | |
The map between VGM and Geant4 isotopes.
Definition at line 35 of file IsotopeMap.h.
typedef std::map<VGM::IIsotope*, G4Isotope*> Geant4GM::IsotopeMap::G4IsotopeMap |
Definition at line 38 of file IsotopeMap.h.
typedef G4IsotopeMap::const_iterator Geant4GM::IsotopeMap::G4IsotopeMapCIterator |
Definition at line 39 of file IsotopeMap.h.
typedef std::map<G4Isotope*, VGM::IIsotope*> Geant4GM::IsotopeMap::VgmIsotopeMap |
Definition at line 41 of file IsotopeMap.h.
typedef VgmIsotopeMap::const_iterator Geant4GM::IsotopeMap::VgmIsotopeMapCIterator |
Definition at line 42 of file IsotopeMap.h.
Geant4GM::IsotopeMap::IsotopeMap | ( | ) |
Standard default constructor
Definition at line 38 of file IsotopeMap.cxx.
|
virtual |
Definition at line 52 of file IsotopeMap.cxx.
|
protected |
Protected copy constructor
Definition at line 46 of file IsotopeMap.cxx.
|
static |
Singleton access function.
Definition at line 28 of file IsotopeMap.cxx.
void Geant4GM::IsotopeMap::AddIsotope | ( | VGM::IIsotope * | iIsotope, |
G4Isotope * | g4Isotope ) |
Add the specified pair in the map
Definition at line 63 of file IsotopeMap.cxx.
void Geant4GM::IsotopeMap::Print | ( | ) | const |
Prints all Isotopes in the map
Definition at line 73 of file IsotopeMap.cxx.
G4Isotope * Geant4GM::IsotopeMap::GetIsotope | ( | VGM::IIsotope * | iIsotope | ) | const |
Find the G4 Isotope corresponding to a specified VGM Isotope
Definition at line 93 of file IsotopeMap.cxx.
VGM::IIsotope * Geant4GM::IsotopeMap::GetIsotope | ( | G4Isotope * | g4Isotope | ) | const |
Find the VGM Isotope corresponding to a specified G4 Isotope
Definition at line 105 of file IsotopeMap.cxx.