コード例 #1
0
        name="InDetPrdAssociationTool",
        PixelClusterAmbiguitiesMapName=InDetKeys.GangedPixelMap(),
        addTRToutliers=False)  ###
    ToolSvc += InDetPrdAssociationTool

# Set up InDet__SiSpacePointsSeedMaker_ATLxk (private)
# Taken from InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
from SiSpacePointsSeedTool_xk.SiSpacePointsSeedTool_xkConf import InDet__SiSpacePointsSeedMaker_ATLxk as SiSpacePointsSeedMaker

InDetSiSpacePointsSeedMaker = SiSpacePointsSeedMaker(
    name="InDetSpSeedsMaker" + NewTrackingCuts.extension(),
    pTmin=NewTrackingCuts.minPT(),
    maxdImpact=NewTrackingCuts.maxPrimaryImpact(),
    maxZ=NewTrackingCuts.maxZImpact(),
    minZ=-NewTrackingCuts.maxZImpact(),
    usePixel=NewTrackingCuts.usePixel(),
    SpacePointsPixelName=InDetKeys.PixelSpacePoints(),
    useSCT=(NewTrackingCuts.useSCT() and NewTrackingCuts.useSCTSeeding()),
    SpacePointsSCTName=InDetKeys.SCT_SpacePoints(),
    useOverlapSpCollection=NewTrackingCuts.usePixel()
    and (NewTrackingCuts.useSCT() and NewTrackingCuts.useSCTSeeding()),  ###
    SpacePointsOverlapName=InDetKeys.OverlapSpacePoints(),
    radMax=NewTrackingCuts.radMax(),
    RapidityCut=NewTrackingCuts.maxEta(),
    PRDtoTrackMap="",
    maxdImpactPPS=NewTrackingCuts.maxdImpactPPSSeeds(),
    maxdImpactSSS=NewTrackingCuts.maxdImpactSSSSeeds())
if not doBeamSpot:
    InDetSiSpacePointsSeedMaker.BeamSpotKey = ""

# Set up InDet__SiZvertexMaker_xk (private)
コード例 #2
0
    # Taken from InDetRecExample/share/InDetRecLoadTools.py
    from InDetAssociationTools.InDetAssociationToolsConf import InDet__InDetPRD_AssociationToolGangedPixels
    InDetPrdAssociationTool = InDet__InDetPRD_AssociationToolGangedPixels(name                           = "InDetPrdAssociationTool",
                                                                          PixelClusterAmbiguitiesMapName = InDetKeys.GangedPixelMap(),
                                                                          addTRToutliers                 = False) ###
    ToolSvc += InDetPrdAssociationTool

# Set up InDet__SiSpacePointsSeedMaker_ATLxk (private)
# Taken from InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
from SiSpacePointsSeedTool_xk.SiSpacePointsSeedTool_xkConf import InDet__SiSpacePointsSeedMaker_ATLxk as SiSpacePointsSeedMaker
InDetSiSpacePointsSeedMaker = SiSpacePointsSeedMaker(name                   = "InDetSpSeedsMaker"+NewTrackingCuts.extension(),
                                                     pTmin                  = NewTrackingCuts.minPT(),
                                                     maxdImpact             = NewTrackingCuts.maxPrimaryImpact(),
                                                     maxZ                   = NewTrackingCuts.maxZImpact(),
                                                     minZ                   = -NewTrackingCuts.maxZImpact(),
                                                     usePixel               = NewTrackingCuts.usePixel(),
                                                     SpacePointsPixelName   = InDetKeys.PixelSpacePoints(),
                                                     useSCT                 = (NewTrackingCuts.useSCT() and NewTrackingCuts.useSCTSeeding()),
                                                     SpacePointsSCTName     = InDetKeys.SCT_SpacePoints(),
                                                     useOverlapSpCollection = NewTrackingCuts.usePixel() and (NewTrackingCuts.useSCT() and NewTrackingCuts.useSCTSeeding()), ###
                                                     SpacePointsOverlapName = InDetKeys.OverlapSpacePoints(),
                                                     radMax                 = NewTrackingCuts.radMax(),
                                                     RapidityCut            = NewTrackingCuts.maxEta(),
                                                     PRDtoTrackMap          = "", # @TODO
                                                     maxdImpactPPS = NewTrackingCuts.maxdImpactPPSSeeds(),
                                                     maxdImpactSSS = NewTrackingCuts.maxdImpactSSSSeeds())
if not doBeamSpot:
    InDetSiSpacePointsSeedMaker.BeamSpotKey = ""

# Set up InDet__SiZvertexMaker_xk (private)
# Taken from ConfiguredNewTrackingSiPattern.py