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,
88 hiLowPtQuadStepPixelTracks = cms.EDProducer(
"PixelTrackProducer",
90 passLabel = cms.string(
'Pixel detached tracks with vertex constraint'),
93 SeedingHitSets = cms.InputTag(
"hiLowPtQuadStepTracksHitQuadrupletsCA"),
96 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
99 Filter = cms.InputTag(
"hiLowPtQuadStepPixelTracksFilter"),
102 Cleaner = cms.string(
"trackCleaner")
106 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
107 hiLowPtQuadStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
108 InputCollection =
'hiLowPtQuadStepPixelTracks'
113 hiLowPtQuadStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
115 minimumNumberOfHits = 3,
121 hiLowPtQuadStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
122 ComponentName =
'hiLowPtQuadStepChi2Est',
130 hiLowPtQuadStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
131 MeasurementTrackerName =
'',
132 trajectoryFilter = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryFilter'),
134 estimator =
'hiLowPtQuadStepChi2Est',
135 maxDPhiForLooperReconstruction = cms.double(2.0),
138 maxPtForLooperReconstruction = cms.double(0.7),
139 alwaysUseInvalidHits =
False
147 hiLowPtQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
148 src =
'hiLowPtQuadStepSeeds',
150 numHitsForSeedCleaner = cms.int32(50),
151 onlyPixelHitsForSeedCleaner = cms.bool(
True),
152 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiLowPtQuadStepTrajectoryBuilder'),
153 TrajectoryBuilder =
'hiLowPtQuadStepTrajectoryBuilder',
154 clustersToSkip = cms.InputTag(
'hiLowPtQuadStepClusters'),
155 doSeedingRegionRebuilding =
True,
156 useHitsSplitting =
True
162 hiLowPtQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
163 src =
'hiLowPtQuadStepTrackCandidates',
164 AlgorithmName =
'lowPtQuadStep',
165 Fitter =
'FlexibleKFFittingSmoother'
170 hiLowPtQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
171 src =
'hiLowPtQuadStepTracks',
173 GBRForestLabel =
'HIMVASelectorIter8',
174 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
175 trackSelectors = cms.VPSet(
176 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
177 name =
'hiLowPtQuadStepLoose',
178 applyAdaptedPVCuts =
False,
181 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
182 name =
'hiLowPtQuadStepTight',
183 preFilterName =
'hiLowPtQuadStepLoose',
184 applyAdaptedPVCuts =
False,
188 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
189 name =
'hiLowPtQuadStep',
190 preFilterName =
'hiLowPtQuadStepTight',
191 applyAdaptedPVCuts =
False,
197 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
198 trackingPhase1.toModify(hiLowPtQuadStepSelector, useAnyMVA =
False)
199 trackingPhase1.toModify(hiLowPtQuadStepSelector, trackSelectors = cms.VPSet(
200 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
201 name =
'hiLowPtQuadStepLoose',
202 applyAdaptedPVCuts =
False,
205 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
206 name =
'hiLowPtQuadStepTight',
207 preFilterName =
'hiLowPtQuadStepLoose',
208 applyAdaptedPVCuts =
False,
212 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
213 name =
'hiLowPtQuadStep',
214 preFilterName =
'hiLowPtQuadStepTight',
215 applyAdaptedPVCuts =
False,
223 hiLowPtQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
224 TrackProducers = [
'hiLowPtQuadStepTracks'],
226 selectedTrackQuals = [
"hiLowPtQuadStepSelector:hiLowPtQuadStep"],
228 makeReKeyedSeeds = cms.untracked.bool(
False),
232 hiLowPtQuadStepTask = cms.Task(hiLowPtQuadStepClusters,
233 hiLowPtQuadStepSeedLayers,
234 hiLowPtQuadStepTrackingRegions,
235 hiLowPtQuadStepTracksHitDoubletsCA,
236 hiLowPtQuadStepTracksHitQuadrupletsCA,
237 pixelFitterByHelixProjections,
238 hiLowPtQuadStepPixelTracksFilter,
239 hiLowPtQuadStepPixelTracks,
240 hiLowPtQuadStepSeeds,
241 hiLowPtQuadStepTrackCandidates,
242 hiLowPtQuadStepTracks,
243 hiLowPtQuadStepSelector,
245 hiLowPtQuadStep = cms.Sequence(hiLowPtQuadStepTask)