diff --git a/AllenOnline/tests/options/check_duplicates.py b/AllenOnline/tests/options/check_duplicates.py index 5d454b2d4fef27390050a7c92f9067f7b249e6d6..a4390045263e92908fa523f63dc39269e97c1699 100644 --- a/AllenOnline/tests/options/check_duplicates.py +++ b/AllenOnline/tests/options/check_duplicates.py @@ -14,7 +14,7 @@ from Configurables import IODataManager from Configurables import createODIN, HltDecReportsDecoder from Configurables import LHCb__UnpackRawEvent as UnpackRawEvent from DDDB.CheckDD4Hep import UseDD4Hep -from GaudiConf import IOHelper +from Gaudi.Configuration import EventSelector from AllenCore.configuration_options import is_allen_standalone is_allen_standalone.global_bind(standalone=True) @@ -67,7 +67,9 @@ check_seq.Members = [unpack_raw, createODIN(), dec_reports] ApplicationMgr().TopAlg = [check_seq] -IOHelper('MDF').inputFiles(args.mdf, clear=True) +EventSelector(Input=[ + f"DATAFILE='{mdf}' SVC='LHCb::MDFSelector' OPT='READ'" for mdf in args.mdf +]) # Some extra stuff for timing table ApplicationMgr().ExtSvc += ['ToolSvc', 'AuditorSvc'] diff --git a/AllenOnline/tests/options/test_allen_lumisummaries.py b/AllenOnline/tests/options/test_allen_lumisummaries.py index 62461e31b2c8decbaf7330aa46639e72a625f5c9..396bfa97f72669f691c81e3939ade4d63aecc52d 100755 --- a/AllenOnline/tests/options/test_allen_lumisummaries.py +++ b/AllenOnline/tests/options/test_allen_lumisummaries.py @@ -10,7 +10,6 @@ ############################################################################### """Check decoding and encoding of HltLumiSummary """ -from GaudiConf import IOHelper from Gaudi.Configuration import VERBOSE import GaudiPython as GP from PyConf.Algorithms import HltLumiWriter, HltLumiSummaryDecoder, HltRoutingBitsFilter, VoidFilter, HltDecReportsDecoder, HltLumiSummaryDecoder, HltLumiSummaryMonitor, PrintHeader, LHCb__SelectViewForHltSourceID diff --git a/MooreScripts/tests/options/HLT1Slim/check_run_change.py b/MooreScripts/tests/options/HLT1Slim/check_run_change.py index 60021818c2988d90e9375148cc4ccda668477864..b0513d393cf63c8eee11e889821842ab73389cc4 100644 --- a/MooreScripts/tests/options/HLT1Slim/check_run_change.py +++ b/MooreScripts/tests/options/HLT1Slim/check_run_change.py @@ -16,7 +16,7 @@ from Configurables import IODataManager from Configurables import createODIN, HltDecReportsDecoder from Configurables import LHCb__UnpackRawEvent as UnpackRawEvent from DDDB.CheckDD4Hep import UseDD4Hep -from GaudiConf import IOHelper +from Gaudi.Configuration import EventSelector from GaudiPython.Bindings import AppMgr, gbl from PyConf.application import configured_ann_svc from Allen.tck import property_from_git @@ -63,7 +63,9 @@ check_seq.Members = [unpack_raw, createODIN(), dec_reports] ApplicationMgr().TopAlg = [check_seq] -IOHelper('MDF').inputFiles(mdfs, clear=True) +EventSelector(Input=[ + f"DATAFILE='{mdf}' SVC='LHCb::MDFSelector' OPT='READ'" for mdf in mdfs +]) # Use the metainfo repository created by the create_hlt1_tck test metainfo_repos.global_bind(repos=[('lhcb-metainfo/.git', 'master')])