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 MeasurementTrackerName =
'',
126 trajectoryFilter = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryFilter'),
128 estimator =
'hiHighPtTripletStepChi2Est',
129 maxDPhiForLooperReconstruction = cms.double(2.0),
132 maxPtForLooperReconstruction = cms.double(0.7),
133 alwaysUseInvalidHits =
False
141 hiHighPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
142 src =
'hiHighPtTripletStepSeeds',
144 numHitsForSeedCleaner = cms.int32(50),
145 onlyPixelHitsForSeedCleaner = cms.bool(
True),
146 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryBuilder'),
147 TrajectoryBuilder =
'hiHighPtTripletStepTrajectoryBuilder',
148 clustersToSkip = cms.InputTag(
'hiHighPtTripletStepClusters'),
149 doSeedingRegionRebuilding =
True,
150 useHitsSplitting =
True
156 hiHighPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
157 src =
'hiHighPtTripletStepTrackCandidates',
158 AlgorithmName =
'highPtTripletStep',
159 Fitter =
'FlexibleKFFittingSmoother'
164 hiHighPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
165 src =
'hiHighPtTripletStepTracks',
167 GBRForestLabel =
'HIMVASelectorIter9',
168 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
169 trackSelectors = cms.VPSet(
170 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
171 name =
'hiHighPtTripletStepLoose',
172 applyAdaptedPVCuts =
False,
175 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
176 name =
'hiHighPtTripletStepTight',
177 preFilterName =
'hiHighPtTripletStepLoose',
178 applyAdaptedPVCuts =
False,
182 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
183 name =
'hiHighPtTripletStep',
184 preFilterName =
'hiHighPtTripletStepTight',
185 applyAdaptedPVCuts =
False,
191 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
192 trackingPhase1.toModify(hiHighPtTripletStepSelector, useAnyMVA =
False)
193 trackingPhase1.toModify(hiHighPtTripletStepSelector, trackSelectors= cms.VPSet(
194 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
195 name =
'hiHighPtTripletStepLoose',
196 applyAdaptedPVCuts =
False,
199 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
200 name =
'hiHighPtTripletStepTight',
201 preFilterName =
'hiHighPtTripletStepLoose',
202 applyAdaptedPVCuts =
False,
206 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
207 name =
'hiHighPtTripletStep',
208 preFilterName =
'hiHighPtTripletStepTight',
209 applyAdaptedPVCuts =
False,
217 hiHighPtTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
218 TrackProducers = [
'hiHighPtTripletStepTracks'],
220 selectedTrackQuals = [
"hiHighPtTripletStepSelector:hiHighPtTripletStep"],
222 makeReKeyedSeeds = cms.untracked.bool(
False),
226 hiHighPtTripletStepTask = cms.Task(hiHighPtTripletStepClusters,
227 hiHighPtTripletStepSeedLayers,
228 hiHighPtTripletStepTrackingRegions,
229 hiHighPtTripletStepTracksHitDoubletsCA,
230 hiHighPtTripletStepTracksHitTripletsCA,
231 pixelFitterByHelixProjections,
232 hiHighPtTripletStepPixelTracksFilter,
233 hiHighPtTripletStepPixelTracks,
234 hiHighPtTripletStepSeeds,
235 hiHighPtTripletStepTrackCandidates,
236 hiHighPtTripletStepTracks,
237 hiHighPtTripletStepSelector,
238 hiHighPtTripletStepQual)
239 hiHighPtTripletStep = cms.Sequence(hiHighPtTripletStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...