1 import FWCore.ParameterSet.Config
as cms
3 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
4 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
5 from RecoPixelVertexing.PixelTriplets.pixelQuadrupletEDProducer_cfi
import pixelQuadrupletEDProducer
as _pixelQuadrupletEDProducer
11 from RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi
import PixelLayerQuadruplets
as _PixelLayerQuadruplets
15 hiPixelLayerQuadruplets = _PixelLayerQuadruplets.clone()
18 hiPixel3PrimTracksHitDoublets = _hitPairEDProducer.clone(
20 seedingLayers =
"PixelLayerTriplets",
21 trackingRegions =
"hiTrackingRegionWithVertex",
23 produceIntermediateHitDoublets =
True,
25 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
26 trackingPhase1.toModify(hiPixel3PrimTracksHitDoublets,
27 seedingLayers =
"hiPixelLayerQuadruplets" 31 hiPixel3PrimTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
32 doublets =
"hiPixel3PrimTracksHitDoublets",
34 produceSeedingHitSets =
True,
35 produceIntermediateHitTriplets =
True,
38 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
39 hiPixel3PrimTracksHitDoubletsCA = hiPixel3PrimTracksHitDoublets.clone()
40 hiPixel3PrimTracksHitDoubletsCA.layerPairs = [0,1,2]
42 hiPixel3PrimTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
43 doublets =
"hiPixel3PrimTracksHitDoubletsCA",
44 extraHitRPhitolerance = hiPixel3PrimTracksHitTriplets.extraHitRPhitolerance,
45 SeedComparitorPSet = hiPixel3PrimTracksHitTriplets.SeedComparitorPSet,
48 value1 = 200, value2 = 50,
50 useBendingCorrection =
True,
52 fitFastCircleChi2Cut =
True,
58 hiPixel3PrimTracks = cms.EDProducer(
"PixelTrackProducer",
60 passLabel = cms.string(
'Pixel triplet primary tracks with vertex constraint'),
63 SeedingHitSets = cms.InputTag(
"hiPixel3PrimTracksHitTriplets"),
66 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
69 Filter = cms.InputTag(
"hiFilter"),
72 Cleaner = cms.string(
"trackCleaner")
74 trackingPhase1.toModify(hiPixel3PrimTracks,
75 SeedingHitSets = cms.InputTag(
"hiPixel3PrimTracksHitQuadrupletsCA"),
78 hiPixel3PrimTracksSequence = cms.Sequence(
79 hiTrackingRegionWithVertex +
80 hiPixel3PrimTracksHitDoublets +
81 hiPixel3PrimTracksHitTriplets +
82 pixelFitterByHelixProjections +
88 hiPixel3PrimTracksSequence_Phase1 = hiPixel3PrimTracksSequence.copy()
89 hiPixel3PrimTracksSequence_Phase1.replace(hiPixel3PrimTracksHitDoublets,hiPixelLayerQuadruplets+hiPixel3PrimTracksHitDoubletsCA)
90 hiPixel3PrimTracksSequence_Phase1.replace(hiPixel3PrimTracksHitTriplets,hiPixel3PrimTracksHitQuadrupletsCA)
91 trackingPhase1.toReplaceWith(hiPixel3PrimTracksSequence,hiPixel3PrimTracksSequence_Phase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...