From 6deb0336730aec25a7ab7e39bb7304a9761c8ecf Mon Sep 17 00:00:00 2001 From: "A.R.Sahasransu" Date: Thu, 20 Oct 2022 11:50:37 +0200 Subject: [PATCH] Update HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc Will squash soon. Co-authored-by: Marino Missiroli --- HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc b/HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc index c58f75babc67c..332d377a04e70 100644 --- a/HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc +++ b/HLTrigger/Egamma/plugins/HLTEgammaEtFilter.cc @@ -76,7 +76,7 @@ bool HLTEgammaEtFilter::hltFilter(edm::Event& iEvent, for (auto& recoecalcand : recoecalcands) { ref = recoecalcand; - if ((ref->eta()) < minEtaCut_ || (ref->eta()) > maxEtaCut_) + if ((ref->eta() < minEtaCut_) or (ref->eta() > maxEtaCut_)) continue; if ((fabs(ref->eta()) < 1.479 && ref->et() >= etcutEB_) || (fabs(ref->eta()) >= 1.479 && ref->et() >= etcutEE_)) {