Exemplo n.º 1
0
    def __init__(self, name="TrigTRTSegFinder_Cosmics_NoField"):
        from AthenaCommon.AppMgr import ToolSvc
        TrigTRTSegFinder.__init__(self, name)
        self.RoIhalfWidthDeltaPhi = 3.14
        self.RoIhalfWidthDeltaEta = 3.
        self.pTmin = 1000.
        from TrigOfflineDriftCircleTool.TrigOfflineDriftCircleTool_Config import ConfiguredTrigTRT_DriftCircleProviderTool
        self.TrigDriftCircleProvider = ConfiguredTrigTRT_DriftCircleProviderTool

        from TRT_TrackExtensionTool_xk.TRT_TrackExtensionTool_xkConf import InDet__TRT_TrackExtensionTool_xk
        from InDetTrigRecExample.InDetTrigConfigRecLoadTools import InDetTrigTRTDriftCircleCut
        InDetL2TRTExtensionTool = InDet__TRT_TrackExtensionTool_xk(
            name='InDetL2TRTExtensionTool',
            TRT_ClustersContainer='Trig_OfflineDriftCircles',
            DriftCircleCutTool=InDetTrigTRTDriftCircleCut)
        ToolSvc += InDetL2TRTExtensionTool
        self.TrackExtensionTool = ToolSvc.InDetL2TRTExtensionTool
        #        from TRT_TrackSegmentsTool_xk.TRT_TrackSegmentsTool_xkConf import InDet__TRT_TrackSegmentsMaker_ECcosmics
        from TRT_TrackSegmentsTool_xk.TRT_TrackSegmentsTool_xkConf import InDet__TRT_TrackSegmentsMaker_CTBxk
        #        InDetL2_TRT_TrackSegmentsMaker = InDet__TRT_TrackSegmentsMaker_ECcosmics(name = 'InDetL2_TRT_TrackSegmentsMaker',
        InDetL2_TRT_TrackSegmentsMaker = InDet__TRT_TrackSegmentsMaker_CTBxk(
            name='InDetL2_TRT_TrackSegmentsMaker_NoField',
            TrtManagerLocation="TRT",
            TRT_ClustersContainer="Trig_OfflineDriftCircles",
            IsMagneticFieldOn=False)
        #								TrackExtensionTool = InDetL2TRTExtensionTool)
        ToolSvc += InDetL2_TRT_TrackSegmentsMaker
        self.SegmentsMakerTool = ToolSvc.InDetL2_TRT_TrackSegmentsMaker_NoField
        self.AthenaMonTools = [
            time,
            TrigTRTSegFinder_CosmicMonitoring(),
            TrigTRTSegFinder_ValidationMonitoring()
        ]
Exemplo n.º 2
0
    def __init__(self, name="TrigTRTSegFinder_eGamma"):
        from AthenaCommon.AppMgr import ToolSvc
        TrigTRTSegFinder.__init__(self, name)
        self.RoIhalfWidthDeltaPhi = 0.1
        self.RoIhalfWidthDeltaEta = 0.1
        self.pTmin = 1000.
        #        self.PropagatorTool       = "Trk::RungeKuttaPropagator"
        #        self.MagneticTool         = "Trk::MagneticFieldTool_xk"
        from TrigOfflineDriftCircleTool.TrigOfflineDriftCircleTool_Config import ConfiguredTrigTRT_DriftCircleProviderTool
        self.TrigDriftCircleProvider = ConfiguredTrigTRT_DriftCircleProviderTool

        from TRT_TrackExtensionTool_xk.TRT_TrackExtensionTool_xkConf import InDet__TRT_TrackExtensionTool_xk
        from InDetTrigRecExample.InDetTrigConfigRecLoadTools import InDetTrigTRTDriftCircleCut, \
             InDetTrigPatternPropagator,InDetTrigPatternUpdator
        from InDetTrigRecExample.InDetTrigConfigRecLoadToolsBack import InDetTrigTRTDetElementsRoadMaker
        from InDetTrigRecExample.InDetTrigFlags import InDetTrigFlags
        from InDetTrigRecExample.ConfiguredNewTrackingTrigCuts import EFIDTrackingCuts
        InDetTrigCutValues = EFIDTrackingCuts

        InDetL2TRTExtensionTool = InDet__TRT_TrackExtensionTool_xk(
            name='InDetL2TRTExtensionTool',
            TRT_ClustersContainer='Trig_OfflineDriftCircles',
            DriftCircleCutTool=InDetTrigTRTDriftCircleCut,
            TrtManagerLocation='TRT',  # default
            PropagatorTool=InDetTrigPatternPropagator,
            UpdatorTool=InDetTrigPatternUpdator,
            UseDriftRadius=not InDetTrigFlags.noTRTTiming(),
            RoadTool=InDetTrigTRTDetElementsRoadMaker,
            MinNumberDriftCircles=InDetTrigCutValues.minTRTonTrk(),
            ScaleHitUncertainty=2.,
            RoadWidth=20.,
            UseParameterization=InDetTrigCutValues.useParameterizedTRTCuts())
        ToolSvc += InDetL2TRTExtensionTool
        self.TrackExtensionTool = ToolSvc.InDetL2TRTExtensionTool
        #        print InDetL2TRTExtensionTool
        from TRT_TrackSegmentsTool_xk.TRT_TrackSegmentsTool_xkConf import InDet__TRT_TrackSegmentsMaker_ATLxk
        InDetL2_TRT_TrackSegmentsMaker = InDet__TRT_TrackSegmentsMaker_ATLxk(
            name='InDetL2_TRT_TrackSegmentsMaker',
            TrtManagerLocation="TRT",
            pTmin=self.pTmin,
            TRT_ClustersContainer="Trig_OfflineDriftCircles",
            PropagatorTool=InDetTrigPatternPropagator,
            AssosiationTool=None,
            TrackExtensionTool=InDetL2TRTExtensionTool,
            UseAssosiationTool=False,
            MinNumberDriftCircles=InDetTrigCutValues.minTRTonly(),
            RemoveNoiseDriftCircles=InDetTrigFlags.removeTRTNoise())
        ToolSvc += InDetL2_TRT_TrackSegmentsMaker
        self.SegmentsMakerTool = ToolSvc.InDetL2_TRT_TrackSegmentsMaker
        #        print InDetL2_TRT_TrackSegmentsMaker
        # monitoring histograms
        self.AthenaMonTools = [
            time,
            TrigTRTSegFinder_ValidationMonitoring(),
            TrigTRTSegFinder_OnlineMonitoring()
        ]
Exemplo n.º 3
0
    def __init__(self, name="TrigTRTSegFinder_Bphysics"):
        from AthenaCommon.AppMgr import ToolSvc
        TrigTRTSegFinder.__init__(self, name)
        self.RoIhalfWidthDeltaPhi = 0.1
        self.RoIhalfWidthDeltaEta = 0.1
        self.pTmin = 1000.
        from TrigOfflineDriftCircleTool.TrigOfflineDriftCircleTool_Config import ConfiguredTrigTRT_DriftCircleProviderTool
        self.TrigDriftCircleProvider = ConfiguredTrigTRT_DriftCircleProviderTool

        from TRT_TrackExtensionTool_xk.TRT_TrackExtensionTool_xkConf import InDet__TRT_TrackExtensionTool_xk
        from InDetTrigRecExample.InDetTrigConfigRecLoadTools import InDetTrigTRTDriftCircleCut, \
             InDetTrigPatternPropagator,InDetTrigPatternUpdator
        from InDetTrigRecExample.InDetTrigConfigRecLoadToolsBack import InDetTrigTRTDetElementsRoadMaker
        from InDetTrigRecExample.InDetTrigFlags import InDetTrigFlags
        from InDetTrigRecExample.ConfiguredNewTrackingTrigCuts import EFIDTrackingCuts
        InDetTrigCutValues = EFIDTrackingCuts

        InDetL2TRTExtensionTool = InDet__TRT_TrackExtensionTool_xk(
            name='InDetL2TRTExtensionTool',
            TRT_ClustersContainer='Trig_OfflineDriftCircles',
            DriftCircleCutTool=InDetTrigTRTDriftCircleCut)
        ToolSvc += InDetL2TRTExtensionTool
        self.TrackExtensionTool = ToolSvc.InDetL2TRTExtensionTool
        from TRT_TrackSegmentsTool_xk.TRT_TrackSegmentsTool_xkConf import InDet__TRT_TrackSegmentsMaker_ATLxk
        InDetL2_TRT_TrackSegmentsMaker = InDet__TRT_TrackSegmentsMaker_ATLxk(
            name='InDetL2_TRT_TrackSegmentsMaker',
            TrtManagerLocation="TRT",
            pTmin=self.pTmin,
            TRT_ClustersContainer="Trig_OfflineDriftCircles",
            TrackExtensionTool=InDetL2TRTExtensionTool)
        ToolSvc += InDetL2_TRT_TrackSegmentsMaker
        self.SegmentsMakerTool = ToolSvc.InDetL2_TRT_TrackSegmentsMaker
        self.AthenaMonTools = [
            time,
            TrigTRTSegFinder_ValidationMonitoring(),
            TrigTRTSegFinder_OnlineMonitoring()
        ]