1 import FWCore.ParameterSet.Config
as cms
7 mixedTripletStepClusters = trackClusterRemover.clone(
8 maxChi2 = cms.double(9.0),
9 trajectories = cms.InputTag(
"detachedTripletStepTracks"),
10 pixelClusters = cms.InputTag(
"siPixelClusters"),
11 stripClusters = cms.InputTag(
"siStripClusters"),
12 oldClusterRemovalInfo = cms.InputTag(
"detachedTripletStepClusters"),
13 overrideTrkQuals = cms.InputTag(
'detachedTripletStep'),
14 TrackQuality = cms.string(
'highPurity'),
15 minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
19 mixedTripletStepSeedLayersA = cms.EDProducer(
"SeedingLayersEDProducer",
20 layerList = cms.vstring(
'BPix1+BPix2+BPix3',
21 'BPix1+BPix2+FPix1_pos',
'BPix1+BPix2+FPix1_neg',
22 'BPix1+FPix1_pos+FPix2_pos',
'BPix1+FPix1_neg+FPix2_neg',
23 'BPix2+FPix1_pos+FPix2_pos',
'BPix2+FPix1_neg+FPix2_neg',
24 'FPix1_pos+FPix2_pos+TEC1_pos',
'FPix1_neg+FPix2_neg+TEC1_neg',
25 'FPix2_pos+TEC2_pos+TEC3_pos',
'FPix2_neg+TEC2_neg+TEC3_neg'),
27 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutNone')),
28 HitProducer = cms.string(
'siPixelRecHits'),
29 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
32 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutNone')),
33 HitProducer = cms.string(
'siPixelRecHits'),
34 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
37 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
38 useRingSlector = cms.bool(
True),
39 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutNone')),
40 minRing = cms.int32(1),
41 maxRing = cms.int32(1),
42 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
48 PixelTripletLargeTipGenerator.extraHitRZtolerance = 0.0
49 PixelTripletLargeTipGenerator.extraHitRPhitolerance = 0.0
51 mixedTripletStepSeedsA = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone()
52 mixedTripletStepSeedsA.OrderedHitsFactoryPSet.SeedingLayers =
'mixedTripletStepSeedLayersA'
53 mixedTripletStepSeedsA.OrderedHitsFactoryPSet.GeneratorPSet = cms.PSet(PixelTripletLargeTipGenerator)
54 mixedTripletStepSeedsA.SeedCreatorPSet.ComponentName =
'SeedFromConsecutiveHitsTripletOnlyCreator'
55 mixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.ptMin = 0.4
56 mixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.originHalfLength = 10.0
57 mixedTripletStepSeedsA.RegionFactoryPSet.RegionPSet.originRadius = 1.5
59 mixedTripletStepSeedsA.SeedComparitorPSet = cms.PSet(
60 ComponentName = cms.string(
'PixelClusterShapeSeedComparitor'),
61 FilterAtHelixStage = cms.bool(
False),
62 FilterPixelHits = cms.bool(
True),
63 FilterStripHits = cms.bool(
True),
64 ClusterShapeHitFilterName = cms.string(
'ClusterShapeHitFilter'),
65 ClusterShapeCacheSrc = cms.InputTag(
'siPixelClusterShapeCache')
69 mixedTripletStepSeedLayersB = cms.EDProducer(
"SeedingLayersEDProducer",
70 layerList = cms.vstring(
'BPix2+BPix3+TIB1',
'BPix2+BPix3+TIB2'),
72 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutNone')),
73 HitProducer = cms.string(
'siPixelRecHits'),
74 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
77 matchedRecHits = cms.InputTag(
"siStripMatchedRecHits",
"matchedRecHit"),
78 TTRHBuilder = cms.string(
'WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string(
'SiStripClusterChargeCutNone')),
79 skipClusters = cms.InputTag(
'mixedTripletStepClusters')
85 PixelTripletLargeTipGenerator.extraHitRZtolerance = 0.0
86 PixelTripletLargeTipGenerator.extraHitRPhitolerance = 0.0
88 mixedTripletStepSeedsB = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone()
89 mixedTripletStepSeedsB.OrderedHitsFactoryPSet.SeedingLayers =
'mixedTripletStepSeedLayersB'
90 mixedTripletStepSeedsB.OrderedHitsFactoryPSet.GeneratorPSet = cms.PSet(PixelTripletLargeTipGenerator)
91 mixedTripletStepSeedsB.SeedCreatorPSet.ComponentName =
'SeedFromConsecutiveHitsTripletOnlyCreator'
92 mixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.ptMin = 0.6
93 mixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.originHalfLength = 10.0
94 mixedTripletStepSeedsB.RegionFactoryPSet.RegionPSet.originRadius = 1.5
96 mixedTripletStepSeedsB.SeedComparitorPSet = cms.PSet(
97 ComponentName = cms.string(
'PixelClusterShapeSeedComparitor'),
98 FilterAtHelixStage = cms.bool(
False),
99 FilterPixelHits = cms.bool(
True),
100 FilterStripHits = cms.bool(
True),
101 ClusterShapeHitFilterName = cms.string(
'ClusterShapeHitFilter'),
102 ClusterShapeCacheSrc = cms.InputTag(
'siPixelClusterShapeCache')
106 mixedTripletStepSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone()
107 mixedTripletStepSeeds.seedCollections = cms.VInputTag(
108 cms.InputTag(
'mixedTripletStepSeedsA'),
109 cms.InputTag(
'mixedTripletStepSeedsB'),
114 mixedTripletStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
116 minimumNumberOfHits = 3,
122 mixedTripletStepPropagator = TrackingTools.MaterialEffects.MaterialPropagator_cfi.MaterialPropagator.clone(
123 ComponentName =
'mixedTripletStepPropagator',
127 mixedTripletStepPropagatorOpposite = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
128 ComponentName =
'mixedTripletStepPropagatorOpposite',
133 mixedTripletStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimatorESProducer_cfi.Chi2MeasurementEstimator.clone(
134 ComponentName = cms.string(
'mixedTripletStepChi2Est'),
135 nSigma = cms.double(3.0),
136 MaxChi2 = cms.double(16.0)
141 mixedTripletStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
142 MeasurementTrackerName =
'',
143 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'mixedTripletStepTrajectoryFilter')),
144 propagatorAlong = cms.string(
'mixedTripletStepPropagator'),
145 propagatorOpposite = cms.string(
'mixedTripletStepPropagatorOpposite'),
147 estimator = cms.string(
'mixedTripletStepChi2Est'),
148 maxDPhiForLooperReconstruction = cms.double(2.0),
149 maxPtForLooperReconstruction = cms.double(0.7)
154 mixedTripletStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
155 src = cms.InputTag(
'mixedTripletStepSeeds'),
156 clustersToSkip = cms.InputTag(
'mixedTripletStepClusters'),
158 numHitsForSeedCleaner = cms.int32(50),
161 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'mixedTripletStepTrajectoryBuilder')),
162 doSeedingRegionRebuilding =
True,
163 useHitsSplitting =
True
168 mixedTripletStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
169 ComponentName = cms.string(
'mixedTripletStepTrajectoryCleanerBySharedHits'),
170 fractionShared = cms.double(0.19),
171 allowSharedFirstHit = cms.bool(
True)
173 mixedTripletStepTrackCandidates.TrajectoryCleaner =
'mixedTripletStepTrajectoryCleanerBySharedHits'
178 mixedTripletStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
179 AlgorithmName = cms.string(
'mixedTripletStep'),
180 src =
'mixedTripletStepTrackCandidates',
181 Fitter = cms.string(
'FlexibleKFFittingSmoother')
185 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
186 mixedTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
187 src=
'mixedTripletStepTracks',
188 useAnyMVA = cms.bool(
False),
189 GBRForestLabel = cms.string(
'MVASelectorIter4'),
190 trackSelectors= cms.VPSet(
191 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
192 name =
'mixedTripletStepVtxLoose',
194 res_par = ( 0.003, 0.001 ),
196 maxNumberLostLayers = 1,
197 minNumber3DLayers = 2,
198 d0_par1 = ( 1.2, 3.0 ),
199 dz_par1 = ( 1.2, 3.0 ),
200 d0_par2 = ( 1.3, 3.0 ),
201 dz_par2 = ( 1.3, 3.0 )
203 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
204 name =
'mixedTripletStepTrkLoose',
206 res_par = ( 0.003, 0.001 ),
208 maxNumberLostLayers = 1,
209 minNumber3DLayers = 3,
210 d0_par1 = ( 1.2, 4.0 ),
211 dz_par1 = ( 1.2, 4.0 ),
212 d0_par2 = ( 1.2, 4.0 ),
213 dz_par2 = ( 1.2, 4.0 )
215 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
216 name =
'mixedTripletStepVtxTight',
217 preFilterName =
'mixedTripletStepVtxLoose',
219 res_par = ( 0.003, 0.001 ),
221 maxNumberLostLayers = 1,
222 minNumber3DLayers = 3,
223 d0_par1 = ( 1.1, 3.0 ),
224 dz_par1 = ( 1.1, 3.0 ),
225 d0_par2 = ( 1.2, 3.0 ),
226 dz_par2 = ( 1.2, 3.0 )
228 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
229 name =
'mixedTripletStepTrkTight',
230 preFilterName =
'mixedTripletStepTrkLoose',
232 res_par = ( 0.003, 0.001 ),
234 maxNumberLostLayers = 1,
235 minNumber3DLayers = 4,
236 d0_par1 = ( 1.1, 4.0 ),
237 dz_par1 = ( 1.1, 4.0 ),
238 d0_par2 = ( 1.1, 4.0 ),
239 dz_par2 = ( 1.1, 4.0 )
241 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
242 name =
'mixedTripletStepVtx',
243 preFilterName =
'mixedTripletStepVtxTight',
245 res_par = ( 0.003, 0.001 ),
247 maxNumberLostLayers = 1,
248 minNumber3DLayers = 3,
249 d0_par1 = ( 1.1, 3.0 ),
250 dz_par1 = ( 1.1, 3.0 ),
251 d0_par2 = ( 1.2, 3.0 ),
252 dz_par2 = ( 1.2, 3.0 )
254 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
255 name =
'mixedTripletStepTrk',
256 preFilterName =
'mixedTripletStepTrkTight',
258 res_par = ( 0.003, 0.001 ),
260 maxNumberLostLayers = 0,
261 minNumber3DLayers = 4,
262 d0_par1 = ( 0.9, 4.0 ),
263 dz_par1 = ( 0.9, 4.0 ),
264 d0_par2 = ( 0.9, 4.0 ),
265 dz_par2 = ( 0.9, 4.0 )
268 vertices = cms.InputTag(
"pixelVertices")
272 mixedTripletStep = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
273 TrackProducers = cms.VInputTag(cms.InputTag(
'mixedTripletStepTracks'),
274 cms.InputTag(
'mixedTripletStepTracks')),
275 hasSelector=cms.vint32(1,1),
276 selectedTrackQuals = cms.VInputTag(cms.InputTag(
"mixedTripletStepSelector",
"mixedTripletStepVtx"),
277 cms.InputTag(
"mixedTripletStepSelector",
"mixedTripletStepTrk")),
278 setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1), pQual=cms.bool(
True) )),
279 writeOnlyTrkQuals=cms.bool(
True)
283 MixedTripletStep = cms.Sequence(mixedTripletStepClusters*
284 mixedTripletStepSeedLayersA*
285 mixedTripletStepSeedsA*
286 mixedTripletStepSeedLayersB*
287 mixedTripletStepSeedsB*
288 mixedTripletStepSeeds*
289 mixedTripletStepTrackCandidates*
290 mixedTripletStepTracks*
291 mixedTripletStepSelector*