diff --git a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyCaloClustersAlg.cxx b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyCaloClustersAlg.cxx index 5ad00f5b072048c6020fa23289fdae1598e91453..db10655b48239825e88ffc96e82aedafa45b1473 100644 --- a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyCaloClustersAlg.cxx +++ b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyCaloClustersAlg.cxx @@ -100,7 +100,7 @@ StatusCode ThinNegativeEnergyCaloClustersAlg::execute() // Increase the event counter ++m_nEventsProcessed; - // Is truth thinning required? + // Is thinning required? if (!m_doThinning) { return StatusCode::SUCCESS; } @@ -110,8 +110,8 @@ StatusCode ThinNegativeEnergyCaloClustersAlg::execute() if (evtStore()->contains<xAOD::CaloClusterContainer>(m_caloClustersKey)) { CHECK( evtStore()->retrieve( caloClusters , m_caloClustersKey ) ); } else { - ATH_MSG_FATAL("No CaloClusterContainer with key "+m_caloClustersKey+" found."); - return StatusCode::FAILURE; + ATH_MSG_INFO("No CaloClusterContainer with key "+m_caloClustersKey+" found. Thinning cannot be applied for this container"); + return StatusCode::SUCCESS; } // Set up masks diff --git a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx index c09f4f53973165db18b9f252f70d43294c975af4..a80e1fc2c2c708ecc7cce94bef97711fdc583f08 100644 --- a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx +++ b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx @@ -111,8 +111,8 @@ StatusCode ThinNegativeEnergyNeutralPFOsAlg::execute() if (evtStore()->contains<xAOD::PFOContainer>(m_neutralPFOsKey)) { CHECK( evtStore()->retrieve( neutralPFOs , m_neutralPFOsKey ) ); } else { - ATH_MSG_FATAL("No PFOContainer with key "+m_neutralPFOsKey+" found."); - return StatusCode::FAILURE; + ATH_MSG_INFO("No PFOContainer with key "+m_neutralPFOsKey+" found. Thinning cannot be applied to this container"); + return StatusCode::SUCCESS; } // Set up masks