From 0229e4bd2a3807988851286f9d70f8829834e0aa Mon Sep 17 00:00:00 2001
From: Bill Balunas <bill.balunas@cern.ch>
Date: Thu, 3 Dec 2020 12:27:48 +0100
Subject: [PATCH] Fix bug in neutral PFO thinning

---
 .../ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx
index 42caf7ee5f6d..c5ba04c5a0c7 100644
--- a/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx
+++ b/PhysicsAnalysis/AnalysisCommon/ThinningUtils/src/ThinNegativeEnergyNeutralPFOsAlg.cxx
@@ -102,7 +102,7 @@ StatusCode ThinNegativeEnergyNeutralPFOsAlg::execute()
 
     const EventContext& ctx = Gaudi::Hive::currentContext();
     
-    if(!m_neutralPFOsFEKey.key().empty()){
+    if(!m_neutralPFOsKey.key().empty()){
 
         // Retrieve the container
         SG::ThinningHandle<xAOD::PFOContainer> neutralPFOs (m_neutralPFOsKey, ctx);
-- 
GitLab