diff --git a/Reconstruction/egamma/egammaPerformance/src/electronMonTool.cxx b/Reconstruction/egamma/egammaPerformance/src/electronMonTool.cxx index fead1920a62f20a22ba250845a35dc29d98da2d1..c2c115b4384f3ca31d3a55f2a38a7dda515d0ccf 100755 --- a/Reconstruction/egamma/egammaPerformance/src/electronMonTool.cxx +++ b/Reconstruction/egamma/egammaPerformance/src/electronMonTool.cxx @@ -374,7 +374,7 @@ StatusCode electronMonTool::fillHistogramsForOneElectron(xAOD::ElectronContainer ATH_MSG_DEBUG("electrons et, eta and phi" << et << " " << eta << " " << phi); - if (et>2500) return StatusCode::SUCCESS; + if (et<2500) return StatusCode::SUCCESS; ++myHist.m_nElectronsPerRegion[ir]; ++myHist.m_nElectrons; diff --git a/Reconstruction/egamma/egammaPerformance/src/forwardElectronMonTool.cxx b/Reconstruction/egamma/egammaPerformance/src/forwardElectronMonTool.cxx index 52808eb056807be27697f83cead7cdd455858d6e..e7085dc75d63b512c4a00cc41d3af4c265c226a7 100644 --- a/Reconstruction/egamma/egammaPerformance/src/forwardElectronMonTool.cxx +++ b/Reconstruction/egamma/egammaPerformance/src/forwardElectronMonTool.cxx @@ -252,7 +252,7 @@ StatusCode forwardElectronMonTool::fillHistograms() int ir = GetForwardRegion(eta); //ATH_MSG_DEBUG("electrons et, eta and phi" << et << " " << eta << " " << phi); - if (et>5000) return StatusCode::SUCCESS; + if (et<5000) return StatusCode::SUCCESS; // Isolation Energy //float topoetcone40 = -999.; diff --git a/Reconstruction/egamma/egammaPerformance/src/photonMonTool.cxx b/Reconstruction/egamma/egammaPerformance/src/photonMonTool.cxx index 99eb4d46f8d6a2dc660e5f25f63288efd19e134f..7e5e8fede5be52f7aaa487c7ef15774052de33e4 100755 --- a/Reconstruction/egamma/egammaPerformance/src/photonMonTool.cxx +++ b/Reconstruction/egamma/egammaPerformance/src/photonMonTool.cxx @@ -425,7 +425,7 @@ StatusCode photonMonTool::fillHistogramsForOnePhoton(xAOD::PhotonContainer::cons //ATH_MSG_DEBUG("photon et, eta and phi " << et << " " << eta << " " << phi << " region " << ir << " defined " << myHist.m_hvEt.size()); - if (et>2500) return StatusCode::SUCCESS; + if (et<2500) return StatusCode::SUCCESS; ++myHist.m_nPhotonsPerRegion[ir]; ++myHist.m_nPhotons;