1 from __future__
import absolute_import
3 from .HIPixelTripletSeeds_cff
import *
4 from .HIPixel3PrimTracks_cfi
import *
6 hiDetachedQuadStepClusters = cms.EDProducer(
"HITrackClusterRemover",
7 clusterLessSolution = cms.bool(
True),
8 trajectories = cms.InputTag(
"hiHighPtTripletStepTracks"),
9 overrideTrkQuals = cms.InputTag(
"hiHighPtTripletStepSelector",
"hiHighPtTripletStep"),
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 hiDetachedQuadStepSeedLayers = hiPixelLayerQuadruplets.clone(
27 BPix = dict(skipClusters = cms.InputTag(
'hiDetachedQuadStepClusters')),
28 FPix = dict(skipClusters = cms.InputTag(
'hiDetachedQuadStepClusters'))
32 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi
import hitPairEDProducer
as _hitPairEDProducer
33 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi
import pixelTripletHLTEDProducer
as _pixelTripletHLTEDProducer
40 hiDetachedQuadStepTrackingRegions = _globalTrackingRegionWithVertices.clone(RegionPSet = dict(
42 useMultipleScattering =
False,
43 useFakeVertices =
False,
44 beamSpot =
"offlineBeamSpot",
49 VertexCollection =
"hiSelectedPixelVertex",
51 useFoundVertices =
True,
56 hiDetachedQuadStepTracksHitDoubletsCA = _hitPairEDProducer.clone(
58 seedingLayers =
"hiDetachedQuadStepSeedLayers",
59 trackingRegions =
"hiDetachedQuadStepTrackingRegions",
60 maxElement = 50000000,
61 produceIntermediateHitDoublets =
True,
65 from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi
import caHitQuadrupletEDProducer
as _caHitQuadrupletEDProducer
66 hiDetachedQuadStepTracksHitQuadrupletsCA = _caHitQuadrupletEDProducer.clone(
67 doublets =
"hiDetachedQuadStepTracksHitDoubletsCA",
68 extraHitRPhitolerance = 0.0,
71 value1 = 500, value2 = 100,
73 useBendingCorrection =
True,
75 fitFastCircleChi2Cut =
True,
80 hiDetachedQuadStepPixelTracksFilter = hiFilter.clone(
81 nSigmaTipMaxTolerance = 0,
87 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi
as _mod
89 hiDetachedQuadStepPixelTracks = _mod.pixelTracks.clone(
90 passLabel =
'Pixel detached tracks with vertex constraint',
92 SeedingHitSets =
"hiDetachedQuadStepTracksHitQuadrupletsCA",
94 Fitter =
"pixelFitterByHelixProjections",
96 Filter =
"hiDetachedQuadStepPixelTracksFilter",
98 Cleaner =
"trackCleaner"
102 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
103 hiDetachedQuadStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
104 InputCollection =
'hiDetachedQuadStepPixelTracks'
109 hiDetachedQuadStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
111 minimumNumberOfHits = 3,
117 hiDetachedQuadStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
118 ComponentName =
'hiDetachedQuadStepChi2Est',
125 hiDetachedQuadStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
126 MeasurementTrackerName =
'',
127 trajectoryFilter = dict(refToPSet_ =
'hiDetachedQuadStepTrajectoryFilter'),
129 estimator =
'hiDetachedQuadStepChi2Est',
130 maxDPhiForLooperReconstruction = cms.double(2.0),
133 maxPtForLooperReconstruction = cms.double(0.7),
134 alwaysUseInvalidHits =
False
142 hiDetachedQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
143 src =
'hiDetachedQuadStepSeeds',
145 numHitsForSeedCleaner = cms.int32(50),
146 onlyPixelHitsForSeedCleaner = cms.bool(
True),
147 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiDetachedQuadStepTrajectoryBuilder'),
148 TrajectoryBuilder =
'hiDetachedQuadStepTrajectoryBuilder',
149 clustersToSkip = cms.InputTag(
'hiDetachedQuadStepClusters'),
150 doSeedingRegionRebuilding =
True,
151 useHitsSplitting =
True
157 hiDetachedQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
158 src =
'hiDetachedQuadStepTrackCandidates',
159 AlgorithmName =
'detachedQuadStep',
160 Fitter=
'FlexibleKFFittingSmoother'
165 hiDetachedQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
166 src =
'hiDetachedQuadStepTracks',
168 GBRForestLabel =
'HIMVASelectorIter10',
169 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
170 trackSelectors= cms.VPSet(
171 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
172 name =
'hiDetachedQuadStepLoose',
173 applyAdaptedPVCuts =
False,
176 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
177 name =
'hiDetachedQuadStepTight',
178 preFilterName =
'hiDetachedQuadStepLoose',
179 applyAdaptedPVCuts =
True,
183 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
184 name =
'hiDetachedQuadStep',
185 preFilterName =
'hiDetachedQuadStepTight',
186 applyAdaptedPVCuts =
True,
192 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
193 trackingPhase1.toModify(hiDetachedQuadStepSelector,
195 trackSelectors= cms.VPSet(
196 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
197 name =
'hiDetachedQuadStepLoose',
198 applyAdaptedPVCuts =
False,
201 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
202 name =
'hiDetachedQuadStepTight',
203 preFilterName =
'hiDetachedQuadStepLoose',
204 applyAdaptedPVCuts =
False,
208 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
209 name =
'hiDetachedQuadStep',
210 preFilterName =
'hiDetachedQuadStepTight',
211 applyAdaptedPVCuts =
False,
219 hiDetachedQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
220 TrackProducers = [
'hiDetachedQuadStepTracks'],
222 selectedTrackQuals = [
"hiDetachedQuadStepSelector:hiDetachedQuadStep"],
224 makeReKeyedSeeds = cms.untracked.bool(
False),
228 hiDetachedQuadStepTask = cms.Task(hiDetachedQuadStepClusters,
229 hiDetachedQuadStepSeedLayers,
230 hiDetachedQuadStepTrackingRegions,
231 hiDetachedQuadStepTracksHitDoubletsCA,
232 hiDetachedQuadStepTracksHitQuadrupletsCA,
233 pixelFitterByHelixProjections,
234 hiDetachedQuadStepPixelTracksFilter,
235 hiDetachedQuadStepPixelTracks,
236 hiDetachedQuadStepSeeds,
237 hiDetachedQuadStepTrackCandidates,
238 hiDetachedQuadStepTracks,
239 hiDetachedQuadStepSelector,
240 hiDetachedQuadStepQual)
241 hiDetachedQuadStep = cms.Sequence(hiDetachedQuadStepTask)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...