67 for (
int i = 0; l1TGtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
68 if (!std::strcmp(label.c_str(), l1TGtObjectStringToEnumMap[
i].
label)) {
70 value = l1TGtObjectStringToEnumMap[
i].
value;
77 <<
"' is not a recognized GlobalObject. \n Return ObjNull.";
84 <<
"\n ObjNull means no valid GlobalObject defined!";
97 gtObjectString =
"Mu";
102 gtObjectString =
"EG";
107 gtObjectString =
"Tau";
112 gtObjectString =
"Jet";
117 gtObjectString =
"ETM";
122 gtObjectString =
"ETT";
127 gtObjectString =
"HTT";
132 gtObjectString =
"HTM";
137 gtObjectString =
"ETMHF";
142 gtObjectString =
"TowerCount";
147 gtObjectString =
"MinBiasHFP0";
152 gtObjectString =
"MinBiasHFM0";
157 gtObjectString =
"MinBiasHFP1";
162 gtObjectString =
"MinBiasHFM1";
167 gtObjectString =
"ETTem";
172 gtObjectString =
"AsymEt";
177 gtObjectString =
"AsymHt";
182 gtObjectString =
"AsymEtHF";
187 gtObjectString =
"AsymHtHF";
192 gtObjectString =
"CENT0";
197 gtObjectString =
"CENT1";
202 gtObjectString =
"CENT2";
207 gtObjectString =
"CENT3";
212 gtObjectString =
"CENT4";
217 gtObjectString =
"CENT5";
222 gtObjectString =
"CENT6";
227 gtObjectString =
"CENT7";
232 gtObjectString =
"External";
237 gtObjectString =
"ObjNull";
239 <<
"\n ObjNull means no valid GlobalObject defined!";
245 <<
"' is not a recognized GlobalObject. " 246 <<
"\n Return ObjNull, which means no valid GlobalObject defined!";
248 gtObjectString =
"ObjNull";
254 return gtObjectString;
l1t::GlobalObject l1TGtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for GlobalObject
std::string l1TGtObjectEnumToString(const GlobalObject &)