Skip to content

Commit 82cd15c

Browse files
authored
Merge pull request cms-sw#36292 from valsdav/pfid_egamma_v2
Bugfix for Egamma PFID with DNNs
2 parents 055b38c + e2f07b6 commit 82cd15c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RecoParticleFlow/PFProducer/src/PFEGammaFilters.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ bool PFEGammaFilters::passElectronSelection(const reco::GsfElectron& electron,
183183
if (eleEta <= etaThreshold) {
184184
passEleSelection = (dnn_sig > ele_dnnHighPtBarrelThr_) && (dnn_bkg < ele_dnnBkgHighPtBarrelThr_);
185185
} else if (eleEta > etaThreshold) {
186-
passEleSelection = (dnn_sig > ele_dnnHighPtEndcapThr_) && (dnn_sig < ele_dnnBkgHighPtEndcapThr_);
186+
passEleSelection = (dnn_sig > ele_dnnHighPtEndcapThr_) && (dnn_bkg < ele_dnnBkgHighPtEndcapThr_);
187187
}
188188
} else { // pt < ele_iso_pt_
189-
passEleSelection = (dnn_sig > ele_dnnLowPtThr_) && (dnn_sig < ele_dnnBkgLowPtThr_);
189+
passEleSelection = (dnn_sig > ele_dnnLowPtThr_) && (dnn_bkg < ele_dnnBkgLowPtThr_);
190190
}
191191
// TODO: For the moment do not evaluate further conditions on isolation and HCAL cleaning..
192192
// To be understood if they are needed

0 commit comments

Comments
 (0)