From 541570d8112b16a2334e9d558e2d29436a959f55 Mon Sep 17 00:00:00 2001
From: Tadej Novak <tadej.novak@cern.ch>
Date: Mon, 3 Aug 2020 12:31:57 +0200
Subject: [PATCH] Fix incomplete cutflow metadata propagation

---
 Event/EventBookkeeperTools/src/BookkeeperTool.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Event/EventBookkeeperTools/src/BookkeeperTool.cxx b/Event/EventBookkeeperTools/src/BookkeeperTool.cxx
index 6023023eb8cf..ac8ce9e8f80c 100644
--- a/Event/EventBookkeeperTools/src/BookkeeperTool.cxx
+++ b/Event/EventBookkeeperTools/src/BookkeeperTool.cxx
@@ -388,9 +388,9 @@ StatusCode BookkeeperTool::copyContainerToOutput(const std::string& outname)
 
   // Get the tmp bookkeeper from the input
   const xAOD::CutBookkeeperContainer* tmpBook(NULL);
-  if ( outputMetaStore()->contains<xAOD::CutBookkeeperContainer>(outname+"tmp") ) {
+  if ( outputMetaStore()->contains<xAOD::CutBookkeeperContainer>(m_outputCollName+"tmp") ) {
     ATH_MSG_DEBUG("Copying data to the output container " << outname);
-    if( !(outputMetaStore()->retrieve( tmpBook, outname+"tmp") ).isSuccess() ) {
+    if( !(outputMetaStore()->retrieve( tmpBook, m_outputCollName+"tmp") ).isSuccess() ) {
       ATH_MSG_WARNING( "Could not get tmp CutBookkeepers from output MetaDataStore" );
     }
     else {
-- 
GitLab