Exemplo n.º 1
0
#(0=NIL 1=VERBOSE, 2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc.OutputLevel = INFO

#***************************************************** HERE override MuonSpectrometer tag
from AtlasGeoModel import SetGeometryVersion
from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
GeoModelSvc = GeoModelSvc()
#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)

######################################################
Exemplo n.º 2
0
        "/MUONALIGN/TGC/SIDEC"
    ]
    ToolSvc += MuonAlignmentDbTool
    MGM_AlignmentDbTool = ToolSvc.MGM_AlignmentDbTool
    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
Exemplo n.º 3
0
    condSequence = AthSequencer("AthCondSeq")
    from MuonCondAlg.MuonCondAlgConf import MuonAlignmentCondAlg
    condSequence += MuonAlignmentCondAlg('MuonAlignmentCondAlg')
    MuonAlignmentCondAlg.ParlineFolders = [
        "/MUONALIGN/MDT/BARREL", "/MUONALIGN/MDT/ENDCAP/SIDEA",
        "/MUONALIGN/MDT/ENDCAP/SIDEC", "/MUONALIGN/TGC/SIDEA",
        "/MUONALIGN/TGC/SIDEC"
    ]
    MuonAlignmentCondAlg.DumpALines = False
    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.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
    ]
    ToolSvc += MuonAlignmentDbTool
    MGM_AlignmentDbTool = ToolSvc.MGM_AlignmentDbTool
    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 = ["BMS"
                                     ]  # irrelevant if stationselection is 0
#MuonDetectorTool.SelectedStations  = [ "BOS","BOL", "BOF", "BOG" ] # irrelevant if stationselection is 0
MuonDetectorTool.SelectedStJzz = [4]
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
Exemplo n.º 5
0
        "/MUONALIGN/TGC/SIDEC"
    ]
    ToolSvc += MuonAlignmentDbTool
    MGM_AlignmentDbTool = ToolSvc.MGM_AlignmentDbTool
    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 = 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
#MuonDetectorTool.SelectedStations  = [ "BIS" ] # irrelevant if stationselection is 0
MuonDetectorTool.SelectedStations = ["T1E", "T4E"
                                     ]  # irrelevant if stationselection is 0
MuonDetectorTool.SelectedStJzz = [1, 2]
MuonDetectorTool.SelectedStJff = [3]
# alignment control
MuonDetectorTool.ControlAlines = GeneralControlAlines  # default is 111111
MuonDetectorTool.DumpAlines = True
if useAlign:
    MuonDetectorTool.UseConditionDb = 1
    #default is 1
else:
    MuonDetectorTool.UseConditionDb = 0
Exemplo n.º 6
0
#(0=NIL 1=VERBOSE, 2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc.OutputLevel = INFO

#***************************************************** HERE override MuonSpectrometer tag
from AtlasGeoModel import SetGeometryVersion
from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
GeoModelSvc = GeoModelSvc()
#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 = ["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