1 import FWCore.ParameterSet.Config
as cms
22 siPixelRecHitsTop = siPixelRecHits.clone(src =
'siPixelClustersTop')
23 siPixelRecHitsBottom = siPixelRecHits.clone(src =
'siPixelClustersBottom')
24 siStripMatchedRecHitsTop = siStripMatchedRecHits.clone(ClusterProducer =
'siStripClustersTop')
25 siStripMatchedRecHitsBottom = siStripMatchedRecHits.clone(ClusterProducer =
'siStripClustersBottom')
27 from RecoLocalTracker.SubCollectionProducers.TopBottomClusterInfoProducer_cfi
import topBottomClusterInfoProducer
28 topBottomClusterInfoProducerTop = topBottomClusterInfoProducer.clone()
29 topBottomClusterInfoProducerBottom = topBottomClusterInfoProducer.clone(
30 stripClustersNew =
'siStripClustersBottom',
31 pixelClustersNew =
'siPixelClustersBottom',
32 stripMonoHitsNew =
'siStripMatchedRecHitsBottom:rphiRecHit',
33 stripStereoHitsNew =
'siStripMatchedRecHitsBottom:stereoRecHit',
34 pixelHitsNew =
'siPixelRecHitsBottom'
37 trackerlocalrecoTopTask = cms.Task(siPixelClustersTop,
40 siStripMatchedRecHitsTop,
41 topBottomClusterInfoProducerTop)
42 trackerlocalrecoTop = cms.Sequence(trackerlocalrecoTopTask)
43 trackerlocalrecoBottomTask = cms.Task(siPixelClustersBottom,
45 siStripClustersBottom,
46 siStripMatchedRecHitsBottom,
47 topBottomClusterInfoProducerBottom)
48 trackerlocalrecoBottom = cms.Sequence(trackerlocalrecoBottomTask)
51 combinatorialcosmicseedingtripletsP5Top = combinatorialcosmicseedingtripletsP5.clone(
52 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
53 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
54 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
55 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
56 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
57 rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit')
60 combinatorialcosmicseedingpairsTOBP5Top = combinatorialcosmicseedingpairsTOBP5.clone(
61 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
62 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
63 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
64 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
65 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
66 rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit')
69 combinatorialcosmicseedingpairsTECposP5Top = combinatorialcosmicseedingpairsTECposP5.clone(
70 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
71 rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit')
74 combinatorialcosmicseedingpairsTECnegP5Top = combinatorialcosmicseedingpairsTECnegP5.clone(
75 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
76 rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit')
79 combinatorialcosmicseedfinderP5Top = combinatorialcosmicseedfinderP5.clone(
80 SeedsFromPositiveY =
True,
81 SeedsFromNegativeY =
False,
82 ClusterCollectionLabel =
'siStripClustersTop',
83 MaxNumberOfCosmicClusters = 150,
85 OrderedHitsFactoryPSets = {0: dict(LayerSrc =
"combinatorialcosmicseedingtripletsP5Top"),
86 1: dict(LayerSrc =
"combinatorialcosmicseedingpairsTOBP5Top"),
87 2: dict(LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Top"),
88 3: dict(LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Top"),
89 4: dict(LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Top"),
90 5: dict(LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Top")
95 simpleCosmicBONSeedingLayersTop = simpleCosmicBONSeedingLayers.clone(
96 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
97 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
98 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit'),
99 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit'),
100 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
101 rphiRecHits =
'siStripMatchedRecHitsTop:rphiRecHit')
104 simpleCosmicBONSeedsTop = simpleCosmicBONSeeds.clone(
105 PositiveYOnly =
True,
106 NegativeYOnly =
False,
107 ClusterCheckPSet = dict(
108 ClusterCollectionLabel =
'siStripClustersTop',
109 MaxNumberOfCosmicClusters = 150,
111 TripletsSrc =
'simpleCosmicBONSeedingLayersTop',
114 combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(
115 seedCollections = [
'combinatorialcosmicseedfinderP5Top',
116 'simpleCosmicBONSeedsTop']
119 MeasurementTrackerTop = MeasurementTracker.clone(
120 ComponentName =
'MeasurementTrackerTop'
123 GroupedCkfTrajectoryBuilderP5Top = GroupedCkfTrajectoryBuilderP5.clone(
124 MeasurementTrackerName =
'MeasurementTrackerTop'
127 ckfTrackCandidatesP5Top = ckfTrackCandidatesP5.clone(
128 TrajectoryBuilderPSet = dict(refToPSet_ =
'GroupedCkfTrajectoryBuilderP5Top'),
129 NavigationSchool =
'CosmicNavigationSchool',
130 src =
'combinedP5SeedsForCTFTop',
131 useHitsSplitting =
True
134 ctfWithMaterialTracksP5Top = ctfWithMaterialTracksCosmics.clone(
135 src =
'ckfTrackCandidatesP5Top',
136 Fitter =
'FittingSmootherRKP5',
137 clusterRemovalInfo =
'topBottomClusterInfoProducerTop'
140 ctftracksP5TopTask = cms.Task(combinatorialcosmicseedingtripletsP5Top,
141 combinatorialcosmicseedingpairsTOBP5Top,
142 combinatorialcosmicseedingpairsTECposP5Top,
143 combinatorialcosmicseedingpairsTECnegP5Top,
144 combinatorialcosmicseedfinderP5Top,
145 simpleCosmicBONSeedingLayersTop,
146 simpleCosmicBONSeedsTop,
147 combinedP5SeedsForCTFTop,
148 ckfTrackCandidatesP5Top,
149 ctfWithMaterialTracksP5Top)
150 ctftracksP5Top = cms.Sequence(ctftracksP5TopTask)
153 combinatorialcosmicseedingtripletsP5Bottom = combinatorialcosmicseedingtripletsP5.clone(
154 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
155 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
156 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
157 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
158 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
159 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
162 combinatorialcosmicseedingpairsTOBP5Bottom = combinatorialcosmicseedingpairsTOBP5.clone(
163 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
164 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
165 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
166 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
167 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
168 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
171 combinatorialcosmicseedingpairsTECposP5Bottom = combinatorialcosmicseedingpairsTECposP5.clone(
172 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
173 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
176 combinatorialcosmicseedingpairsTECnegP5Bottom = combinatorialcosmicseedingpairsTECnegP5.clone(
177 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
178 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
181 combinatorialcosmicseedfinderP5Bottom = combinatorialcosmicseedfinderP5.clone(
182 SeedsFromPositiveY =
False,
183 SeedsFromNegativeY =
True,
184 ClusterCollectionLabel =
'siStripClustersBottom',
185 MaxNumberOfCosmicClusters = 150,
186 OrderedHitsFactoryPSets = {0: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingtripletsP5Bottom"),
187 1: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTOBP5Bottom"),
188 2: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Bottom"),
189 3: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Bottom"),
190 4: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Bottom"),
191 5: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Bottom"),
195 simpleCosmicBONSeedingLayersBottom = simpleCosmicBONSeedingLayers.clone(
196 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
197 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
198 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
199 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
200 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
201 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
204 simpleCosmicBONSeedsBottom = simpleCosmicBONSeeds.clone(
205 PositiveYOnly =
False,
206 NegativeYOnly =
True,
207 ClusterCheckPSet = dict(
208 ClusterCollectionLabel =
'siStripClustersBottom',
209 MaxNumberOfCosmicClusters = 150
211 TripletsSrc =
'simpleCosmicBONSeedingLayersBottom'
214 combinedP5SeedsForCTFBottom = globalCombinedSeeds.clone(
215 seedCollections = [
'combinatorialcosmicseedfinderP5Bottom',
216 'simpleCosmicBONSeedsBottom']
219 MeasurementTrackerBottom = MeasurementTracker.clone(
220 ComponentName =
'MeasurementTrackerBottom'
223 GroupedCkfTrajectoryBuilderP5Bottom = GroupedCkfTrajectoryBuilderP5.clone(
224 MeasurementTrackerName =
'MeasurementTrackerBottom'
227 ckfTrackCandidatesP5Bottom = ckfTrackCandidatesP5.clone(
228 TrajectoryBuilderPSet = dict(refToPSet_ =
'GroupedCkfTrajectoryBuilderP5Bottom'),
229 NavigationSchool =
'CosmicNavigationSchool',
230 src =
'combinedP5SeedsForCTFBottom',
231 useHitsSplitting =
True
234 ctfWithMaterialTracksP5Bottom = ctfWithMaterialTracksCosmics.clone(
235 src =
'ckfTrackCandidatesP5Bottom',
236 Fitter =
'FittingSmootherRKP5',
237 clusterRemovalInfo =
'topBottomClusterInfoProducerBottom'
240 ctftracksP5BottomTask = cms.Task(combinatorialcosmicseedingtripletsP5Bottom,
241 combinatorialcosmicseedingpairsTOBP5Bottom,
242 combinatorialcosmicseedingpairsTECposP5Bottom,
243 combinatorialcosmicseedingpairsTECnegP5Bottom,
244 combinatorialcosmicseedfinderP5Bottom,
245 simpleCosmicBONSeedingLayersBottom,
246 simpleCosmicBONSeedsBottom,
247 combinedP5SeedsForCTFBottom,
248 ckfTrackCandidatesP5Bottom,
249 ctfWithMaterialTracksP5Bottom)
250 ctftracksP5Bottom = cms.Sequence(ctftracksP5BottomTask)
253 cosmicseedfinderP5Top = cosmicseedfinderP5.clone(
254 stereorecHits =
'siStripMatchedRecHitsTop:stereoRecHit',
255 matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
256 rphirecHits =
'siStripMatchedRecHitsTop:rphiRecHit',
257 ClusterCollectionLabel =
'siStripClustersTop',
258 PositiveYOnly =
True,
259 NegativeYOnly =
False,
260 MaxNumberOfCosmicClusters = 150
263 cosmicCandidateFinderP5Top = cosmicCandidateFinderP5.clone(
264 cosmicSeeds =
'cosmicseedfinderP5Top',
265 stereorecHits =
'siStripMatchedRecHitsTop:stereoRecHit',
266 HitProducer =
'siStripRecHitsTop',
267 pixelRecHits =
'siPixelRecHitsTop',
268 matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
269 rphirecHits =
'siStripMatchedRecHitsTop:rphiRecHit'
272 cosmictrackfinderP5Top = cosmictrackfinderCosmics.clone(
273 src =
'cosmicCandidateFinderP5Top',
274 clusterRemovalInfo =
'topBottomClusterInfoProducerTop'
277 cosmictracksP5TopTask = cms.Task(cosmicseedfinderP5Top,
278 cosmicCandidateFinderP5Top,
279 cosmictrackfinderP5Top)
280 cosmictracksP5Top = cms.Sequence(cosmictracksP5TopTask)
283 cosmicseedfinderP5Bottom = cosmicseedfinderP5.clone(
284 stereorecHits =
'siStripMatchedRecHitsBottom:stereoRecHit',
285 matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
286 rphirecHits =
'siStripMatchedRecHitsBottom:rphiRecHit',
287 ClusterCollectionLabel =
'siStripClustersBottom',
288 PositiveYOnly =
False,
289 NegativeYOnly =
True,
290 MaxNumberOfCosmicClusters = 150
293 cosmicCandidateFinderP5Bottom = cosmicCandidateFinderP5.clone(
294 cosmicSeeds =
'cosmicseedfinderP5Bottom',
295 stereorecHits =
'siStripMatchedRecHitsBottom:stereoRecHit',
296 HitProducer =
'siStripRecHitsBottom',
297 pixelRecHits =
'siPixelRecHitsBottom',
298 matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
299 rphirecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'
302 cosmictrackfinderP5Bottom = cosmictrackfinderCosmics.clone(
303 src =
'cosmicCandidateFinderP5Bottom',
304 clusterRemovalInfo =
'topBottomClusterInfoProducerBottom'
307 cosmictracksP5BottomTask = cms.Task(cosmicseedfinderP5Bottom,
308 cosmicCandidateFinderP5Bottom,
309 cosmictrackfinderP5Bottom)
310 cosmictracksP5Bottom = cms.Sequence(cosmictracksP5BottomTask)
314 tracksP5TopTask = cms.Task(ctftracksP5TopTask, cosmictracksP5TopTask)
315 tracksP5Top = cms.Sequence(tracksP5TopTask)
318 tracksP5BottomTask = cms.Task(ctftracksP5BottomTask, cosmictracksP5BottomTask)
319 tracksP5Bottom = cms.Sequence(tracksP5BottomTask)