4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from MuonConfig.MuonCondAlgConfig
import NswDcsDbAlgCfg
9 the_alg = CompFactory.NswDcsTestAlg(alg_name, **kwargs)
10 result.addEventAlgo(the_alg, primary=
True)
14 if __name__ ==
"__main__":
15 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 from .MdtCablingTester
import SetupArgParser, setupServicesCfg
19 parser.set_defaults(inputFile=[
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CampaignInputs/data23/ESD/data23_cos.00448208.express_express.recon.ESD.x721/73events.data23_cos.00448208.express_express.recon.ESD.x721._lb0003._SFO-ALL._0001.1"])
21 parser.add_argument(
"--LogName", default=
"LogFile",
22 help=
"If the test is run multiple times to ensure reproducibility, then the dump of the test can be resteered")
23 args = parser.parse_args()
26 flags.Concurrency.NumThreads = args.threads
27 flags.Concurrency.NumConcurrentEvents = args.threads
28 flags.Output.ESDFileName = args.output
29 flags.Input.Files = args.inputFile
34 cfg.printConfig(withDetails=
True, summariseProps=
True)
39 if not sc.isSuccess():
41 sys.exit(
"Execution failed")