53 for (
int i = 0; l1GtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
54 if (!std::strcmp(label.c_str(), l1GtObjectStringToEnumMap[
i].
label)) {
56 value = l1GtObjectStringToEnumMap[
i].
value;
63 <<
"' is not a recognized L1GtObject. \n Return ObjNull.";
70 <<
"\n ObjNull means no valid L1GtObject defined!";
83 gtObjectString =
"Mu";
88 gtObjectString =
"NoIsoEG";
93 gtObjectString =
"IsoEG";
98 gtObjectString =
"CenJet";
103 gtObjectString =
"ForJet";
108 gtObjectString =
"TauJet";
113 gtObjectString =
"ETM";
118 gtObjectString =
"ETT";
123 gtObjectString =
"HTT";
128 gtObjectString =
"HTM";
133 gtObjectString =
"JetCounts";
138 gtObjectString =
"HfBitCounts";
143 gtObjectString =
"HfRingEtSums";
148 gtObjectString =
"TechTrig";
153 gtObjectString =
"Castor";
158 gtObjectString =
"BPTX";
163 gtObjectString =
"GtExternal";
168 gtObjectString =
"ObjNull";
170 <<
"\n ObjNull means no valid L1GtObject defined!";
176 <<
"' is not a recognized L1GtObject. "
177 <<
"\n Return ObjNull, which means no valid L1GtObject defined!";
179 gtObjectString =
"ObjNull";
185 return gtObjectString;
std::string l1GtObjectEnumToString(const L1GtObject &)
L1GtObject l1GtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for L1GtObject