From 5d8bacc4b08900adfd55d7c271fa3792c4d3bb66 Mon Sep 17 00:00:00 2001 From: Rafal Bielski <rafal.bielski@cern.ch> Date: Tue, 9 Jun 2020 17:52:49 +0200 Subject: [PATCH] Ensure dependency between TrigBSExtraction and RoiWriter --- .../TriggerJobOpts/python/HLTTriggerResultGetter.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py b/Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py index 35af30f752df..fd2bf326217f 100644 --- a/Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py +++ b/Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py @@ -201,6 +201,9 @@ class ByteStreamUnpackGetterRun2(Configured): # BS unpacking from TrigBSExtraction.TrigBSExtractionConf import TrigBSExtraction extr = TrigBSExtraction() + + # Add fictional output to ensure data dependency in AthenaMT + extr.ExtraOutputs += [("TrigBSExtractionOutput", "StoreGateSvc+TrigBSExtractionOutput")] if hasHLT: from TrigNavigation.TrigNavigationConfig import HLTNavigationOffline @@ -440,7 +443,10 @@ class HLTTriggerResultGetter(Configured): if rec.doAOD() or rec.doWriteAOD(): # schedule the RoiDescriptorStore conversion # log.warning( "HLTTriggerResultGetter - setting up RoiWriter" ) - topSequence += RoiWriter() + roiWriter = RoiWriter() + # Add fictional input to ensure data dependency in AthenaMT + roiWriter.ExtraInputs += [("TrigBSExtractionOutput", "StoreGateSvc+TrigBSExtractionOutput")] + topSequence += roiWriter # write out the RoiDescriptorStores from TrigEDMConfig.TriggerEDMRun2 import TriggerRoiList objKeyStore.addManyTypesStreamAOD( TriggerRoiList ) -- GitLab