def TrigMuonAmbiProcessor(name="TrigMuonAmbiProcessor", **kwargs): # definition mostly copied from MuonRecExample/python/MooreTools.py import InDetRecExample.TrackingCommon as TrackingCommon kwargs.setdefault( "AssociationTool", TrackingCommon.getInDetTrigPRDtoTrackMapToolGangedPixels()) kwargs.setdefault("DropDouble", False) kwargs.setdefault("ScoringTool", "MuonTrackScoringTool") kwargs.setdefault("SelectionTool", "MuonAmbiSelectionTool") return CfgMgr.Trk__TrackSelectionProcessorTool(name, **kwargs)
def __init__(self, name="InDetTrigTrackPRD_Association_Photon_EF", type="photon"): super(InDet__InDetTrigTrackPRD_Association, self).__init__(name) import os if name.rfind('TRTStandalone') != -1: self.TracksName = [] else: self.TracksName = [ 'AmbigSolv', 'ExtProcTracks', 'TRTSeededAmbigSolv' ] import InDetRecExample.TrackingCommon as TrackingCommon self.AssociationTool = TrackingCommon.getInDetTrigPRDtoTrackMapToolGangedPixels( ) # @TODO correct tool ? self.AssociationMapName = "InDetTrigPRDtoTrackMap_Photon_EF"
Xi2max=EFIDTrackingCutsLowPt.Xi2max(), Xi2maxNoAdd=EFIDTrackingCutsLowPt.Xi2maxNoAdd(), nWeightedClustersMin=EFIDTrackingCutsLowPt.nWeightedClustersMin(), CosmicTrack=False, UseAssociationTool=True) ToolSvc += InDetTrigSiTrackMakerLowPt if InDetTrigFlags.doAmbiSolving(): import InDetRecExample.TrackingCommon as TrackingCommon from InDetAmbiTrackSelectionTool.InDetAmbiTrackSelectionToolConf import InDet__InDetAmbiTrackSelectionTool InDetTrigAmbiTrackSelectionToolLowPt = \ InDet__InDetAmbiTrackSelectionTool(name = 'InDetTrigAmbiTrackSelectionToolLowPt', DriftCircleCutTool = InDetTrigTRTDriftCircleCut, AssociationTool = TrackingCommon.getInDetTrigPRDtoTrackMapToolGangedPixels(), minHits = EFIDTrackingCutsLowPt.minClusters()-2, minNotShared = EFIDTrackingCutsLowPt.minSiNotShared(), maxShared = EFIDTrackingCutsLowPt.maxShared(), minTRTHits = 0, # used for Si only tracking !!! Cosmics = False, #there is a different instance UseParameterization = False ) ToolSvc += InDetTrigAmbiTrackSelectionToolLowPt if (InDetTrigFlags.doPrintConfigurables()): print(InDetTrigAmbiTrackSelectionToolLowPt) from InDetTrackScoringTools.InDetTrackScoringToolsConf import InDet__InDetAmbiScoringTool from InDetTrigRecExample.InDetTrigConfigRecLoadTools import InDetTrigTRTDriftCircleCut InDetTrigScoringToolLowPt = InDet__InDetAmbiScoringTool(