4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from MuonConfig.MuonCablingConfig
import NRPCCablingConfigCfg
10 event_algo = CompFactory.Muon.RpcCablingTestAlg(name, OutputLevel = DEBUG, **kwargs)
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
23 parser.set_defaults(inputFile= defaultTestFiles.ESD_RUN3_MC)
24 args = parser.parse_args()
27 flags.Muon.enableNRPC =
True
28 flags.Concurrency.NumThreads = 1
29 flags.Exec.MaxEvents = 1
30 flags.Concurrency.NumConcurrentEvents = 1
31 flags.Input.Files = args.inputFile
40 if len(args.cablingMap):
41 cfg.getCondAlgo(
"MuonNRPC_CablingAlg").JSONFile = args.cablingMap
42 cfg.getService(
"MessageSvc").debugLimit = 2147483647
43 cfg.getService(
"MessageSvc").verboseLimit = 2147483647
44 cfg.getService(
"MessageSvc").infoLimit = 2147483647