7 std::pair<std::string, GeometricTimingDet::GeometricTimingEnumType>(
"FastTimerRegion",
GeometricTimingDet::MTD));
9 _map.insert(std::pair<std::string, GeometricTimingDet::GeometricTimingEnumType>(
"BarrelTimingLayer",
16 _map.insert(std::pair<std::string, GeometricTimingDet::GeometricTimingEnumType>(
"SensorPackage",
21 _map.insert(std::pair<std::string, GeometricTimingDet::GeometricTimingEnumType>(
"EndcapTimingLayer",
36 std::pair<GeometricTimingDet::GeometricTimingEnumType, std::string>(
GeometricTimingDet::MTD,
"FastTimerRegion"));
39 "BarrelTimingLayer"));
52 "EndcapTimingLayer"));
69 std::string_view
v =
s;
70 auto first = v.find_first_of(
":");
72 MapEnumType::const_iterator
p =
map().find({v.data(), v.size()});
80 ReverseMapEnumType::const_iterator
p =
reverseMap().find(t);
GeometricTimingDet::GeometricTimingEnumType type(std::string const &) const
static ReverseMapEnumType const & reverseMap()
ReverseMapEnumType _reverseMap
std::string const & name(GeometricTimingDet::GeometricTimingEnumType) const
static MapEnumType const & map()
enum GeometricTimingDet::GTDEnumType GeometricTimingEnumType