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 RecoTracker.PixelSeeding.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 RecoTracker.PixelLowPtUtilities.LowPtClusterShapeSeedComparitor_cfi
65 from RecoTracker.PixelSeeding.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
66 hiLowPtQuadStepTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
67 doublets =
"hiLowPtQuadStepTracksHitDoubletsCA",
68 extraHitRPhitolerance = 0.0,
69 SeedComparitorPSet = RecoTracker.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 RecoTracker.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 RecoTracker.PixelLowPtUtilities.TrackSeeds_cfi
105 hiLowPtQuadStepSeeds = RecoTracker.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 trajectoryFilter = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryFilter'),
131 estimator =
'hiLowPtQuadStepChi2Est',
132 maxDPhiForLooperReconstruction = 2.0,
135 maxPtForLooperReconstruction = 0.7,
136 alwaysUseInvalidHits =
False 144 hiLowPtQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
145 src =
'hiLowPtQuadStepSeeds',
147 numHitsForSeedCleaner = 50,
148 onlyPixelHitsForSeedCleaner =
True,
149 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryBuilder'),
150 clustersToSkip =
'hiLowPtQuadStepClusters',
151 doSeedingRegionRebuilding =
True,
152 useHitsSplitting =
True 158 hiLowPtQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
159 src =
'hiLowPtQuadStepTrackCandidates',
160 AlgorithmName =
'lowPtQuadStep',
161 Fitter =
'FlexibleKFFittingSmoother' 166 hiLowPtQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
167 src =
'hiLowPtQuadStepTracks',
169 GBRForestLabel =
'HIMVASelectorIter8',
170 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
171 trackSelectors = cms.VPSet(
172 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
173 name =
'hiLowPtQuadStepLoose',
174 applyAdaptedPVCuts =
False,
177 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
178 name =
'hiLowPtQuadStepTight',
179 preFilterName =
'hiLowPtQuadStepLoose',
180 applyAdaptedPVCuts =
False,
184 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
185 name =
'hiLowPtQuadStep',
186 preFilterName =
'hiLowPtQuadStepTight',
187 applyAdaptedPVCuts =
False,
193 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
194 trackingPhase1.toModify(hiLowPtQuadStepSelector, useAnyMVA =
False)
195 trackingPhase1.toModify(hiLowPtQuadStepSelector, trackSelectors = cms.VPSet(
196 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
197 name =
'hiLowPtQuadStepLoose',
198 applyAdaptedPVCuts =
False,
201 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
202 name =
'hiLowPtQuadStepTight',
203 preFilterName =
'hiLowPtQuadStepLoose',
204 applyAdaptedPVCuts =
False,
208 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
209 name =
'hiLowPtQuadStep',
210 preFilterName =
'hiLowPtQuadStepTight',
211 applyAdaptedPVCuts =
False,
219 hiLowPtQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
220 TrackProducers = [
'hiLowPtQuadStepTracks'],
222 selectedTrackQuals = [
"hiLowPtQuadStepSelector:hiLowPtQuadStep"],
224 makeReKeyedSeeds = cms.untracked.bool(
False),
228 hiLowPtQuadStepTask = cms.Task(hiLowPtQuadStepClusters,
229 hiLowPtQuadStepSeedLayers,
230 hiLowPtQuadStepTrackingRegions,
231 hiLowPtQuadStepTracksHitDoubletsCA,
232 hiLowPtQuadStepTracksHitQuadrupletsCA,
233 pixelFitterByHelixProjections,
234 hiLowPtQuadStepPixelTracksFilter,
235 hiLowPtQuadStepPixelTracks,
236 hiLowPtQuadStepSeeds,
237 hiLowPtQuadStepTrackCandidates,
238 hiLowPtQuadStepTracks,
239 hiLowPtQuadStepSelector,
241 hiLowPtQuadStep = cms.Sequence(hiLowPtQuadStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...