From ac60dff4641f6ff8efc5e6d7dfed63ec4e1c0900 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Fri, 22 May 2020 05:51:53 +0200 Subject: [PATCH] RecExCommon: Schedule LumiBlockMuWriter in more cases. Run LumiBlockMuWriter on BS files or if the input file already has xAOD::EventInfo. Needed to fix some trigger ART tests. --- .../RecExample/RecExCommon/share/RecExCommon_topOptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py index 071ecb68d6d..35d98527c10 100644 --- a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py +++ b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py @@ -597,7 +597,9 @@ if globalflags.InputFormat.is_bytestream(): ### write mu values into xAOD::EventInfo if rec.doESD() and rec.readRDO(): if globalflags.DataSource()=='geant4': - include_muwriter = hasattr( condSeq, "xAODMaker::EventInfoCnvAlg" ) + include_muwriter = (globalflags.InputFormat.is_bytestream() or + hasattr( condSeq, "xAODMaker::EventInfoCnvAlg" ) or + objKeyStore.isInInput( "xAOD::EventInfo")) else: include_muwriter = not athenaCommonFlags.isOnline() -- GitLab