Ejemplo n.º 1
0
#--------------------------------------------------------------
from AthenaCommon.AppMgr import ToolSvc 
from TrigFTKSim.TrigFTKSimConf import FTKDetectorTool, FTKDumpCondAlgo

print "Add FTKDetector tool"
FTKDet = FTKDetectorTool()
FTKDet.FTK_BadModuleMapPath = "badModulemap_12LiblHW3D_FTK.bmap"
FTKDet.ATLAS_BadModuleMapPath = "badModulemap_12LinlHW3D_ATLAS.bmap"
FTKDet.dumpAllModules = True

from PyJobTransforms.trfUtils import findFile

pmap_path = findFile(os.environ['DATAPATH'], 'ftk_configuration/map_files/raw_12LiblHW.pmap')
FTKDet.pmap_path = pmap_path
rmap_path = findFile(os.environ['DATAPATH'], 'ftk_configuration/map_files/raw_12Libl64TmodB.tmap')
FTKDet.rmap_path = rmap_path
ToolSvc += FTKDet

FTKDumpCond = FTKDumpCondAlgo( "FTKDumpCondAlgo" , OutputLevel=INFO)
FTKDumpCond.IBLMode = 1
FTKDumpCond.DumpBadModules = True
FTKDumpCond.DumpGlobalToLocalMap = True
FTKDumpCond.DumpModulePositions = True
theJob += FTKDumpCond  

print theJob




Ejemplo n.º 2
0
#-----------------------------------------------------------------------------
# Athena imports
#-----------------------------------------------------------------------------
from AthenaCommon.AlgSequence import AlgSequence
theJob = AlgSequence()

#--------------------------------------------------------------
# FTK algorithm inclusions
#--------------------------------------------------------------
from AthenaCommon.AppMgr import ToolSvc
from TrigFTKSim.TrigFTKSimConf import FTKDetectorTool, FTKDumpCondAlgo

print "Add FTKDetector tool"
FTKDet = FTKDetectorTool()
FTKDet.pmap_path = "../Trigger/TrigFTK/TrigFTKSim//config/map_file/raw_ITkExample.pmap"
FTKDet.rmap_path = "../Trigger/TrigFTK/TrigFTKSim//config/map_file/raw_ITkExample.tmap"
ToolSvc += FTKDet

FTKDumpCond = FTKDumpCondAlgo("FTKDumpCondAlgo", OutputLevel=INFO)
FTKDumpCond.IBLMode = 0
FTKDumpCond.ITkMode = True
FTKDumpCond.DumpIDMap = True
theJob += FTKDumpCond

print theJob
Ejemplo n.º 3
0
#-----------------------------------------------------------------------------
# Athena imports
#-----------------------------------------------------------------------------
from AthenaCommon.AlgSequence import AlgSequence
theJob = AlgSequence()

#--------------------------------------------------------------
# FTK algorithm inclusions
#--------------------------------------------------------------
from AthenaCommon.AppMgr import ToolSvc
from TrigFTKSim.TrigFTKSimConf import FTKDetectorTool, FTKDumpCondAlgo

print "Add FTKDetector tool"
FTKDet = FTKDetectorTool()
FTKDet.FTK_BadModuleMapPath = "badModulemap_12LIbl_FTK.bmap"
FTKDet.ATLAS_BadModuleMapPath = "badModulemap_12LIbl_ATLAS.bmap"
FTKDet.pmap_path = "../Trigger/TrigFTK/TrigFTKSim/config/map_file/raw_12LiblHW3D.pmap"
FTKDet.rmap_path = "../Trigger/TrigFTK/TrigFTKSim/config/map_file/raw_12Libl32TmodB_3D_t13.tmap"
ToolSvc += FTKDet

FTKDumpCond = FTKDumpCondAlgo("FTKDumpCondAlgo", OutputLevel=INFO)
FTKDumpCond.IBLMode = 2
####FTKDumpCond.DumpBadModules = True
FTKDumpCond.DumpGlobalToLocalMap = True
#FTKDumpCond.DumpIDMap = True
theJob += FTKDumpCond

print theJob
Ejemplo n.º 4
0
#-----------------------------------------------------------------------------
# Athena imports
#-----------------------------------------------------------------------------
from AthenaCommon.AlgSequence import AlgSequence
theJob = AlgSequence()

#--------------------------------------------------------------
# FTK algorithm inclusions
#--------------------------------------------------------------
from AthenaCommon.AppMgr import ToolSvc
from TrigFTKSim.TrigFTKSimConf import FTKDetectorTool, FTKDumpCondAlgo

print "Add FTKDetector tool"
FTKDet = FTKDetectorTool()
FTKDet.FTK_BadModuleMapPath = "badModulemap_8Lc_FTK.bmap"
FTKDet.ATLAS_BadModuleMapPath = "badModulemap_8Lc_ATLAS.bmap"
FTKDet.pmap_path = "../Trigger/TrigFTK/TrigFTKSim/config/map_file/raw_8Lc.pmap"
ToolSvc += FTKDet

FTKDumpCond = FTKDumpCondAlgo("FTKDumpCondAlgo", OutputLevel=INFO)
FTKDumpCond.DumpBadModules = True
theJob += FTKDumpCond

print theJob