Skip to content
Snippets Groups Projects
Commit ac60dff4 authored by scott snyder's avatar scott snyder
Browse files

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.
parent f969f47d
No related branches found
No related tags found
No related merge requests found
...@@ -597,7 +597,9 @@ if globalflags.InputFormat.is_bytestream(): ...@@ -597,7 +597,9 @@ if globalflags.InputFormat.is_bytestream():
### write mu values into xAOD::EventInfo ### write mu values into xAOD::EventInfo
if rec.doESD() and rec.readRDO(): if rec.doESD() and rec.readRDO():
if globalflags.DataSource()=='geant4': 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: else:
include_muwriter = not athenaCommonFlags.isOnline() include_muwriter = not athenaCommonFlags.isOnline()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment