55 for (
int i = 0; l1TGtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
56 if (!std::strcmp(label.c_str(), l1TGtObjectStringToEnumMap[
i].
label)) {
58 value = l1TGtObjectStringToEnumMap[
i].
value;
65 <<
"' is not a recognized GlobalObject. \n Return ObjNull.";
72 <<
"\n ObjNull means no valid GlobalObject defined!";
85 gtObjectString =
"Mu";
90 gtObjectString =
"EG";
95 gtObjectString =
"Tau";
100 gtObjectString =
"Jet";
105 gtObjectString =
"ETM";
110 gtObjectString =
"ETT";
115 gtObjectString =
"HTT";
120 gtObjectString =
"HTM";
125 gtObjectString =
"ETMHF";
130 gtObjectString =
"TowerCount";
135 gtObjectString =
"MinBiasHFP0";
140 gtObjectString =
"MinBiasHFM0";
145 gtObjectString =
"MinBiasHFP1";
150 gtObjectString =
"MinBiasHFM1";
155 gtObjectString =
"ETTem";
160 gtObjectString =
"External";
165 gtObjectString =
"ObjNull";
167 <<
"\n ObjNull means no valid GlobalObject defined!";
173 <<
"' is not a recognized GlobalObject. "
174 <<
"\n Return ObjNull, which means no valid GlobalObject defined!";
176 gtObjectString =
"ObjNull";
182 return gtObjectString;
l1t::GlobalObject l1TGtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for GlobalObject
std::string l1TGtObjectEnumToString(const GlobalObject &)