diff --git a/DQMOffline/L1Trigger/src/L1TRate_Offline.cc b/DQMOffline/L1Trigger/src/L1TRate_Offline.cc index 5e0bf1a9a0202..ab7b8781483d9 100644 --- a/DQMOffline/L1Trigger/src/L1TRate_Offline.cc +++ b/DQMOffline/L1Trigger/src/L1TRate_Offline.cc @@ -505,14 +505,14 @@ bool L1TRate_Offline::getXSexFitsPython(const edm::ParameterSet& ps) { foundFit = true; break; } + } - if (!foundFit) { - noError = false; + if (!foundFit) { + noError = false; - int eCount = m_ErrorMonitor->getTH1()->GetBinContent(WARNING_PY_MISSING_FIT); - eCount++; - m_ErrorMonitor->getTH1()->SetBinContent(WARNING_PY_MISSING_FIT, eCount); - } + int eCount = m_ErrorMonitor->getTH1()->GetBinContent(WARNING_PY_MISSING_FIT); + eCount++; + m_ErrorMonitor->getTH1()->SetBinContent(WARNING_PY_MISSING_FIT, eCount); } } } diff --git a/DQMOffline/L1Trigger/src/L1TStage2CaloLayer2Offline.cc b/DQMOffline/L1Trigger/src/L1TStage2CaloLayer2Offline.cc index 8256cdeab9130..7ddb3f5de0915 100644 --- a/DQMOffline/L1Trigger/src/L1TStage2CaloLayer2Offline.cc +++ b/DQMOffline/L1Trigger/src/L1TStage2CaloLayer2Offline.cc @@ -422,7 +422,6 @@ void L1TStage2CaloLayer2Offline::fillJets(edm::Event const& e, const unsigned in minDeltaR = currentDeltaR; closestL1Jet = *jet; foundMatch = true; - break; } } // }