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()
125 ckfTrackCandidatesP5Top = ckfTrackCandidatesP5.clone(
126 TrajectoryBuilderPSet = dict(refToPSet_ =
'GroupedCkfTrajectoryBuilderP5Top'),
127 NavigationSchool =
'CosmicNavigationSchool',
128 src =
'combinedP5SeedsForCTFTop',
129 useHitsSplitting =
True 132 ctfWithMaterialTracksP5Top = ctfWithMaterialTracksCosmics.clone(
133 src =
'ckfTrackCandidatesP5Top',
134 Fitter =
'FittingSmootherRKP5',
135 clusterRemovalInfo =
'topBottomClusterInfoProducerTop' 138 ctftracksP5TopTask = cms.Task(combinatorialcosmicseedingtripletsP5Top,
139 combinatorialcosmicseedingpairsTOBP5Top,
140 combinatorialcosmicseedingpairsTECposP5Top,
141 combinatorialcosmicseedingpairsTECnegP5Top,
142 combinatorialcosmicseedfinderP5Top,
143 simpleCosmicBONSeedingLayersTop,
144 simpleCosmicBONSeedsTop,
145 combinedP5SeedsForCTFTop,
146 ckfTrackCandidatesP5Top,
147 ctfWithMaterialTracksP5Top)
148 ctftracksP5Top = cms.Sequence(ctftracksP5TopTask)
151 combinatorialcosmicseedingtripletsP5Bottom = combinatorialcosmicseedingtripletsP5.clone(
152 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
153 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
154 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
155 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
156 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
157 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
160 combinatorialcosmicseedingpairsTOBP5Bottom = combinatorialcosmicseedingpairsTOBP5.clone(
161 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
162 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
163 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
164 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
165 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
166 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
169 combinatorialcosmicseedingpairsTECposP5Bottom = combinatorialcosmicseedingpairsTECposP5.clone(
170 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
171 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
174 combinatorialcosmicseedingpairsTECnegP5Bottom = combinatorialcosmicseedingpairsTECnegP5.clone(
175 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
176 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
179 combinatorialcosmicseedfinderP5Bottom = combinatorialcosmicseedfinderP5.clone(
180 SeedsFromPositiveY =
False,
181 SeedsFromNegativeY =
True,
182 ClusterCollectionLabel =
'siStripClustersBottom',
183 MaxNumberOfCosmicClusters = 150,
184 OrderedHitsFactoryPSets = {0: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingtripletsP5Bottom"),
185 1: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTOBP5Bottom"),
186 2: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Bottom"),
187 3: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECposP5Bottom"),
188 4: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Bottom"),
189 5: dict(PropagationDirection =
'oppositeToMomentum', LayerSrc =
"combinatorialcosmicseedingpairsTECnegP5Bottom"),
193 simpleCosmicBONSeedingLayersBottom = simpleCosmicBONSeedingLayers.clone(
194 TIB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
195 MTIB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
196 TOB = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit'),
197 MTOB = dict(rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit'),
198 TEC = dict(matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
199 rphiRecHits =
'siStripMatchedRecHitsBottom:rphiRecHit')
202 simpleCosmicBONSeedsBottom = simpleCosmicBONSeeds.clone(
203 PositiveYOnly =
False,
204 NegativeYOnly =
True,
205 ClusterCheckPSet = dict(
206 ClusterCollectionLabel =
'siStripClustersBottom',
207 MaxNumberOfCosmicClusters = 150
209 TripletsSrc =
'simpleCosmicBONSeedingLayersBottom' 212 combinedP5SeedsForCTFBottom = globalCombinedSeeds.clone(
213 seedCollections = [
'combinatorialcosmicseedfinderP5Bottom',
214 'simpleCosmicBONSeedsBottom']
217 MeasurementTrackerBottom = MeasurementTracker.clone(
218 ComponentName =
'MeasurementTrackerBottom' 221 GroupedCkfTrajectoryBuilderP5Bottom = GroupedCkfTrajectoryBuilderP5.clone()
223 ckfTrackCandidatesP5Bottom = ckfTrackCandidatesP5.clone(
224 TrajectoryBuilderPSet = dict(refToPSet_ =
'GroupedCkfTrajectoryBuilderP5Bottom'),
225 NavigationSchool =
'CosmicNavigationSchool',
226 src =
'combinedP5SeedsForCTFBottom',
227 useHitsSplitting =
True 230 ctfWithMaterialTracksP5Bottom = ctfWithMaterialTracksCosmics.clone(
231 src =
'ckfTrackCandidatesP5Bottom',
232 Fitter =
'FittingSmootherRKP5',
233 clusterRemovalInfo =
'topBottomClusterInfoProducerBottom' 236 ctftracksP5BottomTask = cms.Task(combinatorialcosmicseedingtripletsP5Bottom,
237 combinatorialcosmicseedingpairsTOBP5Bottom,
238 combinatorialcosmicseedingpairsTECposP5Bottom,
239 combinatorialcosmicseedingpairsTECnegP5Bottom,
240 combinatorialcosmicseedfinderP5Bottom,
241 simpleCosmicBONSeedingLayersBottom,
242 simpleCosmicBONSeedsBottom,
243 combinedP5SeedsForCTFBottom,
244 ckfTrackCandidatesP5Bottom,
245 ctfWithMaterialTracksP5Bottom)
246 ctftracksP5Bottom = cms.Sequence(ctftracksP5BottomTask)
249 cosmicseedfinderP5Top = cosmicseedfinderP5.clone(
250 stereorecHits =
'siStripMatchedRecHitsTop:stereoRecHit',
251 matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
252 rphirecHits =
'siStripMatchedRecHitsTop:rphiRecHit',
253 ClusterCollectionLabel =
'siStripClustersTop',
254 PositiveYOnly =
True,
255 NegativeYOnly =
False,
256 MaxNumberOfCosmicClusters = 150
259 cosmicCandidateFinderP5Top = cosmicCandidateFinderP5.clone(
260 cosmicSeeds =
'cosmicseedfinderP5Top',
261 stereorecHits =
'siStripMatchedRecHitsTop:stereoRecHit',
262 HitProducer =
'siStripRecHitsTop',
263 pixelRecHits =
'siPixelRecHitsTop',
264 matchedRecHits =
'siStripMatchedRecHitsTop:matchedRecHit',
265 rphirecHits =
'siStripMatchedRecHitsTop:rphiRecHit' 268 cosmictrackfinderP5Top = cosmictrackfinderCosmics.clone(
269 src =
'cosmicCandidateFinderP5Top',
270 clusterRemovalInfo =
'topBottomClusterInfoProducerTop' 273 cosmictracksP5TopTask = cms.Task(cosmicseedfinderP5Top,
274 cosmicCandidateFinderP5Top,
275 cosmictrackfinderP5Top)
276 cosmictracksP5Top = cms.Sequence(cosmictracksP5TopTask)
279 cosmicseedfinderP5Bottom = cosmicseedfinderP5.clone(
280 stereorecHits =
'siStripMatchedRecHitsBottom:stereoRecHit',
281 matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
282 rphirecHits =
'siStripMatchedRecHitsBottom:rphiRecHit',
283 ClusterCollectionLabel =
'siStripClustersBottom',
284 PositiveYOnly =
False,
285 NegativeYOnly =
True,
286 MaxNumberOfCosmicClusters = 150
289 cosmicCandidateFinderP5Bottom = cosmicCandidateFinderP5.clone(
290 cosmicSeeds =
'cosmicseedfinderP5Bottom',
291 stereorecHits =
'siStripMatchedRecHitsBottom:stereoRecHit',
292 HitProducer =
'siStripRecHitsBottom',
293 pixelRecHits =
'siPixelRecHitsBottom',
294 matchedRecHits =
'siStripMatchedRecHitsBottom:matchedRecHit',
295 rphirecHits =
'siStripMatchedRecHitsBottom:rphiRecHit' 298 cosmictrackfinderP5Bottom = cosmictrackfinderCosmics.clone(
299 src =
'cosmicCandidateFinderP5Bottom',
300 clusterRemovalInfo =
'topBottomClusterInfoProducerBottom' 303 cosmictracksP5BottomTask = cms.Task(cosmicseedfinderP5Bottom,
304 cosmicCandidateFinderP5Bottom,
305 cosmictrackfinderP5Bottom)
306 cosmictracksP5Bottom = cms.Sequence(cosmictracksP5BottomTask)
310 tracksP5TopTask = cms.Task(ctftracksP5TopTask, cosmictracksP5TopTask)
311 tracksP5Top = cms.Sequence(tracksP5TopTask)
314 tracksP5BottomTask = cms.Task(ctftracksP5BottomTask, cosmictracksP5BottomTask)
315 tracksP5Bottom = cms.Sequence(tracksP5BottomTask)