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
16 hiPixelLayerQuadruplets = PixelLayerTriplets.clone()
17 hiPixelLayerQuadruplets.layerList = PixelSeedMergerQuadruplets.layerList
20 hiPixel3PrimTracksHitDoublets = _hitPairEDProducer.clone(
22 seedingLayers =
"PixelLayerTriplets",
23 trackingRegions =
"hiTrackingRegionWithVertex",
25 produceIntermediateHitDoublets =
True,
27 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
28 trackingPhase1.toModify(hiPixel3PrimTracksHitDoublets,
29 seedingLayers =
"hiPixelLayerQuadruplets" 33 hiPixel3PrimTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
34 doublets =
"hiPixel3PrimTracksHitDoublets",
36 produceSeedingHitSets =
True,
37 produceIntermediateHitTriplets =
True,
40 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
41 hiPixel3PrimTracksHitDoubletsCA = hiPixel3PrimTracksHitDoublets.clone()
42 hiPixel3PrimTracksHitDoubletsCA.layerPairs = [0,1,2]
44 hiPixel3PrimTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
45 doublets =
"hiPixel3PrimTracksHitDoubletsCA",
46 extraHitRPhitolerance = hiPixel3PrimTracksHitTriplets.extraHitRPhitolerance,
47 SeedComparitorPSet = hiPixel3PrimTracksHitTriplets.SeedComparitorPSet,
50 value1 = 200, value2 = 50,
52 useBendingCorrection =
True,
54 fitFastCircleChi2Cut =
True,
60 hiPixel3PrimTracks = cms.EDProducer(
"PixelTrackProducer",
62 passLabel = cms.string(
'Pixel triplet primary tracks with vertex constraint'),
65 SeedingHitSets = cms.InputTag(
"hiPixel3PrimTracksHitTriplets"),
68 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
71 Filter = cms.InputTag(
"hiFilter"),
74 Cleaner = cms.string(
"trackCleaner")
76 trackingPhase1.toModify(hiPixel3PrimTracks,
77 SeedingHitSets = cms.InputTag(
"hiPixel3PrimTracksHitQuadrupletsCA"),
80 hiPixel3PrimTracksSequence = cms.Sequence(
81 hiTrackingRegionWithVertex +
82 hiPixel3PrimTracksHitDoublets +
83 hiPixel3PrimTracksHitTriplets +
84 pixelFitterByHelixProjections +
90 hiPixel3PrimTracksSequence_Phase1 = hiPixel3PrimTracksSequence.copy()
91 hiPixel3PrimTracksSequence_Phase1.replace(hiPixel3PrimTracksHitDoublets,hiPixelLayerQuadruplets+hiPixel3PrimTracksHitDoubletsCA)
92 hiPixel3PrimTracksSequence_Phase1.replace(hiPixel3PrimTracksHitTriplets,hiPixel3PrimTracksHitQuadrupletsCA)
93 trackingPhase1.toReplaceWith(hiPixel3PrimTracksSequence,hiPixel3PrimTracksSequence_Phase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...