Commit 13f68f0b authored by Rafal Bielski's avatar Rafal Bielski Committed by Edward Moyse
Browse files

Leave default EDMDecodingVersion in online reco mode (no input file)

parent 94c5da91
......@@ -23,6 +23,10 @@ def EDMDecodingVersion():
# Check HLT ROD version in first event of first input file
from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
inputFileName = athenaCommonFlags.FilesInput()[0]
if not inputFileName and athenaCommonFlags.isOnline():
log.info("Online reconstruction mode, no input file available. Leaving default TriggerFlags.EDMDecodingVersion=%d", TriggerFlags.EDMDecodingVersion())
return
import eformat
from libpyeformat_helper import SubDetector
bs = eformat.istream(inputFileName)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment