VGM Version 5.3
|
The map between VGM and Root solids. More...
#include <SolidMap.h>
Public Types | |
typedef std::map< VGM::ISolid *, TGeoShape * > | RootSolidMap |
typedef RootSolidMap::const_iterator | RootSolidMapCIterator |
typedef std::map< TGeoShape *, VGM::ISolid * > | VgmSolidMap |
typedef VgmSolidMap::const_iterator | VgmSolidMapCIterator |
Public Member Functions | |
SolidMap () | |
virtual | ~SolidMap () |
void | AddSolid (VGM::ISolid *, TGeoShape *) |
void | AddSolidInRootMapOnly (VGM::ISolid *, TGeoShape *) |
void | AddSolidInVGMMapOnly (VGM::ISolid *, TGeoShape *) |
TGeoShape * | GetSolid (VGM::ISolid *iSolid) const |
VGM::ISolid * | GetSolid (TGeoShape *solid) const |
Static Public Member Functions | |
static SolidMap * | Instance () |
The map between VGM and Root solids.
Definition at line 35 of file SolidMap.h.
typedef std::map<VGM::ISolid*, TGeoShape*> RootGM::SolidMap::RootSolidMap |
Definition at line 38 of file SolidMap.h.
typedef RootSolidMap::const_iterator RootGM::SolidMap::RootSolidMapCIterator |
Definition at line 39 of file SolidMap.h.
typedef std::map<TGeoShape*, VGM::ISolid*> RootGM::SolidMap::VgmSolidMap |
Definition at line 41 of file SolidMap.h.
typedef VgmSolidMap::const_iterator RootGM::SolidMap::VgmSolidMapCIterator |
Definition at line 42 of file SolidMap.h.
RootGM::SolidMap::SolidMap | ( | ) |
Standard default constructor
Definition at line 38 of file SolidMap.cxx.
|
virtual |
Definition at line 52 of file SolidMap.cxx.
|
static |
Singleton access function
Definition at line 28 of file SolidMap.cxx.
void RootGM::SolidMap::AddSolid | ( | VGM::ISolid * | iSolid, |
TGeoShape * | rootSolid ) |
Adds the specified pair in both maps
Definition at line 59 of file SolidMap.cxx.
void RootGM::SolidMap::AddSolidInRootMapOnly | ( | VGM::ISolid * | iSolid, |
TGeoShape * | rootSolid ) |
Adds the specified pair in the Root map only
Definition at line 68 of file SolidMap.cxx.
void RootGM::SolidMap::AddSolidInVGMMapOnly | ( | VGM::ISolid * | iSolid, |
TGeoShape * | rootSolid ) |
Adds the specified pair in the VGM map only
Definition at line 77 of file SolidMap.cxx.
TGeoShape * RootGM::SolidMap::GetSolid | ( | VGM::ISolid * | iSolid | ) | const |
Find the Root solid corresponding to a specified VGM solid
Definition at line 86 of file SolidMap.cxx.
VGM::ISolid * RootGM::SolidMap::GetSolid | ( | TGeoShape * | solid | ) | const |
Find the VGM solid corresponding to a specified Root solid
Definition at line 98 of file SolidMap.cxx.