Skip to content

Commit

Permalink
returning to int for moduleLabels/ii
Browse files Browse the repository at this point in the history
  • Loading branch information
vukasinmilosevic committed Apr 20, 2023
1 parent b7c66f1 commit af93e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DQMOffline/L1Trigger/src/L1TTauOffline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ bool L1TTauOffline::matchHlt(edm::Handle<trigger::TriggerEvent> const& triggerEv
for (auto& trigIndex : m_trigIndices) {
const vector<string> moduleLabels(m_hltConfig.moduleLabels(trigIndex));
// V.M. 2023.03.08 Same issue as in the L1TMuonDQMOffline.cc - some modules are behind hltBoolEnd, but we want the last one before the "hltBoolEnd"
unsigned int moduleIndex = 999999;
for (size_type ii = moduleLabels.size() - 1; ii > 0; ii--) {
int moduleIndex = 999999;
for (int ii = moduleLabels.size() - 1; ii > 0; ii--) {
if (moduleLabels[ii] == "hltBoolEnd") {
moduleIndex = ii - 1;
break;
Expand Down

0 comments on commit af93e92

Please sign in to comment.