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

The map between VGM and Root isotopes. More...

#include <IsotopeMap.h>

Public Types

typedef std::map< VGM::IIsotope *, TGeoIsotope * > TGeoIsotopeMap
 
typedef TGeoIsotopeMap::const_iterator TGeoIsotopeMapCIterator
 
typedef std::map< TGeoIsotope *, VGM::IIsotope * > VgmIsotopeMap
 
typedef VgmIsotopeMap::const_iterator VgmIsotopeMapCIterator
 

Public Member Functions

 IsotopeMap ()
 
virtual ~IsotopeMap ()
 
void AddIsotope (VGM::IIsotope *, TGeoIsotope *)
 
void Print () const
 
TGeoIsotope * GetIsotope (VGM::IIsotope *iIsotope) const
 
VGM::IIsotopeGetIsotope (TGeoIsotope *tgeoIsotope) const
 

Static Public Member Functions

static IsotopeMapInstance ()
 

Protected Member Functions

 IsotopeMap (const IsotopeMap &)
 

Detailed Description

The map between VGM and Root isotopes.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file IsotopeMap.h.

Member Typedef Documentation

◆ TGeoIsotopeMap

typedef std::map<VGM::IIsotope*, TGeoIsotope*> RootGM::IsotopeMap::TGeoIsotopeMap

Definition at line 38 of file IsotopeMap.h.

◆ TGeoIsotopeMapCIterator

typedef TGeoIsotopeMap::const_iterator RootGM::IsotopeMap::TGeoIsotopeMapCIterator

Definition at line 39 of file IsotopeMap.h.

◆ VgmIsotopeMap

typedef std::map<TGeoIsotope*, VGM::IIsotope*> RootGM::IsotopeMap::VgmIsotopeMap

Definition at line 41 of file IsotopeMap.h.

◆ VgmIsotopeMapCIterator

typedef VgmIsotopeMap::const_iterator RootGM::IsotopeMap::VgmIsotopeMapCIterator

Definition at line 42 of file IsotopeMap.h.

Constructor & Destructor Documentation

◆ IsotopeMap() [1/2]

RootGM::IsotopeMap::IsotopeMap ( )

Standard default constructor

Definition at line 38 of file IsotopeMap.cxx.

◆ ~IsotopeMap()

RootGM::IsotopeMap::~IsotopeMap ( )
virtual

Definition at line 52 of file IsotopeMap.cxx.

◆ IsotopeMap() [2/2]

RootGM::IsotopeMap::IsotopeMap ( const IsotopeMap & )
protected

Protected copy constructor

Definition at line 46 of file IsotopeMap.cxx.

Member Function Documentation

◆ Instance()

RootGM::IsotopeMap * RootGM::IsotopeMap::Instance ( )
static

Singleton access function.

Definition at line 28 of file IsotopeMap.cxx.

◆ AddIsotope()

void RootGM::IsotopeMap::AddIsotope ( VGM::IIsotope * iIsotope,
TGeoIsotope * tgeoIsotope )

Add the specified pair in the map

Definition at line 63 of file IsotopeMap.cxx.

◆ Print()

void RootGM::IsotopeMap::Print ( ) const

Print all Isotopes in the map

Definition at line 73 of file IsotopeMap.cxx.

◆ GetIsotope() [1/2]

TGeoIsotope * RootGM::IsotopeMap::GetIsotope ( VGM::IIsotope * iIsotope) const

Find the Root Isotope corresponding to a specified VGM Isotope

Definition at line 93 of file IsotopeMap.cxx.

◆ GetIsotope() [2/2]

VGM::IIsotope * RootGM::IsotopeMap::GetIsotope ( TGeoIsotope * tgeoIsotope) const

Find the VGM Isotope corresponding to a specified Root Isotope

Definition at line 105 of file IsotopeMap.cxx.


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