1 import FWCore.ParameterSet.Config
as cms
6 pixelPairStepClusters = trackClusterRemover.clone(
7 maxChi2 = cms.double(9.0),
8 trajectories = cms.InputTag(
"detachedQuadStepTracks"),
9 pixelClusters = cms.InputTag(
"siPixelClusters"),
10 stripClusters = cms.InputTag(
"siStripClusters"),
11 oldClusterRemovalInfo = cms.InputTag(
"detachedQuadStepClusters"),
12 overrideTrkQuals = cms.InputTag(
'detachedQuadStep'),
13 TrackQuality = cms.string(
'highPurity'),
14 minNumberOfLayersWithMeasBeforeFiltering = cms.int32(0),
18 pixelPairStepSeedLayers = cms.EDProducer(
"SeedingLayersEDProducer",
19 layerList = cms.vstring(
'BPix1+BPix2',
'BPix1+BPix3',
'BPix2+BPix3',
20 'BPix2+BPix4',
'BPix3+BPix4',
21 'BPix1+FPix1_pos',
'BPix1+FPix1_neg',
22 'BPix2+FPix1_pos',
'BPix2+FPix1_neg',
23 'FPix1_pos+FPix2_pos',
'FPix1_neg+FPix2_neg',
24 'FPix2_pos+FPix3_pos',
'FPix2_neg+FPix3_neg'),
26 TTRHBuilder = cms.string(
'WithTrackAngle'),
27 HitProducer = cms.string(
'siPixelRecHits'),
28 skipClusters = cms.InputTag(
'pixelPairStepClusters')
31 TTRHBuilder = cms.string(
'WithTrackAngle'),
32 HitProducer = cms.string(
'siPixelRecHits'),
33 skipClusters = cms.InputTag(
'pixelPairStepClusters')
39 pixelPairStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff.globalSeedsFromPairsWithVertices.clone()
40 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.5
41 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.015
42 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.fixedError = 0.03
43 pixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag(
'pixelPairStepSeedLayers')
45 pixelPairStepSeeds.SeedComparitorPSet = cms.PSet(
46 ComponentName = cms.string(
'PixelClusterShapeSeedComparitor'),
47 FilterAtHelixStage = cms.bool(
True),
48 FilterPixelHits = cms.bool(
True),
49 FilterStripHits = cms.bool(
False),
50 ClusterShapeHitFilterName = cms.string(
'ClusterShapeHitFilter'),
51 ClusterShapeCacheSrc = cms.InputTag(
'siPixelClusterShapeCache')
53 pixelPairStepSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(
False)
54 pixelPairStepSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(0)
55 pixelPairStepSeeds.SeedCreatorPSet.magneticField =
''
56 pixelPairStepSeeds.SeedCreatorPSet.propagator =
'PropagatorWithMaterial'
60 pixelPairStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
61 maxLostHitsFraction = cms.double(1./10.),
62 constantValueForLostHitsFractionFilter = cms.double(0.701),
63 minimumNumberOfHits = 3,
68 pixelPairStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
69 ComponentName = cms.string(
'pixelPairStepChi2Est'),
70 nSigma = cms.double(3.0),
71 MaxChi2 = cms.double(9.0)
76 pixelPairStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
77 MeasurementTrackerName =
'',
78 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'pixelPairStepTrajectoryFilter')),
80 estimator = cms.string(
'pixelPairStepChi2Est'),
81 maxDPhiForLooperReconstruction = cms.double(2.0),
82 maxPtForLooperReconstruction = cms.double(0.7)
87 pixelPairStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
88 src = cms.InputTag(
'pixelPairStepSeeds'),
89 clustersToSkip = cms.InputTag(
'pixelPairStepClusters'),
90 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'pixelPairStepTrajectoryBuilder')),
92 numHitsForSeedCleaner = cms.int32(50),
93 onlyPixelHitsForSeedCleaner = cms.bool(
True)
97 pixelPairStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
98 ComponentName = cms.string(
'pixelPairStepTrajectoryCleanerBySharedHits'),
99 fractionShared = cms.double(0.09),
100 allowSharedFirstHit = cms.bool(
True)
102 pixelPairStepTrackCandidates.TrajectoryCleaner =
'pixelPairStepTrajectoryCleanerBySharedHits'
106 pixelPairStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
107 AlgorithmName = cms.string(
'pixelPairStep'),
108 src =
'pixelPairStepTrackCandidates',
109 Fitter = cms.string(
'FlexibleKFFittingSmoother'),
110 TTRHBuilder=cms.string(
'WithTrackAngle')
114 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
115 pixelPairStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
116 src=
'pixelPairStepTracks',
117 trackSelectors= cms.VPSet(
118 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
119 name =
'pixelPairStepLoose',
121 res_par = ( 0.003, 0.002 ),
123 maxNumberLostLayers = 2,
124 minNumber3DLayers = 3,
125 d0_par1 = ( 0.3, 4.0 ),
126 dz_par1 = ( 0.35, 4.0 ),
127 d0_par2 = ( 0.35, 4.0 ),
128 dz_par2 = ( 0.35, 4.0 )
130 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
131 name =
'pixelPairStepTight',
132 preFilterName =
'pixelPairStepLoose',
134 res_par = ( 0.003, 0.002 ),
136 maxNumberLostLayers = 2,
137 minNumber3DLayers = 3,
138 d0_par1 = ( 0.2, 4.0 ),
139 dz_par1 = ( 0.25, 4.0 ),
140 d0_par2 = ( 0.25, 4.0 ),
141 dz_par2 = ( 0.25, 4.0 )
143 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
144 name =
'pixelPairStep',
145 preFilterName =
'pixelPairStepTight',
147 res_par = ( 0.003, 0.001 ),
149 maxNumberLostLayers = 1,
150 minNumber3DLayers = 4,
151 d0_par1 = ( 0.15, 4.0 ),
152 dz_par1 = ( 0.2, 4.0 ),
153 d0_par2 = ( 0.2, 4.0 ),
154 dz_par2 = ( 0.2, 4.0 )
160 PixelPairStep = cms.Sequence(pixelPairStepClusters*
161 pixelPairStepSeedLayers*
163 pixelPairStepTrackCandidates*
165 pixelPairStepSelector)