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
10 from RecoTracker.TkSeedingLayers.PixelLayerQuadruplets_cfi
import PixelLayerQuadruplets
as _PixelLayerQuadruplets
14 hiPixelLayerQuadruplets = _PixelLayerQuadruplets.clone()
17 hiPixel3PrimTracksHitDoublets = _hitPairEDProducer.clone(
19 seedingLayers =
"PixelLayerTriplets",
20 trackingRegions =
"hiTrackingRegionWithVertex",
21 maxElement = 50000000,
22 produceIntermediateHitDoublets =
True,
24 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
25 trackingPhase1.toModify(hiPixel3PrimTracksHitDoublets,
26 seedingLayers =
"hiPixelLayerQuadruplets"
30 hiPixel3PrimTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
31 doublets =
"hiPixel3PrimTracksHitDoublets",
33 produceSeedingHitSets =
True,
34 produceIntermediateHitTriplets =
True,
37 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
38 hiPixel3PrimTracksHitDoubletsCA = hiPixel3PrimTracksHitDoublets.clone(
41 hiPixel3PrimTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
42 doublets =
"hiPixel3PrimTracksHitDoubletsCA",
43 extraHitRPhitolerance = hiPixel3PrimTracksHitTriplets.extraHitRPhitolerance,
44 SeedComparitorPSet = hiPixel3PrimTracksHitTriplets.SeedComparitorPSet,
47 value1 = 200, value2 = 50,
49 useBendingCorrection =
True,
51 fitFastCircleChi2Cut =
True,
57 hiPixel3PrimTracks = cms.EDProducer(
"PixelTrackProducer",
59 passLabel = cms.string(
'Pixel triplet primary tracks with vertex constraint'),
62 SeedingHitSets = cms.InputTag(
"hiPixel3PrimTracksHitTriplets"),
65 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
68 Filter = cms.InputTag(
"hiFilter"),
71 Cleaner = cms.string(
"trackCleaner")
73 trackingPhase1.toModify(hiPixel3PrimTracks,
74 SeedingHitSets =
"hiPixel3PrimTracksHitQuadrupletsCA",
77 hiPixel3PrimTracksTask = cms.Task(
78 hiTrackingRegionWithVertex ,
79 hiPixel3PrimTracksHitDoublets ,
80 hiPixel3PrimTracksHitTriplets ,
81 pixelFitterByHelixProjections ,
85 hiPixel3PrimTracksSequence = cms.Sequence(hiPixel3PrimTracksTask)
87 hiPixel3PrimTracksTask_Phase1 = hiPixel3PrimTracksTask.copy()
88 hiPixel3PrimTracksTask_Phase1.replace(hiPixel3PrimTracksHitDoublets, cms.Task(hiPixelLayerQuadruplets,hiPixel3PrimTracksHitDoubletsCA) )
89 hiPixel3PrimTracksTask_Phase1.replace(hiPixel3PrimTracksHitTriplets,hiPixel3PrimTracksHitQuadrupletsCA)
90 trackingPhase1.toReplaceWith(hiPixel3PrimTracksTask,hiPixel3PrimTracksTask_Phase1)