2 from AthenaConfiguration.ComponentFactory 
import CompFactory
 
    3 from AthenaConfiguration.ComponentAccumulator 
import ComponentAccumulator
 
    5 from AthenaCommon.Logging 
import logging
 
    6 _log = logging.getLogger(__name__)
 
   12     alg = CompFactory.L0Muon.MDTSimulation(name = name, **kwargs)
 
   14     from AthenaMonitoringKernel.GenericMonitoringTool 
import GenericMonitoringTool
 
   16     monTool.HistPath = 
'L0MuonMDTSim' 
   17     monTool.defineHistogram(
'track_input_eta', path=
'EXPERT', type=
'TH1F', title=
';#eta_{#mu}^{truth};Muons', xbins=50, xmin=-3, xmax=3)
 
   20     from MuonConfig.MuonConfigUtils 
import setupHistSvcCfg
 
   21     result.merge(
setupHistSvcCfg(flags, outFile = f
"{name}.root", outStream=
"EXPERT"))
 
   22     result.addEventAlgo(alg)
 
   26 if __name__ == 
"__main__":
 
   27     from MuonGeoModelTestR4.testGeoModel 
import setupGeoR4TestCfg, SetupArgParser
 
   28     from MuonConfig.MuonConfigUtils 
import executeTest
 
   30     parser.set_defaults(inputFile= [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/MuonGeomRTT/myRDO.R3.pool.root"])
 
   31     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 MdtRdoToMdtDigitCfg
 
   44                              name = 
"L0MuonMDTSim",