1 from __future__
import absolute_import
3 from .HIPixelTripletSeeds_cff
import *
4 from .HIPixel3PrimTracks_cfi
import *
6 hiHighPtTripletStepClusters = cms.EDProducer(
"HITrackClusterRemover",
7 clusterLessSolution = cms.bool(
True),
8 trajectories = cms.InputTag(
"hiLowPtQuadStepTracks"),
9 overrideTrkQuals = cms.InputTag(
"hiLowPtQuadStepSelector",
"hiLowPtQuadStep"),
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)
26 hiHighPtTripletStepSeedLayers = highPtTripletStepSeedLayers.clone(
27 BPix = dict(skipClusters =
'hiHighPtTripletStepClusters'),
28 FPix = dict(skipClusters =
'hiHighPtTripletStepClusters')
33 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
34 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
41 hiHighPtTripletStepTrackingRegions = _globalTrackingRegionWithVertices.clone(RegionPSet=dict(
43 useMultipleScattering =
False,
44 useFakeVertices =
False,
45 beamSpot =
"offlineBeamSpot",
50 VertexCollection =
"hiSelectedPixelVertex",
52 useFoundVertices =
True,
55 hiHighPtTripletStepTracksHitDoubletsCA = _hitPairEDProducer.clone(
57 seedingLayers =
"hiHighPtTripletStepSeedLayers",
58 trackingRegions =
"hiHighPtTripletStepTrackingRegions",
59 maxElement = 50000000,
60 produceIntermediateHitDoublets =
True,
64 from RecoPixelVertexing.PixelTriplets.caHitTripletEDProducer_cfi
import caHitTripletEDProducer
as _caHitTripletEDProducer
65 hiHighPtTripletStepTracksHitTripletsCA = _caHitTripletEDProducer.clone(
66 doublets =
"hiHighPtTripletStepTracksHitDoubletsCA",
67 extraHitRPhitolerance = 0.0,
68 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(),
71 value1 = 100, value2 = 6,
73 useBendingCorrection =
True,
79 hiHighPtTripletStepPixelTracksFilter = hiFilter.clone(
80 nSigmaTipMaxTolerance = 0,
86 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
as _mod
88 hiHighPtTripletStepPixelTracks = _mod.pixelTracks.clone(
89 passLabel =
'Pixel detached tracks with vertex constraint',
91 SeedingHitSets =
"hiHighPtTripletStepTracksHitTripletsCA",
93 Fitter =
"pixelFitterByHelixProjections",
95 Filter =
"hiHighPtTripletStepPixelTracksFilter",
97 Cleaner =
"trackCleaner" 100 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
101 hiHighPtTripletStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
102 InputCollection =
'hiHighPtTripletStepPixelTracks' 107 hiHighPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
109 minimumNumberOfHits = 3,
115 hiHighPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
116 ComponentName =
'hiHighPtTripletStepChi2Est',
124 hiHighPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
125 trajectoryFilter = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryFilter'),
127 estimator =
'hiHighPtTripletStepChi2Est',
128 maxDPhiForLooperReconstruction = 2.0,
131 maxPtForLooperReconstruction = 0.7,
132 alwaysUseInvalidHits =
False 140 hiHighPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
141 src =
'hiHighPtTripletStepSeeds',
143 numHitsForSeedCleaner = 50,
144 onlyPixelHitsForSeedCleaner =
True,
145 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryBuilder'),
146 clustersToSkip =
'hiHighPtTripletStepClusters',
147 doSeedingRegionRebuilding =
True,
148 useHitsSplitting =
True 154 hiHighPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
155 src =
'hiHighPtTripletStepTrackCandidates',
156 AlgorithmName =
'highPtTripletStep',
157 Fitter =
'FlexibleKFFittingSmoother' 162 hiHighPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
163 src =
'hiHighPtTripletStepTracks',
165 GBRForestLabel =
'HIMVASelectorIter9',
166 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
167 trackSelectors = cms.VPSet(
168 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
169 name =
'hiHighPtTripletStepLoose',
170 applyAdaptedPVCuts =
False,
173 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
174 name =
'hiHighPtTripletStepTight',
175 preFilterName =
'hiHighPtTripletStepLoose',
176 applyAdaptedPVCuts =
False,
180 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
181 name =
'hiHighPtTripletStep',
182 preFilterName =
'hiHighPtTripletStepTight',
183 applyAdaptedPVCuts =
False,
189 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
190 trackingPhase1.toModify(hiHighPtTripletStepSelector, useAnyMVA =
False)
191 trackingPhase1.toModify(hiHighPtTripletStepSelector, trackSelectors= cms.VPSet(
192 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
193 name =
'hiHighPtTripletStepLoose',
194 applyAdaptedPVCuts =
False,
197 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
198 name =
'hiHighPtTripletStepTight',
199 preFilterName =
'hiHighPtTripletStepLoose',
200 applyAdaptedPVCuts =
False,
204 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
205 name =
'hiHighPtTripletStep',
206 preFilterName =
'hiHighPtTripletStepTight',
207 applyAdaptedPVCuts =
False,
215 hiHighPtTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
216 TrackProducers = [
'hiHighPtTripletStepTracks'],
218 selectedTrackQuals = [
"hiHighPtTripletStepSelector:hiHighPtTripletStep"],
220 makeReKeyedSeeds = cms.untracked.bool(
False),
224 hiHighPtTripletStepTask = cms.Task(hiHighPtTripletStepClusters,
225 hiHighPtTripletStepSeedLayers,
226 hiHighPtTripletStepTrackingRegions,
227 hiHighPtTripletStepTracksHitDoubletsCA,
228 hiHighPtTripletStepTracksHitTripletsCA,
229 pixelFitterByHelixProjections,
230 hiHighPtTripletStepPixelTracksFilter,
231 hiHighPtTripletStepPixelTracks,
232 hiHighPtTripletStepSeeds,
233 hiHighPtTripletStepTrackCandidates,
234 hiHighPtTripletStepTracks,
235 hiHighPtTripletStepSelector,
236 hiHighPtTripletStepQual)
237 hiHighPtTripletStep = cms.Sequence(hiHighPtTripletStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...