1 from __future__
import absolute_import
3 from .HIPixelTripletSeeds_cff
import *
4 from .HIPixel3PrimTracks_cfi
import *
6 hiLowPtQuadStepClusters = cms.EDProducer(
"HITrackClusterRemover",
7 clusterLessSolution = cms.bool(
True),
8 trajectories = cms.InputTag(
"hiGlobalPrimTracks"),
9 overrideTrkQuals = cms.InputTag(
'hiInitialStepSelector',
'hiInitialStep'),
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 hiLowPtQuadStepSeedLayers = hiPixelLayerQuadruplets.clone(
27 BPix = dict(skipClusters = cms.InputTag(
'hiLowPtQuadStepClusters')),
28 FPix = dict(skipClusters = cms.InputTag(
'hiLowPtQuadStepClusters'))
33 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
34 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
41 hiLowPtQuadStepTrackingRegions = _globalTrackingRegionWithVertices.clone(RegionPSet=dict(
43 useMultipleScattering =
False,
44 useFakeVertices =
False,
45 beamSpot =
"offlineBeamSpot",
50 VertexCollection =
"hiSelectedPixelVertex",
52 useFoundVertices =
True,
55 hiLowPtQuadStepTracksHitDoubletsCA = _hitPairEDProducer.clone(
57 seedingLayers =
"hiLowPtQuadStepSeedLayers",
58 trackingRegions =
"hiLowPtQuadStepTrackingRegions",
59 maxElement = 50000000,
60 produceIntermediateHitDoublets =
True,
64 import RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
65 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
66 hiLowPtQuadStepTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
67 doublets =
"hiLowPtQuadStepTracksHitDoubletsCA",
68 extraHitRPhitolerance = 0.0,
69 SeedComparitorPSet = RecoPixelVertexing.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi.LowPtClusterShapeSeedComparitor.clone(),
72 value1 = 1000, value2 = 150,
74 useBendingCorrection =
True,
76 fitFastCircleChi2Cut =
True,
82 hiLowPtQuadStepPixelTracksFilter = hiFilter.clone(
83 nSigmaTipMaxTolerance = 0,
89 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
as _mod
91 hiLowPtQuadStepPixelTracks = _mod.pixelTracks.clone(
92 passLabel =
'Pixel detached tracks with vertex constraint',
94 SeedingHitSets =
"hiLowPtQuadStepTracksHitQuadrupletsCA",
96 Fitter =
"pixelFitterByHelixProjections",
98 Filter =
"hiLowPtQuadStepPixelTracksFilter",
100 Cleaner =
"trackCleaner"
104 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
105 hiLowPtQuadStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
106 InputCollection =
'hiLowPtQuadStepPixelTracks'
111 hiLowPtQuadStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
113 minimumNumberOfHits = 3,
119 hiLowPtQuadStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
120 ComponentName =
'hiLowPtQuadStepChi2Est',
128 hiLowPtQuadStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
129 MeasurementTrackerName =
'',
130 trajectoryFilter = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryFilter'),
132 estimator =
'hiLowPtQuadStepChi2Est',
133 maxDPhiForLooperReconstruction = cms.double(2.0),
136 maxPtForLooperReconstruction = cms.double(0.7),
137 alwaysUseInvalidHits =
False
145 hiLowPtQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
146 src =
'hiLowPtQuadStepSeeds',
148 numHitsForSeedCleaner = cms.int32(50),
149 onlyPixelHitsForSeedCleaner = cms.bool(
True),
150 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryBuilder'),
151 TrajectoryBuilder =
'hiLowPtQuadStepTrajectoryBuilder',
152 clustersToSkip = cms.InputTag(
'hiLowPtQuadStepClusters'),
153 doSeedingRegionRebuilding =
True,
154 useHitsSplitting =
True
160 hiLowPtQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
161 src =
'hiLowPtQuadStepTrackCandidates',
162 AlgorithmName =
'lowPtQuadStep',
163 Fitter =
'FlexibleKFFittingSmoother'
168 hiLowPtQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
169 src =
'hiLowPtQuadStepTracks',
171 GBRForestLabel =
'HIMVASelectorIter8',
172 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
173 trackSelectors = cms.VPSet(
174 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
175 name =
'hiLowPtQuadStepLoose',
176 applyAdaptedPVCuts =
False,
179 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
180 name =
'hiLowPtQuadStepTight',
181 preFilterName =
'hiLowPtQuadStepLoose',
182 applyAdaptedPVCuts =
False,
186 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
187 name =
'hiLowPtQuadStep',
188 preFilterName =
'hiLowPtQuadStepTight',
189 applyAdaptedPVCuts =
False,
195 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
196 trackingPhase1.toModify(hiLowPtQuadStepSelector, useAnyMVA =
False)
197 trackingPhase1.toModify(hiLowPtQuadStepSelector, trackSelectors = cms.VPSet(
198 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
199 name =
'hiLowPtQuadStepLoose',
200 applyAdaptedPVCuts =
False,
203 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
204 name =
'hiLowPtQuadStepTight',
205 preFilterName =
'hiLowPtQuadStepLoose',
206 applyAdaptedPVCuts =
False,
210 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
211 name =
'hiLowPtQuadStep',
212 preFilterName =
'hiLowPtQuadStepTight',
213 applyAdaptedPVCuts =
False,
221 hiLowPtQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
222 TrackProducers = [
'hiLowPtQuadStepTracks'],
224 selectedTrackQuals = [
"hiLowPtQuadStepSelector:hiLowPtQuadStep"],
226 makeReKeyedSeeds = cms.untracked.bool(
False),
230 hiLowPtQuadStepTask = cms.Task(hiLowPtQuadStepClusters,
231 hiLowPtQuadStepSeedLayers,
232 hiLowPtQuadStepTrackingRegions,
233 hiLowPtQuadStepTracksHitDoubletsCA,
234 hiLowPtQuadStepTracksHitQuadrupletsCA,
235 pixelFitterByHelixProjections,
236 hiLowPtQuadStepPixelTracksFilter,
237 hiLowPtQuadStepPixelTracks,
238 hiLowPtQuadStepSeeds,
239 hiLowPtQuadStepTrackCandidates,
240 hiLowPtQuadStepTracks,
241 hiLowPtQuadStepSelector,
243 hiLowPtQuadStep = cms.Sequence(hiLowPtQuadStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...