diff --git a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py index 071ecb68d6d36144fea86ddd11287580d0654ae9..35d98527c10fe6f4d57fec0d9e9ab40391c70dc7 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()