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 MuonCondTest.MdtCablingTester
import SetupArgParser
17 from AthenaConfiguration.TestDefaults
import defaultTestFiles, defaultGeometryTags
18 from MuonConfig.MuonConfigUtils
import executeTest, SetupMuonStandaloneCA, configureCondTag
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.Input.Files = defaultTestFiles.RAW_RUN3_DATA24
28 flags.Concurrency.NumThreads = 1
29 flags.Concurrency.NumConcurrentEvents = 1
30 flags.Exec.MaxEvents = 1
31 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3