48 for (
int i = 0; l1GtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
49 if (!std::strcmp(label.c_str(), l1GtObjectStringToEnumMap[
i].
label)) {
51 value = l1GtObjectStringToEnumMap[
i].
value;
57 edm::LogInfo(
"L1GtObject") <<
"\n '" << label <<
"' is not a recognized L1GtObject. \n Return ObjNull.";
63 edm::LogInfo(
"L1GtObject") <<
"\n ObjNull means no valid L1GtObject defined!";
74 gtObjectString =
"Mu";
78 gtObjectString =
"NoIsoEG";
82 gtObjectString =
"IsoEG";
86 gtObjectString =
"CenJet";
90 gtObjectString =
"ForJet";
94 gtObjectString =
"TauJet";
98 gtObjectString =
"ETM";
102 gtObjectString =
"ETT";
106 gtObjectString =
"HTT";
110 gtObjectString =
"HTM";
114 gtObjectString =
"JetCounts";
118 gtObjectString =
"HfBitCounts";
122 gtObjectString =
"HfRingEtSums";
126 gtObjectString =
"TechTrig";
130 gtObjectString =
"Castor";
134 gtObjectString =
"BPTX";
138 gtObjectString =
"GtExternal";
142 gtObjectString =
"ObjNull";
143 edm::LogInfo(
"L1GtObject") <<
"\n ObjNull means no valid L1GtObject defined!";
147 edm::LogInfo(
"L1GtObject") <<
"\n '" << gtObject <<
"' is not a recognized L1GtObject. " 148 <<
"\n Return ObjNull, which means no valid L1GtObject defined!";
150 gtObjectString =
"ObjNull";
155 return gtObjectString;
L1GtObject l1GtObjectStringToEnum(const std::string &label)
std::string l1GtObjectEnumToString(const L1GtObject >Object)
the string to enum and enum to string conversions for L1GtObject