2 from AthenaConfiguration.ComponentFactory
import CompFactory
3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
10 alg = CompFactory.L0Muon.TGCSimulation(name = name, **kwargs)
12 from AthenaMonitoringKernel.GenericMonitoringTool
import GenericMonitoringTool
14 monTool.defineHistogram(
'nTgcDigits', path=
'EXPERT', type=
'TH1F', title=
';n_{Digit}^{TGC};Events', xbins=50, xmin=0, xmax=100)
18 histSvc = CompFactory.THistSvc(Output=[
"EXPERT DATAFILE='" + name +
".root' OPT='RECREATE'"])
20 result.addEventAlgo(alg)
21 result.addService(histSvc)
25 if __name__ ==
"__main__":
27 from MuonGeoModelTestR4.testGeoModel
import setupGeoR4TestCfg, SetupArgParser, executeTest
29 parser.set_defaults(inputFile= [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonGeomRTT/myRDO.R3.pool.root"])
30 parser.set_defaults(nEvents = 20)
32 args = parser.parse_args()
33 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
35 flags.Common.MsgSuppression =
False
40 from MuonConfig.MuonByteStreamCnvTestConfig
import TgcRdoToTgcDigitCfg