4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from MuonConfig.MuonCablingConfig
import MmCablingCfg
9 result.merge(
MmCablingCfg(flags, JSONFile =
"MMGZebraShift.json", OutputLevel = DEBUG ))
10 event_algo = CompFactory.MMCablingTestAlg(name, OutputLevel = DEBUG)
11 result.addEventAlgo(event_algo, primary =
True)
14 if __name__ ==
"__main__":
15 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 from MuonCondTest.MdtCablingTester
import SetupArgParser
17 from AthenaConfiguration.TestDefaults
import defaultTestFiles
18 from MuonConfig.MuonConfigUtils
import executeTest, SetupMuonStandaloneCA, configureCondTag
20 args = parser.parse_args()
23 flags.Concurrency.NumThreads = 1
24 flags.Concurrency.NumConcurrentEvents = 1
25 flags.Exec.MaxEvents = 1
26 flags.Input.Files = defaultTestFiles.ESD_RUN3_DATA22