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,
56 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
as _mod
59 hiPixel3PrimTracks = _mod.pixelTracks.clone(
60 passLabel =
'Pixel triplet primary tracks with vertex constraint',
62 SeedingHitSets =
"hiPixel3PrimTracksHitTriplets",
64 Fitter =
"pixelFitterByHelixProjections",
68 Cleaner =
"trackCleaner" 70 trackingPhase1.toModify(hiPixel3PrimTracks,
71 SeedingHitSets =
"hiPixel3PrimTracksHitQuadrupletsCA",
74 hiPixel3PrimTracksTask = cms.Task(
75 hiTrackingRegionWithVertex ,
76 hiPixel3PrimTracksHitDoublets ,
77 hiPixel3PrimTracksHitTriplets ,
78 pixelFitterByHelixProjections ,
82 hiPixel3PrimTracksSequence = cms.Sequence(hiPixel3PrimTracksTask)
84 hiPixel3PrimTracksTask_Phase1 = hiPixel3PrimTracksTask.copy()
85 hiPixel3PrimTracksTask_Phase1.replace(hiPixel3PrimTracksHitDoublets, cms.Task(hiPixelLayerQuadruplets,hiPixel3PrimTracksHitDoubletsCA) )
86 hiPixel3PrimTracksTask_Phase1.replace(hiPixel3PrimTracksHitTriplets,hiPixel3PrimTracksHitQuadrupletsCA)
87 trackingPhase1.toReplaceWith(hiPixel3PrimTracksTask,hiPixel3PrimTracksTask_Phase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...