19 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"Phase2OTBarrelPanel",
GeometricDet::panel));
23 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelEndcapDisk",
GeometricDet::disk));
107 MapEnumType::const_iterator
p=
map().find(s);
108 if (p!=
map().
end())
return p->second;
114 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