"/MUONALIGN/MDT/BARREL", "/MUONALIGN/MDT/ENDCAP/SIDEA", "/MUONALIGN/MDT/ENDCAP/SIDEC", "/MUONALIGN/TGC/SIDEA", "/MUONALIGN/TGC/SIDEC" ] MuonAlignmentCondAlg.DumpALines = True MuonAlignmentCondAlg.OutputLevel = DEBUG #***************************************************** HERE setup MuonDetectorManager from MuonGeoModel.MuonGeoModelConf import MuonDetectorTool MuonDetectorTool = MuonDetectorTool() MuonDetectorTool.StationSelection = 0 MuonDetectorTool.SelectedStations = ["EIL", "B"] MuonDetectorTool.ControlAlines = GeneralControlAlines MuonDetectorTool.ForceSwitchOnOff_BUILDINERTMATERIALS = 1000 # avoid building the dead matter MuonDetectorTool.ForceSwitchOnOff_MINIMALGEO = 1001 # IMPORTANT: do not account for cutouts (Amdc does not) if useAlign: MuonDetectorTool.UseConditionDb = 1 #default is 1 else: MuonDetectorTool.UseConditionDb = 0 # override default MuonDetectorTool.UseAsciiConditionData = 0 #default is 0 MuonDetectorTool.OutputLevel = DEBUG #MuonDetectorTool.AlternateASZTFile = "TGCALinesT1E3" MuonDetectorTool.AlternateASZTFile = "TGC_COMPsWithTILT" printfunc(MuonDetectorTool) MessageSvc.setDebug += ["MGM::MuonDetectorManager::updateAlignment"]
"/MUONALIGN/MDT/ENDCAP/SIDEC", "/MUONALIGN/TGC/SIDEA", "/MUONALIGN/TGC/SIDEC"] ToolSvc += MuonAlignmentDbTool MGM_AlignmentDbTool = ToolSvc.MGM_AlignmentDbTool MGM_AlignmentDbTool.OutputLevel = DEBUG #***************************************************** HERE setup MuonDetectorManager from MuonGeoModel.MuonGeoModelConf import MuonDetectorTool MuonDetectorTool = MuonDetectorTool() MuonDetectorTool.StationSelection = 0 MuonDetectorTool.SelectedStations = [ "EIL", "B" ] MuonDetectorTool.ControlAlines = GeneralControlAlines MuonDetectorTool.ForceSwitchOnOff_BUILDINERTMATERIALS = 1000; # avoid building the dead matter MuonDetectorTool.ForceSwitchOnOff_MINIMALGEO = 1001; # IMPORTANT: do not account for cutouts (Amdc does not) if useAlign: MuonDetectorTool.UseConditionDb = 1; #default is 1 else: MuonDetectorTool.UseConditionDb = 0; # override default MuonDetectorTool.UseAsciiConditionData = 0; #default is 0 MuonDetectorTool.OutputLevel = DEBUG print MuonDetectorTool MessageSvc.setDebug+=["MGM::MuonDetectorManager::updateAlignment"] #***************************************************** HERE setup Amdc include ("AmdcAth/AmdcAth_jobOptions.py") from AmdcAth.AmdcAthConf import AmdcsimrecAthenaSvc AmdcsimrecAthenaSvc = AmdcsimrecAthenaSvc()