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,
85 hiHighPtTripletStepPixelTracks = cms.EDProducer(
"PixelTrackProducer",
87 passLabel = cms.string(
'Pixel detached tracks with vertex constraint'),
90 SeedingHitSets = cms.InputTag(
"hiHighPtTripletStepTracksHitTripletsCA"),
93 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
96 Filter = cms.InputTag(
"hiHighPtTripletStepPixelTracksFilter"),
99 Cleaner = cms.string(
"trackCleaner")
103 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
104 hiHighPtTripletStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
105 InputCollection =
'hiHighPtTripletStepPixelTracks'
110 hiHighPtTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
112 minimumNumberOfHits = 3,
118 hiHighPtTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
119 ComponentName =
'hiHighPtTripletStepChi2Est',
127 hiHighPtTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
128 MeasurementTrackerName =
'',
129 trajectoryFilter = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryFilter'),
131 estimator =
'hiHighPtTripletStepChi2Est',
132 maxDPhiForLooperReconstruction = cms.double(2.0),
135 maxPtForLooperReconstruction = cms.double(0.7),
136 alwaysUseInvalidHits =
False
144 hiHighPtTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
145 src =
'hiHighPtTripletStepSeeds',
147 numHitsForSeedCleaner = cms.int32(50),
148 onlyPixelHitsForSeedCleaner = cms.bool(
True),
149 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiHighPtTripletStepTrajectoryBuilder'),
150 TrajectoryBuilder =
'hiHighPtTripletStepTrajectoryBuilder',
151 clustersToSkip = cms.InputTag(
'hiHighPtTripletStepClusters'),
152 doSeedingRegionRebuilding =
True,
153 useHitsSplitting =
True
159 hiHighPtTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
160 src =
'hiHighPtTripletStepTrackCandidates',
161 AlgorithmName =
'highPtTripletStep',
162 Fitter =
'FlexibleKFFittingSmoother'
167 hiHighPtTripletStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
168 src =
'hiHighPtTripletStepTracks',
170 GBRForestLabel =
'HIMVASelectorIter9',
171 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
172 trackSelectors = cms.VPSet(
173 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
174 name =
'hiHighPtTripletStepLoose',
175 applyAdaptedPVCuts =
False,
178 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
179 name =
'hiHighPtTripletStepTight',
180 preFilterName =
'hiHighPtTripletStepLoose',
181 applyAdaptedPVCuts =
False,
185 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
186 name =
'hiHighPtTripletStep',
187 preFilterName =
'hiHighPtTripletStepTight',
188 applyAdaptedPVCuts =
False,
194 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
195 trackingPhase1.toModify(hiHighPtTripletStepSelector, useAnyMVA =
False)
196 trackingPhase1.toModify(hiHighPtTripletStepSelector, trackSelectors= cms.VPSet(
197 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
198 name =
'hiHighPtTripletStepLoose',
199 applyAdaptedPVCuts =
False,
202 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
203 name =
'hiHighPtTripletStepTight',
204 preFilterName =
'hiHighPtTripletStepLoose',
205 applyAdaptedPVCuts =
False,
209 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
210 name =
'hiHighPtTripletStep',
211 preFilterName =
'hiHighPtTripletStepTight',
212 applyAdaptedPVCuts =
False,
220 hiHighPtTripletStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
221 TrackProducers = [
'hiHighPtTripletStepTracks'],
223 selectedTrackQuals = [
"hiHighPtTripletStepSelector:hiHighPtTripletStep"],
225 makeReKeyedSeeds = cms.untracked.bool(
False),
229 hiHighPtTripletStepTask = cms.Task(hiHighPtTripletStepClusters,
230 hiHighPtTripletStepSeedLayers,
231 hiHighPtTripletStepTrackingRegions,
232 hiHighPtTripletStepTracksHitDoubletsCA,
233 hiHighPtTripletStepTracksHitTripletsCA,
234 pixelFitterByHelixProjections,
235 hiHighPtTripletStepPixelTracksFilter,
236 hiHighPtTripletStepPixelTracks,
237 hiHighPtTripletStepSeeds,
238 hiHighPtTripletStepTrackCandidates,
239 hiHighPtTripletStepTracks,
240 hiHighPtTripletStepSelector,
241 hiHighPtTripletStepQual)
242 hiHighPtTripletStep = cms.Sequence(hiHighPtTripletStepTask)