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