62 for (
int i = 0; l1TGtObjectStringToEnumMap[
i].
label && (!
found); ++
i)
63 if (!std::strcmp(
label.c_str(), l1TGtObjectStringToEnumMap[
i].
label)) {
71 edm::LogInfo(
"L1TGlobal") <<
"\n '" <<
label <<
"' is not a recognized GlobalObject. \n Return ObjNull.";
77 edm::LogInfo(
"L1TGlobal") <<
"\n ObjNull means no valid GlobalObject defined!";
88 gtObjectString =
"Mu";
92 gtObjectString =
"MuShower";
96 gtObjectString =
"EG";
100 gtObjectString =
"Tau";
104 gtObjectString =
"Jet";
108 gtObjectString =
"ETM";
112 gtObjectString =
"ETT";
116 gtObjectString =
"HTT";
120 gtObjectString =
"HTM";
124 gtObjectString =
"ETMHF";
128 gtObjectString =
"TowerCount";
132 gtObjectString =
"MinBiasHFP0";
136 gtObjectString =
"MinBiasHFM0";
140 gtObjectString =
"MinBiasHFP1";
144 gtObjectString =
"MinBiasHFM1";
148 gtObjectString =
"ETTem";
152 gtObjectString =
"AsymEt";
156 gtObjectString =
"AsymHt";
160 gtObjectString =
"AsymEtHF";
164 gtObjectString =
"AsymHtHF";
168 gtObjectString =
"CENT0";
172 gtObjectString =
"CENT1";
176 gtObjectString =
"CENT2";
180 gtObjectString =
"CENT3";
184 gtObjectString =
"CENT4";
188 gtObjectString =
"CENT5";
192 gtObjectString =
"CENT6";
196 gtObjectString =
"CENT7";
200 gtObjectString =
"External";
204 gtObjectString =
"ObjNull";
205 edm::LogInfo(
"L1TGlobal") <<
"\n ObjNull means no valid GlobalObject defined!";
209 edm::LogInfo(
"L1TGlobal") <<
"\n '" << gtObject <<
"' is not a recognized GlobalObject. " 210 <<
"\n Return ObjNull, which means no valid GlobalObject defined!";
212 gtObjectString =
"ObjNull";
217 return gtObjectString;
l1t::GlobalObject l1TGtObjectStringToEnum(const std::string &)
the string to enum and enum to string conversions for GlobalObject
std::string l1TGtObjectEnumToString(const GlobalObject &)
Log< level::Info, false > LogInfo