3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.Enums
import Format
8 """Configure RoiWriter to convert AOD RoI descriptors to xAOD"""
10 from TrigEDMConfig.TriggerEDMRun2
import TriggerRoiList
11 from OutputStreamAthenaPool.OutputStreamConfig
import addToAOD
15 roiWriter = CompFactory.RoiWriter()
16 if flags.Input.Format
is Format.BS:
18 roiWriter.ExtraInputs = {(
"TrigBSExtractionOutput",
"StoreGateSvc+TrigBSExtractionOutput")}
20 acc.addEventAlgo( roiWriter )
21 acc.merge(
addToAOD(flags, TriggerRoiList) )