From c9a2cb3fc7b7224f8a62bbc60e20cbb995d6c2a7 Mon Sep 17 00:00:00 2001 From: Jovan Mitrevski <Jovan.Mitrevski@cern.ch> Date: Tue, 5 Dec 2017 11:46:42 +0100 Subject: [PATCH] Fix bug in AsgElectronIsEMSelector.cxx returning a StatusCode instead of int. --- .../Root/AsgElectronIsEMSelector.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx b/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx index d3bff1a0585..06b26923f70 100644 --- a/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx +++ b/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx @@ -517,7 +517,7 @@ unsigned int AsgElectronIsEMSelector::TrackCut(const xAOD::Electron* eg, ATH_MSG_ERROR("Something is bad with the variables as passed"); // if object is bad then use the bit for "bad eta" iflag = (0x1 << egammaPID::ClusterEtaRange_Electron); - return StatusCode::SUCCESS; + return iflag; } // Track quality cuts -- GitLab