Exemplo n.º 1
0
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"]
MessageSvc.setDebug += ["MuGM:MuonStation"]
MessageSvc.defaultLimit = 9999999

#***************************************************** HERE setup Amdc
include("AmdcAth/AmdcAth_jobOptions.py")
from AmdcAth.AmdcAthConf import AmdcsimrecAthenaSvc
AmdcsimrecAthenaSvc = AmdcsimrecAthenaSvc()

AmdcsimrecAthenaSvc.ControlALine = GeneralControlAlines
AmdcsimrecAthenaSvc.NameOfTheSource = "ASCII"
AmdcsimrecAthenaSvc.AlignmentSource = 3  # 2=COOL, 3=external(Oracle only)
#AmdcsimrecAthenaSvc.NameOfTheAmdbFile='amdb_simrec.r.04.06_TGCALinesT1E3'
Exemplo n.º 2
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
    # override default
MuonDetectorTool.UseAsciiConditionData = 0
#default is 0
MuonDetectorTool.EnableMdtDeformations = useBLines
#MuonDetectorTool.AlternateASZTFile='TGCALinesT1E3station' #if enabled the Alines in Oracle (if any) will not be used
MuonDetectorTool.AlternateASZTFile = 'TGCALinesVP1'  #if enabled the Alines in Oracle (if any) will not be used
# cutouts
#MuonDetectorTool.IncludeCutouts = 1;
#MuonDetectorTool.IncludeCutoutsBog = 1;
#MuonDetectorTool.IncludeCtbBis = 1;
#MuonDetectorTool.EnableFineClashFixing = 0
# inert materials
MuonDetectorTool.ForceSwitchOnOff_BUILDINERTMATERIALS = 1000
# avoid building the dead matter
#MuonDetectorTool.ForceSwitchOnOff_BUILDINERTMATERIALS = 1001;# avoid building the dead matter
#MuonDetectorTool.ForceSwitchOnOff_MINIMALGEO          = 1000;
MuonDetectorTool.ForceSwitchOnOff_BUILDENDCAP = 1000
MuonDetectorTool.ForceSwitchOnOff_BUILDCALOSADDLE = 1000
MuonDetectorTool.ForceSwitchOnOff_BUILDBARRELTOROID = 1000
MuonDetectorTool.ForceSwitchOnOff_BUILDENDCAPTOROID = 1000
MuonDetectorTool.ForceSwitchOnOff_BUILDFEET = 1000