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.MinimalGeoFlag = 1 # IMPORTANT: do not account for cutouts in tube position and length (Amdc does not) if sect5: MuonDetectorTool.StationSelection = 1 # default is 0 MuonDetectorTool.SelectedStations = [ "BOL", "EML" ] # irrelevant if stationselection is 0 #MuonDetectorTool.SelectedStations = [ "BOL" ] # irrelevant if stationselection is 0 #MuonDetectorTool.SelectedStations = [ "EML" ] # irrelevant if stationselection is 0 MuonDetectorTool.SelectedStJzz = [1, -1] ######2, 3, 4, 5, 6, 7, 8] MuonDetectorTool.SelectedStJff = [3] MuonDetectorTool.DumpAlines = False if useAlign: MuonDetectorTool.UseConditionDb = 1 #default is 1 else: MuonDetectorTool.UseConditionDb = 0 # override default MuonDetectorTool.EnableMdtDeformations = useBLines MuonDetectorTool.UseAsciiConditionData = 0 #default is 0 #MuonDetectorTool.AlternateASZTFile='asztfile.txt' #if enabled the Alines in Oracle (if any) will not be used # cutouts MuonDetectorTool.IncludeCutouts = 1
MGM_AlignmentDbTool.OutputLevel = DEBUG #***************************************************** HERE setup MuonDetectorManager from MuonGeoModel.MuonGeoModelConf import MuonDetectorTool MuonDetectorTool = MuonDetectorTool() # memory management MuonDetectorTool.FillCacheInitTime = 0 # default is 0 #MuonDetectorTool.DumpMemoryBreakDown = True # default is false # selection of active stations MuonDetectorTool.StationSelection = 0 # default is 0 #MuonDetectorTool.SelectedStations = [ "X" ] # irrelevant if stationselection is 0 - this will switch off all stations MuonDetectorTool.SelectedStations = ["EIL", "T", "CSS", "BMS" ] # irrelevant if stationselection is 0 MuonDetectorTool.SelectedStations = ["BOL" ] # irrelevant if stationselection is 0 MuonDetectorTool.SelectedStJzz = [1, -1] MuonDetectorTool.SelectedStJff = [3] # alignment control MuonDetectorTool.ControlAlines = GeneralControlAlines # default is 111111 MuonDetectorTool.DumpAlines = False if useAlign: MuonDetectorTool.UseConditionDb = 1 #default is 1 else: MuonDetectorTool.UseConditionDb = 0 # override default MuonDetectorTool.UseAsciiConditionData = 0 #default is 0 #MuonDetectorTool.AlternateASZTFile='asztfile.txt' #if enabled the Alines in Oracle (if any) will not be used # cutouts MuonDetectorTool.IncludeCutouts = 1
MuonDetectorTool = MuonDetectorTool() # memory management MuonDetectorTool.FillCacheInitTime = 0 # default is 0 #MuonDetectorTool.DumpMemoryBreakDown = True # default is false # selection of active stations MuonDetectorTool.StationSelection = 1 # default is 0 #MuonDetectorTool.SelectedStations = [ "X" ] # irrelevant if stationselection is 0 - this will switch off all stations #MuonDetectorTool.SelectedStations = [ "EIL", "T", "CSS", "BMS" ] # irrelevant if stationselection is 0 if sect5: MuonDetectorTool.StationSelection = 1 # default is 0 MuonDetectorTool.SelectedStations = [ "BOL", "EML" ] # irrelevant if stationselection is 0 #MuonDetectorTool.SelectedStations = [ "BOL" ] # irrelevant if stationselection is 0 #MuonDetectorTool.SelectedStations = [ "EML" ] # irrelevant if stationselection is 0 MuonDetectorTool.SelectedStJzz = [-1, 1] MuonDetectorTool.SelectedStJff = [3] #MuonDetectorTool.SelectedStJzz = [-1, 1] #MuonDetectorTool.SelectedStJff = [6] #MuonDetectorTool.SelectedStations = [ "BIR" ] # irrelevant if stationselection is 0 #MuonDetectorTool.SelectedStJzz = [4] #MuonDetectorTool.SelectedStJff = [6] # alignment control MuonDetectorTool.ControlAlines = GeneralControlAlines # default is 111111 MuonDetectorTool.DumpAlines = False if useAlign: MuonDetectorTool.UseConditionDb = 1 #default is 1 else: MuonDetectorTool.UseConditionDb = 0