1 import FWCore.ParameterSet.Config
as cms
6 pixelPairStepClusters = trackClusterRemover.clone(
7 maxChi2 = cms.double(9.0),
8 trajectories = cms.InputTag(
"lowPtTripletStepTracks"),
9 pixelClusters = cms.InputTag(
"siPixelClusters"),
10 stripClusters = cms.InputTag(
"siStripClusters"),
11 oldClusterRemovalInfo = cms.InputTag(
"lowPtTripletStepClusters"),
12 overrideTrkQuals = cms.InputTag(
'lowPtTripletStepSelector',
'lowPtTripletStep'),
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 'BPix1+FPix1_pos',
'BPix1+FPix1_neg',
21 'BPix2+FPix1_pos',
'BPix2+FPix1_neg',
22 'BPix1+FPix2_pos',
'BPix1+FPix2_neg',
23 'FPix1_pos+FPix2_pos',
'FPix1_neg+FPix2_neg'),
25 TTRHBuilder = cms.string(
'WithTrackAngle'),
26 HitProducer = cms.string(
'siPixelRecHits'),
27 skipClusters = cms.InputTag(
'pixelPairStepClusters')
30 TTRHBuilder = cms.string(
'WithTrackAngle'),
31 HitProducer = cms.string(
'siPixelRecHits'),
32 skipClusters = cms.InputTag(
'pixelPairStepClusters')
38 pixelPairStepSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff.globalSeedsFromPairsWithVertices.clone()
39 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.3
40 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.015
41 pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.fixedError = 0.03
42 pixelPairStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag(
'pixelPairStepSeedLayers')
46 pixelPairStepTrajectoryFilter = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
47 minimumNumberOfHits = 3,
52 pixelPairStepChi2Est = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
53 ComponentName = cms.string(
'pixelPairStepChi2Est'),
54 nSigma = cms.double(3.0),
55 MaxChi2 = cms.double(25.0)
60 pixelPairStepTrajectoryBuilder = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
61 MeasurementTrackerName =
'',
62 trajectoryFilter = cms.PSet(refToPSet_ = cms.string(
'pixelPairStepTrajectoryFilter')),
63 clustersToSkip = cms.InputTag(
'pixelPairStepClusters'),
65 estimator = cms.string(
'pixelPairStepChi2Est'),
66 maxDPhiForLooperReconstruction = cms.double(2.0),
67 maxPtForLooperReconstruction = cms.double(0.7)
72 pixelPairStepTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
73 src = cms.InputTag(
'pixelPairStepSeeds'),
74 TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string(
'pixelPairStepTrajectoryBuilder')),
76 numHitsForSeedCleaner = cms.int32(50),
77 onlyPixelHitsForSeedCleaner = cms.bool(
True),
82 pixelPairStepTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
83 ComponentName = cms.string(
'pixelPairStepTrajectoryCleanerBySharedHits'),
84 fractionShared = cms.double(0.19),
85 allowSharedFirstHit = cms.bool(
True)
87 pixelPairStepTrackCandidates.TrajectoryCleaner =
'pixelPairStepTrajectoryCleanerBySharedHits'
92 pixelPairStepTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
93 AlgorithmName = cms.string(
'pixelPairStep'),
94 src =
'pixelPairStepTrackCandidates',
95 Fitter = cms.string(
'FlexibleKFFittingSmoother')
100 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
101 pixelPairStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
102 src=
'pixelPairStepTracks',
103 trackSelectors= cms.VPSet(
104 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
105 name =
'pixelPairStepLoose',
107 res_par = ( 0.003, 0.002 ),
109 maxNumberLostLayers = 3,
110 minNumber3DLayers = 3,
111 d0_par1 = ( 0.55, 4.0 ),
112 dz_par1 = ( 0.55, 4.0 ),
113 d0_par2 = ( 0.5, 4.0 ),
114 dz_par2 = ( 0.5, 4.0 )
116 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
117 name =
'pixelPairStepTight',
118 preFilterName =
'pixelPairStepLoose',
120 res_par = ( 0.003, 0.002 ),
122 maxNumberLostLayers = 2,
123 minNumber3DLayers = 3,
124 d0_par1 = ( 0.5, 4.0 ),
125 dz_par1 = ( 0.5, 4.0 ),
126 d0_par2 = ( 0.4, 4.0 ),
127 dz_par2 = ( 0.4, 4.0 )
129 RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
130 name =
'pixelPairStep',
131 preFilterName =
'pixelPairStepTight',
133 res_par = ( 0.003, 0.001 ),
135 maxNumberLostLayers = 2,
136 minNumber3DLayers = 3,
137 d0_par1 = ( 0.45, 4.0 ),
138 dz_par1 = ( 0.45, 4.0 ),
139 d0_par2 = ( 0.3, 4.0 ),
140 dz_par2 = ( 0.35, 4.0 )
146 PixelPairStep = cms.Sequence(pixelPairStepClusters*
147 pixelPairStepSeedLayers*
149 pixelPairStepTrackCandidates*
151 pixelPairStepSelector)