51 for (
int i = 0; l1GtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
52 if (!std::strcmp(label.c_str(), l1GtObjectStringToEnumMap[
i].
label)) {
54 value = l1GtObjectStringToEnumMap[
i].
value;
61 <<
"' is not a recognized L1GtObject. \n Return ObjNull.";
68 <<
"\n ObjNull means no valid L1GtObject defined!";
81 gtObjectString =
"Mu";
86 gtObjectString =
"NoIsoEG";
91 gtObjectString =
"IsoEG";
96 gtObjectString =
"CenJet";
101 gtObjectString =
"ForJet";
106 gtObjectString =
"TauJet";
111 gtObjectString =
"ETM";
116 gtObjectString =
"ETT";
121 gtObjectString =
"HTT";
126 gtObjectString =
"HTM";
131 gtObjectString =
"JetCounts";
136 gtObjectString =
"HfBitCounts";
141 gtObjectString =
"HfRingEtSums";
146 gtObjectString =
"TechTrig";
151 gtObjectString =
"Castor";
156 gtObjectString =
"BPTX";
161 gtObjectString =
"GtExternal";
166 gtObjectString =
"ObjNull";
168 <<
"\n ObjNull means no valid L1GtObject defined!";
174 <<
"' is not a recognized L1GtObject. "
175 <<
"\n Return ObjNull, which means no valid L1GtObject defined!";
177 gtObjectString =
"ObjNull";
183 return gtObjectString;
std::string l1GtObjectEnumToString(const L1GtObject &)
L1GtObject l1GtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for L1GtObject