7 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
8 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
9 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
10 from TriggerJobOpts.TriggerRecoConfig
import Run3TriggerBSUnpackingCfg, TriggerEDMCfg
14 flags.parser().add_argument(
'--moduleID', type=int, default=0, help=
'HLT module ID to decode')
15 args = flags.fillFromArgs()
17 flags.Output.ESDFileName =
'ESD.pool.root' if args.moduleID==0
else f
'ESD.Module{args.moduleID}.pool.root'
23 from TrigEDMConfig.DataScoutingInfo
import (
24 getAllDataScoutingResultIDs, getAllDataScoutingIdentifiers
30 id_to_dstype.update({0:
''})
31 dstype = id_to_dstype[args.moduleID]
32 print(f
'Expecting to deserialise {dstype if dstype else "default HLT result"}')
36 assert acc_bs.getEventAlgo(f
'TrigDeserialiser{dstype}').ModuleID == args.moduleID
42 sys.exit(cfg.run().isFailure())