22 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"Phase2OTBarrelPanel",
GeometricDet::panel));
27 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelEndcapDisk",
GeometricDet::disk));
31 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelPhase1EndcapSubDet",
36 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelPhase2EndcapSubDet",
38 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelPhase2EndcapFullDisk",
40 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelPhase2EndcapReducedDisk",
42 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelPhase2EndcapTDRDisk",
123 MapEnumType::const_iterator
p =
map().find(s);
131 ReverseMapEnumType::const_iterator
p =
reverseMap().find(t);
enum GeometricDet::GDEnumType GeometricEnumType
static MapEnumType const & map()
static ReverseMapEnumType const & reverseMap()
ReverseMapEnumType _reverseMap
std::string const & name(GeometricDet::GeometricEnumType) const
GeometricDet::GeometricEnumType type(std::string const &) const