4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 from RngComps.RngCompsConfig
import AthRNGSvcCfg
8 kwargs.setdefault(
"RndmSvc", result.getPrimaryAndMerge(
AthRNGSvcCfg(flags)))
9 the_alg = CompFactory.TgcDigtJitterTestAlg(name, **kwargs)
10 result.addEventAlgo(the_alg, primary =
True)
12 if __name__ ==
"__main__":
13 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
14 from MuonCondTest.MdtCablingTester
import SetupArgParser
15 from AthenaConfiguration.TestDefaults
import defaultTestFiles
16 from MuonConfig.MuonConfigUtils
import executeTest, SetupMuonStandaloneCA
19 parser.add_argument(
"--jsonFile", default=
"TGC_Digitization_timejitter.json",
20 help=
"If the test is run multiple times to ensure reproducibility, then the dump of the test can be resteered")
21 parser.set_defaults(inputFile=defaultTestFiles.ESD_RUN2_MC)
22 args = parser.parse_args()
25 flags.Concurrency.NumThreads = 1
26 flags.Concurrency.NumConcurrentEvents = 1
27 flags.Output.ESDFileName = args.output
28 flags.Input.Files = args.inputFile
33 cfg.getService(
'MessageSvc').setVerbose = [
"TgcDigitJitterData"]
34 from MuonConfig.MuonCondAlgConfig
import TgcDigitJitterCondAlgCfg