#GeoModelSvc.MuonVersionOverride = "MuonSpectrometer-R.01.01.Initial.Light" printfunc(GeoModelSvc) #***************************************************** HERE setup MuonDetectorManager from MuonGeoModel.MuonGeoModelConf import MuonDetectorTool MuonDetectorTool = MuonDetectorTool() MuonDetectorTool.StationSelection = 0 MuonDetectorTool.SelectedStations = ["EIL", "B"] MuonDetectorTool.ControlAlines = GeneralControlAlines printfunc(MuonDetectorTool) #***************************************************** HERE setup MuonGMCheck from MuonGeoModelTest.MuonGeoModelTestConf import MuonGMCheck MuonGMCheck = MuonGMCheck() MuonGMCheck.buildMdtRegionSelectorMap = 1 MuonGMCheck.buildRpcRegionSelectorMap = 1 MuonGMCheck.buildTgcRegionSelectorMap = 1 MuonGMCheck.buildCscRegionSelectorMap = 1 printfunc(MuonGMCheck) ###################################################### ############### HERE DEFINE THE SEQUENCE ############# ###################################################### from AthenaCommon.AlgSequence import AlgSequence topSequence = AlgSequence() topSequence += MuonGMCheck
else: #theApp.EvtSel = "NONE" theApp.EvtMax = 1 # Set output level threshold #(0=NIL 1=VERBOSE, 2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL ) MessageSvc.OutputLevel = DEBUG MessageSvc.Format = "% F%50W%S%7W%R%T %0W%M" MessageSvc.defaultLimit = 99999999 print GeoModelSvc ###print MuonDetectorTool #***************************************************** HERE setup MuonGMCheck from MuonGeoModelTest.MuonGeoModelTestConf import MuonGMCheck MuonGMCheck = MuonGMCheck() MuonGMCheck.EventLoopMode = GMCheckLoop MuonGMCheck.check_mm = 0 MuonGMCheck.check_stgc = 0 MuonGMCheck.check_mdt = 1 MuonGMCheck.check_rpc = 1 MuonGMCheck.check_tgc = 1 MuonGMCheck.check_csc = 1 # as an example #MuonGMCheck.check_surfaces = 1 MuonGMCheck.OutputLevel = DEBUG print MuonGMCheck ###################################################### ############### HERE DEFINE THE SEQUENCE ############# ######################################################
#MuonDetectorTool.ForceSwitchOnOff_BUILDFORWARDSHIELD = 1000; MuonDetectorTool.OutputLevel = DEBUG MessageSvc.setDebug += ["MuonGM::MuonChamber"] MessageSvc.setDebug += ["MuonGM::MdtReadoutElement"] MessageSvc.setDebug += ["MuonGM::CscReadoutElement"] MessageSvc.setDebug += ["MuonGM::TgcReadoutElement"] MessageSvc.setDebug += ["MuonGM::RpcReadoutElement"] MessageSvc.setDebug += ["MGM::MuonDetectorManager::updateAlignment"] print MuonDetectorTool #***************************************************** HERE setup MuonGMCheck from MuonGeoModelTest.MuonGeoModelTestConf import MuonGMCheck MuonGMCheck = MuonGMCheck() MuonGMCheck.EventLoopMode = GMCheckLoop MuonGMCheck.check_mdt = 1 MuonGMCheck.check_rpc = 1 MuonGMCheck.check_tgc = 1 MuonGMCheck.check_csc = 1 MuonGMCheck.minimalChecks = 1 MuonGMCheck.testMdtCache = 0 MuonGMCheck.testRpcCache = 0 MuonGMCheck.testTgcCache = 0 MuonGMCheck.testCscCache = 0 MuonGMCheck.testMdtDetectorElementHash = 0 MuonGMCheck.testRpcDetectorElementHash = 0 MuonGMCheck.testTgcDetectorElementHash = 0 MuonGMCheck.testCscDetectorElementHash = 0
MuonDetectorTool = MuonDetectorTool() MuonDetectorTool.StationSelection = 0 MuonDetectorTool.SelectedStations = ["BOG"] MuonDetectorTool.SelectedStJzz = [3] MuonDetectorTool.SelectedStJff = [6] MuonDetectorTool.ControlAlines = GeneralControlAlines MuonDetectorTool.ForceSwitchOnOff_BUILDINERTMATERIALS = 1000 # avoid building the dead matter MuonDetectorTool.FillCacheInitTime = 1 MuonDetectorTool.DumpMemoryBreakDown = True printfunc(MuonDetectorTool) #***************************************************** HERE setup MuonGMCheck from MuonGeoModelTest.MuonGeoModelTestConf import MuonGMCheck MuonGMCheck = MuonGMCheck() MuonGMCheck.EventLoopMode = GMCheckLoop MuonGMCheck.check_mdt = 1 MuonGMCheck.check_rpc = 1 MuonGMCheck.check_tgc = 1 MuonGMCheck.check_csc = 1 #MuonGMCheck.check_surfaces = 1 printfunc(MuonGMCheck) ###################################################### ############### HERE DEFINE THE SEQUENCE ############# ###################################################### topSequence += MuonGMCheck