50 for (
int i = 0; l1TGtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
51 if (!std::strcmp(label.c_str(), l1TGtObjectStringToEnumMap[
i].
label)) {
53 value = l1TGtObjectStringToEnumMap[
i].
value;
60 <<
"' is not a recognized GlobalObject. \n Return ObjNull.";
67 <<
"\n ObjNull means no valid GlobalObject defined!";
80 gtObjectString =
"Mu";
85 gtObjectString =
"EG";
90 gtObjectString =
"Tau";
95 gtObjectString =
"Jet";
100 gtObjectString =
"ETM";
105 gtObjectString =
"ETT";
110 gtObjectString =
"HTT";
115 gtObjectString =
"HTM";
120 gtObjectString =
"ETM2";
125 gtObjectString =
"MinBias";
130 gtObjectString =
"External";
135 gtObjectString =
"ObjNull";
137 <<
"\n ObjNull means no valid GlobalObject defined!";
143 <<
"' is not a recognized GlobalObject. "
144 <<
"\n Return ObjNull, which means no valid GlobalObject defined!";
146 gtObjectString =
"ObjNull";
152 return gtObjectString;
l1t::GlobalObject l1TGtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for GlobalObject
std::string l1TGtObjectEnumToString(const GlobalObject &)