VGM Version 5.3
|
The map between VGM and Root volumes. More...
#include <VolumeMap.h>
Public Types | |
typedef std::map< VGM::IVolume *, TGeoVolume * > | RootVolumeMap |
typedef RootVolumeMap::const_iterator | RootVolumeMapCIterator |
typedef std::map< TGeoVolume *, VGM::IVolume * > | VgmVolumeMap |
typedef VgmVolumeMap::const_iterator | VgmVolumeMapCIterator |
Public Member Functions | |
VolumeMap () | |
virtual | ~VolumeMap () |
void | AddVolume (VGM::IVolume *, TGeoVolume *) |
void | Print () const |
TGeoVolume * | GetVolume (VGM::IVolume *iVolume) const |
VGM::IVolume * | GetVolume (TGeoVolume *rootVolume) const |
Static Public Member Functions | |
static VolumeMap * | Instance () |
The map between VGM and Root volumes.
Definition at line 35 of file VolumeMap.h.
std::map<VGM::IVolume*, TGeoVolume*> RootGM::VolumeMap::RootVolumeMap |
Definition at line 38 of file VolumeMap.h.
RootVolumeMap::const_iterator RootGM::VolumeMap::RootVolumeMapCIterator |
Definition at line 39 of file VolumeMap.h.
std::map<TGeoVolume*, VGM::IVolume*> RootGM::VolumeMap::VgmVolumeMap |
Definition at line 41 of file VolumeMap.h.
VgmVolumeMap::const_iterator RootGM::VolumeMap::VgmVolumeMapCIterator |
Definition at line 42 of file VolumeMap.h.
RootGM::VolumeMap::VolumeMap | ( | ) |
Standard default constructor
Definition at line 38 of file VolumeMap.cxx.
|
virtual |
Definition at line 52 of file VolumeMap.cxx.
|
static |
Singleton access function
Definition at line 28 of file VolumeMap.cxx.
void RootGM::VolumeMap::AddVolume | ( | VGM::IVolume * | iVolume, |
TGeoVolume * | rootVolume ) |
Add the specified pair in the maps
Definition at line 63 of file VolumeMap.cxx.
void RootGM::VolumeMap::Print | ( | ) | const |
Print all volumes in the maps
Definition at line 72 of file VolumeMap.cxx.
TGeoVolume * RootGM::VolumeMap::GetVolume | ( | VGM::IVolume * | iVolume | ) | const |
Find the Root volume corresponding to a specified VGM volume
Definition at line 92 of file VolumeMap.cxx.
VGM::IVolume * RootGM::VolumeMap::GetVolume | ( | TGeoVolume * | rootVolume | ) | const |
Finds the VGM volume corresponding to a specified Root volume
Definition at line 104 of file VolumeMap.cxx.