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,
96 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
as _mod
98 hiLowPtTripletStepPixelTracks = _mod.pixelTracks.clone(
99 passLabel =
'Pixel primary tracks with vertex constraint',
101 SeedingHitSets =
"hiLowPtTripletStepTracksHitTriplets",
103 Fitter =
"pixelFitterByHelixProjections",
105 Filter =
"hiLowPtTripletStepPixelTracksFilter",
107 Cleaner =
"trackCleaner"
109 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
110 trackingPhase1.toModify(hiLowPtTripletStepPixelTracks,
111 SeedingHitSets =
"hiLowPtTripletStepTracksHitTripletsCA"
115 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
116 hiLowPtTripletStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
117 InputCollection =
'hiLowPtTripletStepPixelTracks'
123 hiLowPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
125 minimumNumberOfHits = 6,
130 hiLowPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
131 ComponentName =
'hiLowPtTripletStepChi2Est',
138 hiLowPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
139 MeasurementTrackerName =
'',
140 trajectoryFilter = dict(refToPSet_ =
'hiLowPtTripletStepTrajectoryFilter'),
142 estimator =
'hiLowPtTripletStepChi2Est',
143 maxDPhiForLooperReconstruction = cms.double(2.0),
146 maxPtForLooperReconstruction = cms.double(0.7)
151 hiLowPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
152 src =
'hiLowPtTripletStepSeeds',
154 numHitsForSeedCleaner = cms.int32(50),
155 onlyPixelHitsForSeedCleaner = cms.bool(
True),
156 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiLowPtTripletStepTrajectoryBuilder'),
157 clustersToSkip = cms.InputTag(
'hiLowPtTripletStepClusters'),
158 doSeedingRegionRebuilding =
True,
159 useHitsSplitting =
True
164 hiLowPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
165 src =
'hiLowPtTripletStepTrackCandidates',
166 AlgorithmName =
'lowPtTripletStep',
167 Fitter=
'FlexibleKFFittingSmoother'
174 hiLowPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
175 src =
'hiLowPtTripletStepTracks',
177 GBRForestLabel =
'HIMVASelectorIter5',
178 GBRForestVars = [
'chi2perdofperlayer',
'dxyperdxyerror',
'dzperdzerror',
'relpterr',
'nhits',
'nlayers',
'eta'],
179 trackSelectors= cms.VPSet(
180 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
181 name =
'hiLowPtTripletStepLoose',
184 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
185 name =
'hiLowPtTripletStepTight',
186 preFilterName =
'hiLowPtTripletStepLoose',
190 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
191 name =
'hiLowPtTripletStep',
192 preFilterName =
'hiLowPtTripletStepTight',
198 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
199 trackingPhase1.toModify(hiLowPtTripletStepSelector, useAnyMVA =
False)
200 trackingPhase1.toModify(hiLowPtTripletStepSelector, trackSelectors= cms.VPSet(
201 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
202 name =
'hiLowPtTripletStepLoose',
205 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
206 name =
'hiLowPtTripletStepTight',
207 preFilterName =
'hiLowPtTripletStepLoose',
211 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
212 name =
'hiLowPtTripletStep',
213 preFilterName =
'hiLowPtTripletStepTight',
222 hiLowPtTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
223 TrackProducers = [
'hiLowPtTripletStepTracks'],
225 selectedTrackQuals = [
"hiLowPtTripletStepSelector:hiLowPtTripletStep"],
227 makeReKeyedSeeds = cms.untracked.bool(
False),
233 hiLowPtTripletStepTask = cms.Task(hiLowPtTripletStepClusters,
234 hiLowPtTripletStepSeedLayers,
235 hiLowPtTripletStepTrackingRegions,
236 hiLowPtTripletStepTracksHitDoublets,
237 hiLowPtTripletStepTracksHitTriplets,
238 pixelFitterByHelixProjections,
239 hiLowPtTripletStepPixelTracksFilter,
240 hiLowPtTripletStepPixelTracks,hiLowPtTripletStepSeeds,
241 hiLowPtTripletStepTrackCandidates,
242 hiLowPtTripletStepTracks,
243 hiLowPtTripletStepSelector,
244 hiLowPtTripletStepQual
246 hiLowPtTripletStep = cms.Sequence(hiLowPtTripletStepTask)
247 hiLowPtTripletStepTask_Phase1 = hiLowPtTripletStepTask.copy()
248 hiLowPtTripletStepTask_Phase1.replace(hiLowPtTripletStepTracksHitDoublets, hiLowPtTripletStepTracksHitDoubletsCA)
249 hiLowPtTripletStepTask_Phase1.replace(hiLowPtTripletStepTracksHitTriplets, hiLowPtTripletStepTracksHitTripletsCA)
250 trackingPhase1.toReplaceWith(hiLowPtTripletStepTask, hiLowPtTripletStepTask_Phase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...