VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::IsotopeMap Class Reference

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::IIsotopeGetIsotope (G4Isotope *g4Isotope) const
 

Static Public Member Functions

static IsotopeMapInstance ()
 

Protected Member Functions

 IsotopeMap (const IsotopeMap &)
 

Detailed Description

The map between VGM and Geant4 isotopes.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file IsotopeMap.h.

Member Typedef Documentation

◆ G4IsotopeMap

Definition at line 38 of file IsotopeMap.h.

◆ G4IsotopeMapCIterator

G4IsotopeMap::const_iterator Geant4GM::IsotopeMap::G4IsotopeMapCIterator

Definition at line 39 of file IsotopeMap.h.

◆ VgmIsotopeMap

Definition at line 41 of file IsotopeMap.h.

◆ VgmIsotopeMapCIterator

VgmIsotopeMap::const_iterator Geant4GM::IsotopeMap::VgmIsotopeMapCIterator

Definition at line 42 of file IsotopeMap.h.

Constructor & Destructor Documentation

◆ IsotopeMap() [1/2]

Geant4GM::IsotopeMap::IsotopeMap ( )

Standard default constructor

Definition at line 38 of file IsotopeMap.cxx.

◆ ~IsotopeMap()

Geant4GM::IsotopeMap::~IsotopeMap ( )
virtual

Definition at line 52 of file IsotopeMap.cxx.

◆ IsotopeMap() [2/2]

Geant4GM::IsotopeMap::IsotopeMap ( const IsotopeMap & )
protected

Protected copy constructor

Definition at line 46 of file IsotopeMap.cxx.

Member Function Documentation

◆ Instance()

Geant4GM::IsotopeMap * Geant4GM::IsotopeMap::Instance ( )
static

Singleton access function.

Definition at line 28 of file IsotopeMap.cxx.

◆ AddIsotope()

void Geant4GM::IsotopeMap::AddIsotope ( VGM::IIsotope * iIsotope,
G4Isotope * g4Isotope )

Add the specified pair in the map

Definition at line 63 of file IsotopeMap.cxx.

◆ Print()

void Geant4GM::IsotopeMap::Print ( ) const

Prints all Isotopes in the map

Definition at line 73 of file IsotopeMap.cxx.

◆ GetIsotope() [1/2]

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.

◆ GetIsotope() [2/2]

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.


The documentation for this class was generated from the following files: