Exemplo n.º 1
0
    seedingLayers="pixelTracksSeedLayers",
    trackingRegions="pixelTracksTrackingRegions")

pixelTracksHitQuadruplets = _initialStepCAHitQuadruplets.clone(
    doublets="pixelTracksHitDoublets",
    SeedComparitorPSet=dict(
        clusterShapeCacheSrc='siPixelClusterShapeCachePreSplitting'))

# for trackingLowPU
pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
    doublets="pixelTracksHitDoublets",
    produceSeedingHitSets=True,
    SeedComparitorPSet=RecoPixelVertexing.PixelLowPtUtilities.
    LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(
        clusterShapeCacheSrc="siPixelClusterShapeCachePreSplitting"))

pixelTracks = _pixelTracks.clone(SeedingHitSets="pixelTracksHitQuadruplets")
trackingLowPU.toModify(pixelTracks, SeedingHitSets="pixelTracksHitTriplets")

pixelTracksTask = cms.Task(pixelTracksTrackingRegions,
                           pixelFitterByHelixProjections,
                           pixelTrackFilterByKinematics, pixelTracksSeedLayers,
                           pixelTracksHitDoublets, pixelTracksHitQuadruplets,
                           pixelTracks)
_pixelTracksTask_lowPU = pixelTracksTask.copy()
_pixelTracksTask_lowPU.replace(pixelTracksHitQuadruplets,
                               pixelTracksHitTriplets)
trackingLowPU.toReplaceWith(pixelTracksTask, _pixelTracksTask_lowPU)

pixelTracksSequence = cms.Sequence(pixelTracksTask)
Exemplo n.º 2
0
# Pixel Quadruplets Tracking
pixelTracksSeedLayers = initialStepSeedLayers.clone(
    BPix = dict(HitProducer = "siPixelRecHitsPreSplitting"),
    FPix = dict(HitProducer = "siPixelRecHitsPreSplitting")
)

pixelTracksHitDoublets = initialStepHitDoublets.clone(
    clusterCheck = "",
    seedingLayers = "pixelTracksSeedLayers",
    trackingRegions = "pixelTracksTrackingRegions"
)

pixelTracksHitQuadruplets = initialStepHitQuadruplets.clone(
    doublets = "pixelTracksHitDoublets",
    SeedComparitorPSet = dict(clusterShapeCacheSrc = 'siPixelClusterShapeCachePreSplitting')
)

pixelTracks = _pixelTracks.clone(
    SeedingHitSets = "pixelTracksHitQuadruplets"
)

pixelTracksSequence = cms.Sequence(
    pixelTracksTrackingRegions +
    pixelFitterByHelixProjections +
    pixelTrackFilterByKinematics +
    pixelTracksSeedLayers +
    pixelTracksHitDoublets +
    pixelTracksHitQuadruplets +
    pixelTracks
)
Exemplo n.º 3
0
import FWCore.ParameterSet.Config as cms

from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi import pixelTracks as _pixelTracks
from RecoTauTag.HLTProducers.trackingRegionsFromBeamSpotAndL2Tau_cfi import trackingRegionsFromBeamSpotAndL2Tau

# Note from new seeding framework migration
# Previously the TrackingRegion was set as a parameter of PixelTrackProducer
# Now the TrackingRegion EDProducer must be inserted in a sequence, and set as an input to HitPairEDProducer

pixelTracksL2Tau = _pixelTracks.clone(passLabel='pixelTracksL2Tau')
import FWCore.ParameterSet.Config as cms

from RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi import pixelTracks as _pixelTracks
from RecoTauTag.HLTProducers.trackingRegionsFromBeamSpotAndL2Tau_cfi import trackingRegionsFromBeamSpotAndL2Tau

# Note from new seeding framework migration
# Previously the TrackingRegion was set as a parameter of PixelTrackProducer
# Now the TrackingRegion EDProducer must be inserted in a sequence, and set as an input to HitPairEDProducer

pixelTracksL2Tau = _pixelTracks.clone()
pixelTracksL2Tau.passLabel = cms.string('pixelTracksL2Tau')
Exemplo n.º 5
0
    FPix = dict(HitProducer = "siPixelRecHitsPreSplitting")
)

pixelTracksQuadHitDoublets = initialStepHitDoublets.clone(
    clusterCheck = "",
    seedingLayers = "pixelTracksQuadSeedLayers",
    trackingRegions = "pixelTracksTrackingRegions"
)

pixelTracksQuadHitQuadruplets = initialStepHitQuadruplets.clone(
    doublets = "pixelTracksQuadHitDoublets",
    SeedComparitorPSet = dict(clusterShapeCacheSrc = 'siPixelClusterShapeCachePreSplitting')
)

pixelTracksQuad = _pixelTracks.clone(
    SeedingHitSets = "pixelTracksQuadHitQuadruplets"
)

pixelTracksQuadSequence = cms.Sequence(
    pixelTracksQuadSeedLayers +
    pixelTracksQuadHitDoublets +
    pixelTracksQuadHitQuadruplets +
    pixelTracksQuad
)

# Pixel Triplets Tracking
pixelTracksTripletSeedLayers = highPtTripletStepSeedLayers.clone(
    BPix = dict(skipClusters = cms.InputTag('pixelTracksTripletClusters'), HitProducer = "siPixelRecHitsPreSplitting"),
    FPix = dict(skipClusters = cms.InputTag('pixelTracksTripletClusters'), HitProducer = "siPixelRecHitsPreSplitting")
)
Exemplo n.º 6
0
# Pixel Quadruplets Tracking
pixelTracksQuadSeedLayers = initialStepSeedLayers.clone(
    BPix=dict(HitProducer="siPixelRecHitsPreSplitting"),
    FPix=dict(HitProducer="siPixelRecHitsPreSplitting"))

pixelTracksQuadHitDoublets = initialStepHitDoublets.clone(
    clusterCheck="",
    seedingLayers="pixelTracksQuadSeedLayers",
    trackingRegions="pixelTracksTrackingRegions")

pixelTracksQuadHitQuadruplets = initialStepHitQuadruplets.clone(
    doublets="pixelTracksQuadHitDoublets",
    SeedComparitorPSet=dict(
        clusterShapeCacheSrc='siPixelClusterShapeCachePreSplitting'))

pixelTracksQuad = _pixelTracks.clone(
    SeedingHitSets="pixelTracksQuadHitQuadruplets")

pixelTracksQuadSequence = cms.Sequence(pixelTracksQuadSeedLayers +
                                       pixelTracksQuadHitDoublets +
                                       pixelTracksQuadHitQuadruplets +
                                       pixelTracksQuad)

# Pixel Triplets Tracking
pixelTracksTripletSeedLayers = highPtTripletStepSeedLayers.clone(
    BPix=dict(skipClusters=cms.InputTag('pixelTracksTripletClusters'),
              HitProducer="siPixelRecHitsPreSplitting"),
    FPix=dict(skipClusters=cms.InputTag('pixelTracksTripletClusters'),
              HitProducer="siPixelRecHitsPreSplitting"))

pixelTracksTripletClusters = highPtTripletStepClusters.clone(
    trackClassifier=cms.InputTag('', 'QualityMasks'),