Commit 5d8bacc4 authored by Rafal Bielski's avatar Rafal Bielski
Browse files

Ensure dependency between TrigBSExtraction and RoiWriter

parent ab82fa17
...@@ -201,6 +201,9 @@ class ByteStreamUnpackGetterRun2(Configured): ...@@ -201,6 +201,9 @@ class ByteStreamUnpackGetterRun2(Configured):
# BS unpacking # BS unpacking
from TrigBSExtraction.TrigBSExtractionConf import TrigBSExtraction from TrigBSExtraction.TrigBSExtractionConf import TrigBSExtraction
extr = TrigBSExtraction() extr = TrigBSExtraction()
# Add fictional output to ensure data dependency in AthenaMT
extr.ExtraOutputs += [("TrigBSExtractionOutput", "StoreGateSvc+TrigBSExtractionOutput")]
if hasHLT: if hasHLT:
from TrigNavigation.TrigNavigationConfig import HLTNavigationOffline from TrigNavigation.TrigNavigationConfig import HLTNavigationOffline
...@@ -440,7 +443,10 @@ class HLTTriggerResultGetter(Configured): ...@@ -440,7 +443,10 @@ class HLTTriggerResultGetter(Configured):
if rec.doAOD() or rec.doWriteAOD(): if rec.doAOD() or rec.doWriteAOD():
# schedule the RoiDescriptorStore conversion # schedule the RoiDescriptorStore conversion
# log.warning( "HLTTriggerResultGetter - setting up RoiWriter" ) # 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 # write out the RoiDescriptorStores
from TrigEDMConfig.TriggerEDMRun2 import TriggerRoiList from TrigEDMConfig.TriggerEDMRun2 import TriggerRoiList
objKeyStore.addManyTypesStreamAOD( TriggerRoiList ) objKeyStore.addManyTypesStreamAOD( TriggerRoiList )
......
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