VGM Version 5.3
|
The map between VGM and Root elements. More...
#include <ElementMap.h>
Public Types | |
typedef std::map< VGM::IElement *, TGeoElement * > | TGeoElementMap |
typedef TGeoElementMap::const_iterator | TGeoElementMapCIterator |
typedef std::map< TGeoElement *, VGM::IElement * > | VgmElementMap |
typedef VgmElementMap::const_iterator | VgmElementMapCIterator |
Public Member Functions | |
ElementMap () | |
virtual | ~ElementMap () |
void | AddElement (VGM::IElement *, TGeoElement *) |
void | Print () const |
TGeoElement * | GetElement (VGM::IElement *iElement) const |
VGM::IElement * | GetElement (TGeoElement *tgeoElement) const |
Static Public Member Functions | |
static ElementMap * | Instance () |
Protected Member Functions | |
ElementMap (const ElementMap &) | |
The map between VGM and Root elements.
Definition at line 35 of file ElementMap.h.
typedef std::map<VGM::IElement*, TGeoElement*> RootGM::ElementMap::TGeoElementMap |
Definition at line 38 of file ElementMap.h.
typedef TGeoElementMap::const_iterator RootGM::ElementMap::TGeoElementMapCIterator |
Definition at line 39 of file ElementMap.h.
typedef std::map<TGeoElement*, VGM::IElement*> RootGM::ElementMap::VgmElementMap |
Definition at line 41 of file ElementMap.h.
typedef VgmElementMap::const_iterator RootGM::ElementMap::VgmElementMapCIterator |
Definition at line 42 of file ElementMap.h.
RootGM::ElementMap::ElementMap | ( | ) |
Standard default constructor
Definition at line 38 of file ElementMap.cxx.
|
virtual |
Definition at line 52 of file ElementMap.cxx.
|
protected |
Protected copy constructor
Definition at line 46 of file ElementMap.cxx.
|
static |
Singleton access function.
Definition at line 28 of file ElementMap.cxx.
void RootGM::ElementMap::AddElement | ( | VGM::IElement * | iElement, |
TGeoElement * | tgeoElement ) |
Add the specified pair in the map
Definition at line 63 of file ElementMap.cxx.
void RootGM::ElementMap::Print | ( | ) | const |
Print all elements in the map
Definition at line 73 of file ElementMap.cxx.
TGeoElement * RootGM::ElementMap::GetElement | ( | VGM::IElement * | iElement | ) | const |
Find the Root element corresponding to a specified VGM element
Definition at line 92 of file ElementMap.cxx.
VGM::IElement * RootGM::ElementMap::GetElement | ( | TGeoElement * | tgeoElement | ) | const |
Find the VGM element corresponding to a specified Root element
Definition at line 104 of file ElementMap.cxx.