diff --git a/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx b/PhysicsAnalysis/ElectronPhotonID/ElectronPhotonSelectorTools/Root/AsgElectronIsEMSelector.cxx index d3bff1a0585faab7cd6aea87246a263c9a6ca230..06b26923f702322035b533a6306cc4a907f74823 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