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 hiDetachedQuadStepSeedLayers.BPix.skipClusters = cms.InputTag(
'hiDetachedQuadStepClusters')
28 hiDetachedQuadStepSeedLayers.FPix.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,
114 minPt = cms.double(0.075),
119 hiDetachedQuadStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
120 ComponentName = cms.string(
'hiDetachedQuadStepChi2Est'),
121 nSigma = cms.double(3.0),
122 MaxChi2 = cms.double(9.0)
128 hiDetachedQuadStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
129 MeasurementTrackerName =
'',
130 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'hiDetachedQuadStepTrajectoryFilter')),
132 estimator = cms.string(
'hiDetachedQuadStepChi2Est'),
133 maxDPhiForLooperReconstruction = cms.double(2.0),
136 maxPtForLooperReconstruction = cms.double(0.7),
137 alwaysUseInvalidHits = cms.bool(
False)
145 hiDetachedQuadStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
146 src = cms.InputTag(
'hiDetachedQuadStepSeeds'),
148 numHitsForSeedCleaner = cms.int32(50),
149 onlyPixelHitsForSeedCleaner = cms.bool(
True),
150 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'hiDetachedQuadStepTrajectoryBuilder')),
151 TrajectoryBuilder = cms.string(
'hiDetachedQuadStepTrajectoryBuilder'),
152 clustersToSkip = cms.InputTag(
'hiDetachedQuadStepClusters'),
153 doSeedingRegionRebuilding =
True,
154 useHitsSplitting =
True
160 hiDetachedQuadStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
161 src =
'hiDetachedQuadStepTrackCandidates',
162 AlgorithmName = cms.string(
'detachedQuadStep'),
163 Fitter=cms.string(
'FlexibleKFFittingSmoother')
168 hiDetachedQuadStepSelector = RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiMultiTrackSelector.clone(
169 src=
'hiDetachedQuadStepTracks',
170 useAnyMVA = cms.bool(
True),
171 GBRForestLabel = cms.string(
'HIMVASelectorIter10'),
172 GBRForestVars = cms.vstring([
'chi2perdofperlayer',
'nhits',
'nlayers',
'eta']),
173 trackSelectors= cms.VPSet(
174 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
175 name =
'hiDetachedQuadStepLoose',
176 applyAdaptedPVCuts = cms.bool(
False),
177 useMVA = cms.bool(
False),
179 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
180 name =
'hiDetachedQuadStepTight',
181 preFilterName =
'hiDetachedQuadStepLoose',
182 applyAdaptedPVCuts = cms.bool(
True),
183 useMVA = cms.bool(
True),
184 minMVA = cms.double(-0.2)
186 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
187 name =
'hiDetachedQuadStep',
188 preFilterName =
'hiDetachedQuadStepTight',
189 applyAdaptedPVCuts = cms.bool(
True),
190 useMVA = cms.bool(
True),
191 minMVA = cms.double(-0.09)
195 from Configuration.Eras.Modifier_trackingPhase1_cff
import trackingPhase1
196 trackingPhase1.toModify(hiDetachedQuadStepSelector, useAnyMVA = cms.bool(
False))
197 trackingPhase1.toModify(hiDetachedQuadStepSelector, trackSelectors= cms.VPSet(
198 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiLooseMTS.clone(
199 name =
'hiDetachedQuadStepLoose',
200 applyAdaptedPVCuts = cms.bool(
False),
201 useMVA = cms.bool(
False),
203 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiTightMTS.clone(
204 name =
'hiDetachedQuadStepTight',
205 preFilterName =
'hiDetachedQuadStepLoose',
206 applyAdaptedPVCuts = cms.bool(
False),
207 useMVA = cms.bool(
False),
208 minMVA = cms.double(-0.2)
210 RecoHI.HiTracking.hiMultiTrackSelector_cfi.hiHighpurityMTS.clone(
211 name =
'hiDetachedQuadStep',
212 preFilterName =
'hiDetachedQuadStepTight',
213 applyAdaptedPVCuts = cms.bool(
False),
214 useMVA = cms.bool(
False),
215 minMVA = cms.double(-0.09)
221 hiDetachedQuadStepQual = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
222 TrackProducers=cms.VInputTag(cms.InputTag(
'hiDetachedQuadStepTracks')),
223 hasSelector=cms.vint32(1),
224 selectedTrackQuals = cms.VInputTag(cms.InputTag(
"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)