Exemplo n.º 1
0
 def __init__(self, name="TrigTRT_TrackExtensionTool_eGamma"):
     TrigTRT_TrackExtensionTool.__init__(self, name)
     self.OfflineClusters = False
     self.doBremmCorrection = True
     self.TrigBremTool = ideTool
Exemplo n.º 2
0
    def __init__(self, name="TrigSiTrack_Cosmics"):
        TrigSiTrack.__init__(self, name)

        from __main__ import ToolSvc

        trtTool = TrigTRT_TrackExtensionTool(OfflineClusters=False)
        ToolSvc += trtTool
        fitTool = TrigInDetTrackFitter(OfflineClusters=False)
        ToolSvc += fitTool

        self.Tool_SpacePointProviderTool = ospTool
        self.Tool_TRTExtensionTool = trtTool
        self.Tool_ReFitterTool = fitTool

        self.Map_Layer1 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer2 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer3 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer4 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer5 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer6 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_Layer7 = [
            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
        ]
        self.Map_UsePixel = False

        self.RoI_HalfWidthPhi = 3.141
        self.RoI_HalfWidthEta = 5.0

        self.Seeding_PreCutRZ = 10.0 * 50
        self.Seeding_PreCutRPhi = 0.005  ### TUNED
        self.Seeding_CutRZ = 1.5 * 50

        self.Vertexing_Enable = False
        self.Vertexing_CutRZ = 1000.0  ### TUNED

        self.Extension_PreCutRZ = 10.0 * 50
        self.Extension_PreCutRPhi = 0.03  ### TUNED
        self.Extension_PreCutRPhiDiff = 0.03  ### TUNED
        self.Extension_CutRZ = 400.0  ### TUNED
        self.Extension_CutRPhi = 0.7  ### TUNED
        self.Extension_CutSpacePoints = 2
        self.Extension_MergeSeeds = True
        self.Extension_MergeSeedsCut = 20.0
        self.Extension_SolveTracks = True
        self.Extension_SolveTracksCut = 20.0
        self.Extension_Refit = True
        self.Extension_TRTExtension = False
        self.Extension_UseMagneticField = False

        self.Debug_Tuning12 = False
        self.Debug_Tuning123 = False
        self.Debug_Shift = False
        self.Debug_ForcedShift = False
        self.Debug_ShiftX = 0.0
        self.Debug_ShiftY = 0.0

        # monitoring histograms
        from TrigTimeMonitor.TrigTimeHistToolConfig import TrigTimeHistToolConfig
        time = TrigTimeHistToolConfig("TimeHistogramForTrigSiTrack")
        time.TimerHistLimits = [0, 50]

        self.AthenaMonTools = [
            TrigSiTrack_Cosmic_Monitoring(),
            TrigSiTrack_ValidationMonitoring(),
            TrigSiTrack_OnlineMonitoring(), time
        ]
Exemplo n.º 3
0
    def __init__(self, name="TrigSiTrack_Bphysics"):
        TrigSiTrack.__init__(self, name)

        from __main__ import ToolSvc

        trtTool = TrigTRT_TrackExtensionTool(OfflineClusters=False)
        ToolSvc += trtTool
        fitTool = TrigInDetTrackFitter(OfflineClusters=False)
        ToolSvc += fitTool

        self.Tool_SpacePointProviderTool = ospTool
        self.Tool_TRTExtensionTool = trtTool
        self.Tool_ReFitterTool = fitTool

        self.Map_Layer1 = [0, 1, 7]
        self.Map_Layer2 = [1, 2, 7, 8]
        self.Map_Layer3 = [2, 8, 9]
        self.Map_Layer4 = [3, 10, 11]
        self.Map_Layer5 = [4, 12, 13]
        self.Map_Layer6 = [5, 14, 15]
        self.Map_Layer7 = [6, 16, 17, 18]

        self.RoI_HalfWidthPhi = 0.75
        self.RoI_HalfWidthEta = 0.75

        if TrigSiTrackFlags.LoosenCuts:

            self.Seeding_PreCutRZ = TrigSiTrackLoosenCuts.Seeding_PreCutRZ
            self.Seeding_PreCutRPhi = TrigSiTrackLoosenCuts.Seeding_PreCutRPhi
            self.Seeding_CutRZ = TrigSiTrackLoosenCuts.Seeding_CutRZ

        else:

            self.Seeding_PreCutRZ = 10.0
            self.Seeding_PreCutRPhi = 0.0004
            self.Seeding_CutRZ = 1.5

        self.Vertexing_Enable = True
        self.Vertexing_CutRZ = 200.0
        self.Vertexing_CutRPhi = 0.00025
        self.Vertexing_MaxVertices = 3
        self.Vertexing_WindowSize = 2.0
        self.Vertexing_WindowSegments = 4

        if TrigSiTrackFlags.LoosenCuts:

            self.Extension_PreCutRZ = TrigSiTrackLoosenCuts.Extension_PreCutRZ
            self.Extension_PreCutRPhi = TrigSiTrackLoosenCuts.Extension_PreCutRPhi
            self.Extension_PreCutRPhiDiff = TrigSiTrackLoosenCuts.Extension_PreCutRPhiDiff
            self.Extension_CutRZ = TrigSiTrackLoosenCuts.Extension_CutRZ
            self.Extension_CutRPhi = TrigSiTrackLoosenCuts.Extension_CutRPhi

        else:

            self.Extension_PreCutRZ = 10.0
            self.Extension_PreCutRPhi = 0.0003
            self.Extension_PreCutRPhiDiff = 0.0003
            self.Extension_CutRZ = 4.0
            self.Extension_CutRPhi = 0.007

        self.Extension_CutSpacePoints = 2
        self.Extension_MergeSeeds = True
        self.Extension_MergeSeedsCut = 20.0
        self.Extension_SolveTracks = True
        self.Extension_SolveTracksCut = 20.0
        self.Extension_SolveShared = True
        self.Extension_Refit = True
        self.Extension_TRTExtension = True
        self.Extension_UseMagneticField = False

        # monitoring histograms
        from TrigTimeMonitor.TrigTimeHistToolConfig import TrigTimeHistToolConfig
        time = TrigTimeHistToolConfig("TimeHistogramForTrigSiTrack")
        time.TimerHistLimits = [0, 50]

        self.AthenaMonTools = [
            TrigSiTrack_ValidationMonitoring(),
            TrigSiTrack_OnlineMonitoring(), time
        ]
Exemplo n.º 4
0
from TrigOnlineSpacePointTool.TrigOnlineSpacePointTool_Config import ConfiguredOnlineSpacePointProviderTool
from TrigTRT_TrackExtensionTool.TrigTRT_TrackExtensionToolConf import TrigTRT_TrackExtensionTool
from TrigTRT_TrackExtensionTool.TrigTRT_TrackExtensionTool_Config import TrigTRT_TrackExtensionTool_eGamma
from TrigInDetTrackFitter.TrigInDetTrackFitterConf import TrigInDetTrackFitter
from TrigTimeMonitor.TrigTimeHistToolConfig import TrigTimeHistToolConfig
from TrigInDetTrackFitter.TrigInDetTrackFitterConf import TrigL2ResidualCalculator

from TrigInDetRecoTools.TrigInDetRecoTools_Config import TrigL2PattRecoStrategyFactory

strFactory = TrigL2PattRecoStrategyFactory()

from AthenaCommon.AppMgr import ToolSvc

ospTool = ConfiguredOnlineSpacePointProviderTool(doBS=True)
trtTool = TrigTRT_TrackExtensionTool(OfflineClusters=False, PtCut=2500.0)
trackFitter = TrigInDetTrackFitter(OfflineClusters=False)
resCalc = TrigL2ResidualCalculator(OfflineClusters=False)

ToolSvc += ospTool
ToolSvc += trtTool
ToolSvc += trackFitter
ToolSvc += resCalc

from TrigMonitorBase.TrigGenericMonitoringToolConfig import defineHistogram, TrigGenericMonitoringToolConfig

#Monitoring
class TrigL2SiTrackFinder_CommonMonitoring(TrigGenericMonitoringToolConfig):
    def __init__ (self, name="TrigL2SiTrackFinder_OnlineMonitoring"):
        super(TrigL2SiTrackFinder_CommonMonitoring, self).__init__(name)
    def addSPHistograms(self):