Skip to content

Commit 88516a5

Browse files
committed
Modified HLTExoticaPlotter.cc
1 parent 7096216 commit 88516a5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

HLTriggerOffline/Exotica/src/HLTExoticaPlotter.cc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,15 @@ void HLTExoticaPlotter::bookHist(DQMStore::IBooker &iBooker,
215215
double max = _parametersDxy[2];
216216
h = new TH1F(name.c_str(), title.c_str(), nBins, min, max);
217217
} else if (variable.find("MaxPt") != std::string::npos) {
218-
std::string desc =
219-
(variable == "MaxPt1") ? "Leading"
220-
: (variable == "MaxPt2") ? "Next-to-Leading"
221-
: "Next-to-next-to-Leading";
218+
std::string desc; //=
219+
// (variable == "MaxPt1") ? "Leading" : (variable == "MaxPt2") ? "Next-to-Leading" : "Next-to-next-to-Leading";
220+
if (variable == "MaxPt1") {
221+
desc = "Leading";
222+
} else if (variable == "MaxPt2") {
223+
desc = "Next-to-Leading";
224+
} else {
225+
desc = "Next-to-next-to-Leading";
226+
}
222227
std::string title = "pT of " + desc + " " + sourceUpper + " " + objType +
223228
" "
224229
"where event pass the " +

0 commit comments

Comments
 (0)