diff --git a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py index 770684779cfff619eabce34086623e8af2656863..f415d63c80f4f1a2e9d2dcff772d552df1eafcd7 100644 --- a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py +++ b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py @@ -594,7 +594,7 @@ if globalflags.InputFormat.is_bytestream(): pass ### write mu values into xAOD::EventInfo -if rec.doESD() and rec.readRDO(): +if rec.readRDO(): if globalflags.DataSource()=='geant4': include_muwriter = (globalflags.InputFormat.is_bytestream() or hasattr( condSeq, "xAODMaker::EventInfoCnvAlg" ) or @@ -603,12 +603,8 @@ if rec.doESD() and rec.readRDO(): include_muwriter = not athenaCommonFlags.isOnline() if include_muwriter: - try: - include ("LumiBlockComps/LumiBlockMuWriter_jobOptions.py") - except Exception: - treatException("Could not load LumiBlockMuWriter_jobOptions.py") - pass - pass + from LumiBlockComps.LumiBlockMuWriterDefault import LumiBlockMuWriterDefault + LumiBlockMuWriterDefault() if rec.doMonitoring(): try: