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,
86 hiDetachedQuadStepPixelTracks = cms.EDProducer(
"PixelTrackProducer",
88 passLabel = cms.string(
'Pixel detached tracks with vertex constraint'),
91 SeedingHitSets = cms.InputTag(
"hiDetachedQuadStepTracksHitQuadrupletsCA"),
94 Fitter = cms.InputTag(
"pixelFitterByHelixProjections"),
97 Filter = cms.InputTag(
"hiDetachedQuadStepPixelTracksFilter"),
100 Cleaner = cms.string(
"trackCleaner")
104 import RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi
105 hiDetachedQuadStepSeeds = RecoPixelVertexing.PixelLowPtUtilities.TrackSeeds_cfi.pixelTrackSeeds.clone(
106 InputCollection =
'hiDetachedQuadStepPixelTracks'
111 hiDetachedQuadStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
113 minimumNumberOfHits = 3,
119 hiDetachedQuadStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
120 ComponentName =
'hiDetachedQuadStepChi2Est',
127 hiDetachedQuadStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
128 MeasurementTrackerName =
'',
129 trajectoryFilter = dict(refToPSet_ =
'hiDetachedQuadStepTrajectoryFilter'),
131 estimator =
'hiDetachedQuadStepChi2Est',
132 maxDPhiForLooperReconstruction = cms.double(2.0),
135 maxPtForLooperReconstruction = cms.double(0.7),
136 alwaysUseInvalidHits =
False
144 hiDetachedQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
145 src =
'hiDetachedQuadStepSeeds',
147 numHitsForSeedCleaner = cms.int32(50),
148 onlyPixelHitsForSeedCleaner = cms.bool(
True),
149 TrajectoryBuilderPSet = dict(refToPSet_ =
'hiDetachedQuadStepTrajectoryBuilder'),
150 TrajectoryBuilder =
'hiDetachedQuadStepTrajectoryBuilder',
151 clustersToSkip = cms.InputTag(
'hiDetachedQuadStepClusters'),
152 doSeedingRegionRebuilding =
True,
153 useHitsSplitting =
True
159 hiDetachedQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
160 src =
'hiDetachedQuadStepTrackCandidates',
161 AlgorithmName =
'detachedQuadStep',
162 Fitter=
'FlexibleKFFittingSmoother'
167 hiDetachedQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
168 src =
'hiDetachedQuadStepTracks',
170 GBRForestLabel =
'HIMVASelectorIter10',
171 GBRForestVars = [
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta'],
172 trackSelectors= cms.VPSet(
173 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
174 name =
'hiDetachedQuadStepLoose',
175 applyAdaptedPVCuts =
False,
178 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
179 name =
'hiDetachedQuadStepTight',
180 preFilterName =
'hiDetachedQuadStepLoose',
181 applyAdaptedPVCuts =
True,
185 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
186 name =
'hiDetachedQuadStep',
187 preFilterName =
'hiDetachedQuadStepTight',
188 applyAdaptedPVCuts =
True,
194 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
195 trackingPhase1.toModify(hiDetachedQuadStepSelector,
197 trackSelectors= cms.VPSet(
198 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
199 name =
'hiDetachedQuadStepLoose',
200 applyAdaptedPVCuts =
False,
203 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
204 name =
'hiDetachedQuadStepTight',
205 preFilterName =
'hiDetachedQuadStepLoose',
206 applyAdaptedPVCuts =
False,
210 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
211 name =
'hiDetachedQuadStep',
212 preFilterName =
'hiDetachedQuadStepTight',
213 applyAdaptedPVCuts =
False,
221 hiDetachedQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
222 TrackProducers = [
'hiDetachedQuadStepTracks'],
224 selectedTrackQuals = [
"hiDetachedQuadStepSelector:hiDetachedQuadStep"],
226 makeReKeyedSeeds = cms.untracked.bool(
False),
230 hiDetachedQuadStepTask = cms.Task(hiDetachedQuadStepClusters,
231 hiDetachedQuadStepSeedLayers,
232 hiDetachedQuadStepTrackingRegions,
233 hiDetachedQuadStepTracksHitDoubletsCA,
234 hiDetachedQuadStepTracksHitQuadrupletsCA,
235 pixelFitterByHelixProjections,
236 hiDetachedQuadStepPixelTracksFilter,
237 hiDetachedQuadStepPixelTracks,
238 hiDetachedQuadStepSeeds,
239 hiDetachedQuadStepTrackCandidates,
240 hiDetachedQuadStepTracks,
241 hiDetachedQuadStepSelector,
242 hiDetachedQuadStepQual)
243 hiDetachedQuadStep = cms.Sequence(hiDetachedQuadStepTask)