14 _map.insert(std::pair<std::string, GeometricDet::GeometricEnumType>(
"PixelEndcapDisk",
GeometricDet::disk));
73 MapEnumType::const_iterator
p=
map().find(s);
74 if (p!=
map().
end())
return p->second;
79 static std::string
const u(
"Unknown");
80 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