#include <CmsTrackerStringToEnum.h>
Classes | |
struct | Impl |
Public Types | |
typedef std::map< std::string, GeometricDet::GeometricEnumType > | MapEnumType |
typedef std::map < GeometricDet::GeometricEnumType, std::string > | ReverseMapEnumType |
Public Member Functions | |
std::string const & | name (GeometricDet::GeometricEnumType) const |
GeometricDet::GeometricEnumType | type (std::string const &) const |
Static Private Member Functions | |
static MapEnumType const & | map () |
static ReverseMapEnumType const & | reverseMap () |
Static Private Attributes | |
static Impl | m_impl |
Builds map between Det type and an enum
Definition at line 10 of file CmsTrackerStringToEnum.h.
typedef std::map<std::string, GeometricDet::GeometricEnumType> CmsTrackerStringToEnum::MapEnumType |
Definition at line 12 of file CmsTrackerStringToEnum.h.
typedef std::map<GeometricDet::GeometricEnumType, std::string> CmsTrackerStringToEnum::ReverseMapEnumType |
Definition at line 13 of file CmsTrackerStringToEnum.h.
|
inlinestaticprivate |
Definition at line 19 of file CmsTrackerStringToEnum.h.
References CmsTrackerStringToEnum::Impl::_map, and m_impl.
Referenced by type().
std::string const & CmsTrackerStringToEnum::name | ( | GeometricDet::GeometricEnumType | t | ) | const |
Definition at line 103 of file CmsTrackerStringToEnum.cc.
References end, AlCaHLTBitMon_ParallelJobs::p, reverseMap(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and config.CFG::__str__().
|
inlinestaticprivate |
Definition at line 20 of file CmsTrackerStringToEnum.h.
References CmsTrackerStringToEnum::Impl::_reverseMap, and m_impl.
Referenced by name().
GeometricDet::GeometricEnumType CmsTrackerStringToEnum::type | ( | std::string const & | s | ) | const |
Definition at line 97 of file CmsTrackerStringToEnum.cc.
References end, map(), AlCaHLTBitMon_ParallelJobs::p, and GeometricDet::unknown.
Referenced by cuy.ValElement::__init__(), ListIds::analyze(), CmsDetConstruction::buildComponent(), CmsTrackerLayerBuilder::buildComponent(), CmsTrackerOTRingBuilder::buildComponent(), CmsTrackerPanelBuilder::buildComponent(), CmsTrackerPetalBuilder::buildComponent(), CmsTrackerWheelBuilder::buildComponent(), CmsTrackerPixelPhase1EndcapBuilder::buildComponent(), CmsTrackerSubStrctBuilder::buildComponent(), CmsTrackerPixelPhase2EndcapBuilder::buildComponent(), CmsTrackerBuilder::buildComponent(), and CmsDetConstruction::buildSmallDets().
|
staticprivate |
Definition at line 29 of file CmsTrackerStringToEnum.h.
Referenced by map(), and reverseMap().