1 import FWCore.ParameterSet.Config
as cms
5 hiLowPtTripletStepClusters = cms.EDProducer(
"HITrackClusterRemover",
6 clusterLessSolution= cms.bool(
True),
7 oldClusterRemovalInfo = cms.InputTag(
"hiDetachedTripletStepClusters"),
8 trajectories = cms.InputTag(
"hiDetachedTripletStepTracks"),
9 overrideTrkQuals = cms.InputTag(
"hiDetachedTripletStepSelector",
"hiDetachedTripletStep"),
10 TrackQuality = cms.string(
'highPurity'),
11 minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
12 pixelClusters = cms.InputTag(
"siPixelClusters"),
13 stripClusters = cms.InputTag(
"siStripClusters"),
15 maxChi2 = cms.double(9.0)
19 maxSize = cms.uint32(2),
20 maxChi2 = cms.double(9.0)
27 hiLowPtTripletStepSeedLayers = RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi.PixelLayerTriplets.clone(
28 BPix = dict(skipClusters = cms.InputTag(
'hiLowPtTripletStepClusters')),
29 FPix = dict(skipClusters = cms.InputTag(
'hiLowPtTripletStepClusters'))
34 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
35 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
37 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
43 hiLowPtTripletStepTrackingRegions = _globalTrackingRegionWithVertices.clone(RegionPSet=dict(
45 useMultipleScattering =
False,
46 useFakeVertices =
False,
47 beamSpot =
"offlineBeamSpot",
48 useFixedError =
False,
52 VertexCollection =
"hiSelectedPixelVertex",
54 useFoundVertices =
True,
57 hiLowPtTripletStepTracksHitDoublets = _hitPairEDProducer.clone(
59 seedingLayers =
"hiLowPtTripletStepSeedLayers",
60 trackingRegions =
"hiLowPtTripletStepTrackingRegions",
61 maxElement = 50000000,
62 produceIntermediateHitDoublets =
True,
64 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
65 hiLowPtTripletStepTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
66 doublets =
"hiLowPtTripletStepTracksHitDoublets",
68 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(),
69 produceSeedingHitSets =
True,
72 from RecoPixelVertexing.PixelTriplets.caHitTripletEDProducer_cfi
import caHitTripletEDProducer
as _caHitTripletEDProducer
73 hiLowPtTripletStepTracksHitDoubletsCA = hiLowPtTripletStepTracksHitDoublets.clone(
76 hiLowPtTripletStepTracksHitTripletsCA = _caHitTripletEDProducer.clone(
77 doublets =
"hiLowPtTripletStepTracksHitDoubletsCA",
78 extraHitRPhitolerance = hiLowPtTripletStepTracksHitTriplets.extraHitRPhitolerance,
79 SeedComparitorPSet = hiLowPtTripletStepTracksHitTriplets.SeedComparitorPSet,
82 value1 = 70 , value2 = 8,
84 useBendingCorrection =
True,
89 hiLowPtTripletStepPixelTracksFilter = hiFilter.clone(
90 nSigmaLipMaxTolerance = 4.0,
91 nSigmaTipMaxTolerance = 4.0,
95 hiLowPtTripletStepPixelTracks = cms.EDProducer(
"PixelTrackProducer",
97 passLabel = cms.string(
'Pixel primary tracks with vertex constraint'),
100 SeedingHitSets = cms.InputTag(
"hiLowPtTripletStepTracksHitTriplets"),
103 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
106 Filter = cms.InputTag(
"hiLowPtTripletStepPixelTracksFilter"),
109 Cleaner = cms.string(
"trackCleaner")
111 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
112 trackingPhase1.toModify(hiLowPtTripletStepPixelTracks,
113 SeedingHitSets = cms.InputTag(
"hiLowPtTripletStepTracksHitTripletsCA")
117 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
118 hiLowPtTripletStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
119 InputCollection =
'hiLowPtTripletStepPixelTracks'
125 hiLowPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
127 minimumNumberOfHits = 6,
132 hiLowPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
133 ComponentName =
'hiLowPtTripletStepChi2Est',
140 hiLowPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
141 MeasurementTrackerName =
'',
142 trajectoryFilter = dict(refToPSet_ =
'hiLowPtTripletStepTrajectoryFilter'),
144 estimator =
'hiLowPtTripletStepChi2Est',
145 maxDPhiForLooperReconstruction = cms.double(2.0),
148 maxPtForLooperReconstruction = cms.double(0.7)
153 hiLowPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
154 src =
'hiLowPtTripletStepSeeds',
156 numHitsForSeedCleaner = cms.int32(50),
157 onlyPixelHitsForSeedCleaner = cms.bool(
True),
158 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiLowPtTripletStepTrajectoryBuilder'),
159 clustersToSkip = cms.InputTag(
'hiLowPtTripletStepClusters'),
160 doSeedingRegionRebuilding =
True,
161 useHitsSplitting =
True
166 hiLowPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
167 src =
'hiLowPtTripletStepTrackCandidates',
168 AlgorithmName =
'lowPtTripletStep',
169 Fitter=
'FlexibleKFFittingSmoother'
176 hiLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
177 src =
'hiLowPtTripletStepTracks',
179 GBRForestLabel =
'HIMVASelectorIter5',
180 GBRForestVars = [
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'relpterr',
'nhits',
'nlayers',
'eta'],
181 trackSelectors= cms.VPSet(
182 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
183 name =
'hiLowPtTripletStepLoose',
186 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
187 name =
'hiLowPtTripletStepTight',
188 preFilterName =
'hiLowPtTripletStepLoose',
192 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
193 name =
'hiLowPtTripletStep',
194 preFilterName =
'hiLowPtTripletStepTight',
200 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
201 trackingPhase1.toModify(hiLowPtTripletStepSelector, useAnyMVA =
False)
202 trackingPhase1.toModify(hiLowPtTripletStepSelector, trackSelectors= cms.VPSet(
203 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
204 name =
'hiLowPtTripletStepLoose',
207 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
208 name =
'hiLowPtTripletStepTight',
209 preFilterName =
'hiLowPtTripletStepLoose',
213 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
214 name =
'hiLowPtTripletStep',
215 preFilterName =
'hiLowPtTripletStepTight',
224 hiLowPtTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
225 TrackProducers = [
'hiLowPtTripletStepTracks'],
227 selectedTrackQuals = [
"hiLowPtTripletStepSelector:hiLowPtTripletStep"],
229 makeReKeyedSeeds = cms.untracked.bool(
False),
235 hiLowPtTripletStepTask = cms.Task(hiLowPtTripletStepClusters,
236 hiLowPtTripletStepSeedLayers,
237 hiLowPtTripletStepTrackingRegions,
238 hiLowPtTripletStepTracksHitDoublets,
239 hiLowPtTripletStepTracksHitTriplets,
240 pixelFitterByHelixProjections,
241 hiLowPtTripletStepPixelTracksFilter,
242 hiLowPtTripletStepPixelTracks,hiLowPtTripletStepSeeds,
243 hiLowPtTripletStepTrackCandidates,
244 hiLowPtTripletStepTracks,
245 hiLowPtTripletStepSelector,
246 hiLowPtTripletStepQual
248 hiLowPtTripletStep = cms.Sequence(hiLowPtTripletStepTask)
249 hiLowPtTripletStepTask_Phase1 = hiLowPtTripletStepTask.copy()
250 hiLowPtTripletStepTask_Phase1.replace(hiLowPtTripletStepTracksHitDoublets, hiLowPtTripletStepTracksHitDoubletsCA)
251 hiLowPtTripletStepTask_Phase1.replace(hiLowPtTripletStepTracksHitTriplets, hiLowPtTripletStepTracksHitTripletsCA)
252 trackingPhase1.toReplaceWith(hiLowPtTripletStepTask, hiLowPtTripletStepTask_Phase1)