CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTrackerTopBottom_cff.py
Go to the documentation of this file.
2 import copy
3 
8 from RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cff import globalCombinedSeeds
10 from RecoTracker.CkfPattern.CkfTrackCandidatesP5_cff import GroupedCkfTrajectoryBuilderP5
11 from RecoTracker.CkfPattern.CkfTrackCandidatesP5_cff import ckfTrackCandidatesP5
12 from RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff import ctfWithMaterialTracksCosmics
14 from RecoTracker.SingleTrackPattern.CosmicTrackFinderP5_cff import cosmicCandidateFinderP5
15 from RecoTracker.SingleTrackPattern.CosmicTrackFinderP5_cff import cosmictrackfinderCosmics
16 
17 
18 siPixelRecHitsTop = siPixelRecHits.clone(src = cms.InputTag("siPixelClustersTop"))
19 siPixelRecHitsBottom = siPixelRecHits.clone(src = cms.InputTag("siPixelClustersBottom"))
20 siStripMatchedRecHitsTop = siStripMatchedRecHits.clone(ClusterProducer = cms.InputTag('siStripClustersTop'))
21 siStripMatchedRecHitsBottom = siStripMatchedRecHits.clone(ClusterProducer = cms.InputTag('siStripClustersBottom'))
22 
23 from RecoLocalTracker.SubCollectionProducers.TopBottomClusterInfoProducer_cfi import topBottomClusterInfoProducer
24 topBottomClusterInfoProducerTop = topBottomClusterInfoProducer.clone()
25 topBottomClusterInfoProducerBottom = topBottomClusterInfoProducer.clone(
26  stripClustersNew = cms.InputTag("siStripClustersBottom"),
27  pixelClustersNew = cms.InputTag("siPixelClustersBottom"),
28  stripMonoHitsNew = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit"),
29  stripStereoHitsNew = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit"),
30  pixelHitsNew = cms.InputTag("siPixelRecHitsBottom")
31 )
32 ###LOCAL RECO SEQUENCE
33 trackerlocalrecoTop = cms.Sequence(((siPixelClustersTop*siPixelRecHitsTop)+(siStripClustersTop*siStripMatchedRecHitsTop))*topBottomClusterInfoProducerTop)
34 trackerlocalrecoBottom = cms.Sequence(((siPixelClustersBottom*siPixelRecHitsBottom)+(siStripClustersBottom*siStripMatchedRecHitsBottom))*topBottomClusterInfoProducerBottom)
35 
36 ###CKF TOP
37 combinatorialcosmicseedfinderP5Top = copy.deepcopy(combinatorialcosmicseedfinderP5)
38 combinatorialcosmicseedfinderP5Top.SeedsFromPositiveY = True
39 combinatorialcosmicseedfinderP5Top.SeedsFromNegativeY = False
40 combinatorialcosmicseedfinderP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
41 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
42 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
43 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
44 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
45 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
46 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
47 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
48 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
49 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
50 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
51 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
52 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
53 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
54 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
55 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
56 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
57 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
58 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
59 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
60 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
61 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
62 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
63 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[2].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
64 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[2].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
65 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[3].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
66 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[3].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
67 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[4].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
68 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[4].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
69 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[5].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
70 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[5].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
71 combinatorialcosmicseedfinderP5Top.MaxNumberOfCosmicClusters = 150
72 simpleCosmicBONSeedsTop = copy.deepcopy(simpleCosmicBONSeeds)
73 simpleCosmicBONSeedsTop.PositiveYOnly = True
74 simpleCosmicBONSeedsTop.NegativeYOnly = False
75 simpleCosmicBONSeedsTop.ClusterCheckPSet.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
76 simpleCosmicBONSeedsTop.TripletsPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
77 simpleCosmicBONSeedsTop.TripletsPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
78 simpleCosmicBONSeedsTop.TripletsPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
79 simpleCosmicBONSeedsTop.TripletsPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
80 simpleCosmicBONSeedsTop.TripletsPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
81 simpleCosmicBONSeedsTop.TripletsPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
82 simpleCosmicBONSeedsTop.TripletsPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
83 simpleCosmicBONSeedsTop.TripletsPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
84 simpleCosmicBONSeedsTop.TripletsPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
85 simpleCosmicBONSeedsTop.TripletsPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
86 simpleCosmicBONSeedsTop.TripletsPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
87 simpleCosmicBONSeedsTop.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
88 combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(
89 seedCollections = cms.VInputTag(cms.InputTag('combinatorialcosmicseedfinderP5Top'),cms.InputTag('simpleCosmicBONSeedsTop'))
90 )
91 MeasurementTrackerTop = MeasurementTracker.clone(
92 pixelClusterProducer = cms.string('siPixelClustersTop'),
93 stripClusterProducer = cms.string('siStripClustersTop'),
94 ComponentName = cms.string('MeasurementTrackerTop')
95 )
96 GroupedCkfTrajectoryBuilderP5Top = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
97 GroupedCkfTrajectoryBuilderP5Top.MeasurementTrackerName = cms.string('MeasurementTrackerTop')
98 GroupedCkfTrajectoryBuilderP5Top.ComponentName = cms.string('GroupedCkfTrajectoryBuilderP5Top')
99 ckfTrackCandidatesP5Top = copy.deepcopy(ckfTrackCandidatesP5)
100 ckfTrackCandidatesP5Top.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Top'
101 ckfTrackCandidatesP5Top.NavigationSchool = 'CosmicNavigationSchool'
102 ckfTrackCandidatesP5Top.src = 'combinedP5SeedsForCTFTop' #ok for 32X
103 #ckfTrackCandidatesP5Top.SeedProducer = 'combinedP5SeedsForCTFTop' #ok for 22X
104 ckfTrackCandidatesP5Top.useHitsSplitting = True
105 ctfWithMaterialTracksP5Top = copy.deepcopy(ctfWithMaterialTracksCosmics)
106 ctfWithMaterialTracksP5Top.src = 'ckfTrackCandidatesP5Top'
107 ctfWithMaterialTracksP5Top.Fitter = 'FittingSmootherRKP5'
108 ctfWithMaterialTracksP5Top.clusterRemovalInfo = "topBottomClusterInfoProducerTop"
109 ctftracksP5Top = cms.Sequence(combinatorialcosmicseedfinderP5Top*simpleCosmicBONSeedsTop*
110  combinedP5SeedsForCTFTop*ckfTrackCandidatesP5Top*
111  ctfWithMaterialTracksP5Top)
112 
113 
114 ###CKF BOTTOM
115 combinatorialcosmicseedfinderP5Bottom = copy.deepcopy(combinatorialcosmicseedfinderP5)
116 combinatorialcosmicseedfinderP5Bottom.SeedsFromPositiveY = False
117 combinatorialcosmicseedfinderP5Bottom.SeedsFromNegativeY = True
118 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].PropagationDirection = cms.string('oppositeToMomentum')
119 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].PropagationDirection = cms.string('oppositeToMomentum')
120 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].PropagationDirection = cms.string('oppositeToMomentum')
121 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].PropagationDirection = cms.string('oppositeToMomentum')
122 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].PropagationDirection = cms.string('oppositeToMomentum')
123 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].PropagationDirection = cms.string('oppositeToMomentum')
124 combinatorialcosmicseedfinderP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
125 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
126 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
127 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
128 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
129 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
130 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
131 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
132 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
133 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
134 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
135 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
136 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
137 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
138 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
139 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
140 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
141 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
142 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
143 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
144 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
145 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
146 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
147 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
148 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
149 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
150 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
151 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
152 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
153 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
154 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
155 combinatorialcosmicseedfinderP5Bottom.MaxNumberOfCosmicClusters = 150
156 simpleCosmicBONSeedsBottom = copy.deepcopy(simpleCosmicBONSeeds)
157 simpleCosmicBONSeedsBottom.PositiveYOnly = False
158 simpleCosmicBONSeedsBottom.NegativeYOnly = True
159 simpleCosmicBONSeedsBottom.ClusterCheckPSet.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
160 simpleCosmicBONSeedsBottom.TripletsPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
161 simpleCosmicBONSeedsBottom.TripletsPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
162 simpleCosmicBONSeedsBottom.TripletsPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
163 simpleCosmicBONSeedsBottom.TripletsPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
164 simpleCosmicBONSeedsBottom.TripletsPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
165 simpleCosmicBONSeedsBottom.TripletsPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
166 simpleCosmicBONSeedsBottom.TripletsPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
167 simpleCosmicBONSeedsBottom.TripletsPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
168 simpleCosmicBONSeedsBottom.TripletsPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
169 simpleCosmicBONSeedsBottom.TripletsPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
170 simpleCosmicBONSeedsBottom.TripletsPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
171 simpleCosmicBONSeedsBottom.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
172 combinedP5SeedsForCTFBottom = globalCombinedSeeds.clone(
173 seedCollections = cms.VInputTag(cms.InputTag('combinatorialcosmicseedfinderP5Bottom'),cms.InputTag('simpleCosmicBONSeedsBottom'))
174 )
175 MeasurementTrackerBottom = MeasurementTracker.clone(
176 pixelClusterProducer = cms.string('siPixelClustersBottom'),
177 stripClusterProducer = cms.string('siStripClustersBottom'),
178 ComponentName = cms.string('MeasurementTrackerBottom')
179 )
180 GroupedCkfTrajectoryBuilderP5Bottom = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
181 GroupedCkfTrajectoryBuilderP5Bottom.MeasurementTrackerName = cms.string('MeasurementTrackerBottom')
182 GroupedCkfTrajectoryBuilderP5Bottom.ComponentName = cms.string('GroupedCkfTrajectoryBuilderP5Bottom')
183 ckfTrackCandidatesP5Bottom = copy.deepcopy(ckfTrackCandidatesP5)
184 ckfTrackCandidatesP5Bottom.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Bottom'
185 ckfTrackCandidatesP5Bottom.NavigationSchool = 'CosmicNavigationSchool'
186 ckfTrackCandidatesP5Bottom.src = 'combinedP5SeedsForCTFBottom' #ok for 32X
187 #ckfTrackCandidatesP5Bottom.SeedProducer = 'combinedP5SeedsForCTFBottom' #ok for 22X
188 ckfTrackCandidatesP5Bottom.useHitsSplitting = True
189 ctfWithMaterialTracksP5Bottom = copy.deepcopy(ctfWithMaterialTracksCosmics)
190 ctfWithMaterialTracksP5Bottom.src = 'ckfTrackCandidatesP5Bottom'
191 ctfWithMaterialTracksP5Bottom.Fitter = 'FittingSmootherRKP5'
192 ctfWithMaterialTracksP5Bottom.clusterRemovalInfo = "topBottomClusterInfoProducerBottom"
193 ctftracksP5Bottom = cms.Sequence(combinatorialcosmicseedfinderP5Bottom*simpleCosmicBONSeedsBottom*
194  combinedP5SeedsForCTFBottom*ckfTrackCandidatesP5Bottom*
195  ctfWithMaterialTracksP5Bottom)
196 
197 #COSMIC TOP
198 cosmicseedfinderP5Top = copy.deepcopy(cosmicseedfinderP5)
199 cosmicCandidateFinderP5Top = copy.deepcopy(cosmicCandidateFinderP5)
200 cosmictrackfinderP5Top = copy.deepcopy(cosmictrackfinderCosmics)
201 cosmicseedfinderP5Top.stereorecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
202 cosmicseedfinderP5Top.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
203 cosmicseedfinderP5Top.rphirecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
204 cosmicseedfinderP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
205 cosmicseedfinderP5Top.PositiveYOnly = True
206 cosmicseedfinderP5Top.NegativeYOnly = False
207 cosmicseedfinderP5Top.MaxNumberOfCosmicClusters = 150
208 cosmicCandidateFinderP5Top.cosmicSeeds = 'cosmicseedfinderP5Top'
209 cosmicCandidateFinderP5Top.stereorecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
210 cosmicCandidateFinderP5Top.HitProducer = cms.string('siStripRecHitsTop')
211 cosmicCandidateFinderP5Top.pixelRecHits = cms.InputTag("siPixelRecHitsTop")
212 cosmicCandidateFinderP5Top.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
213 cosmicCandidateFinderP5Top.rphirecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
214 cosmictrackfinderP5Top.src = 'cosmicCandidateFinderP5Top'
215 cosmictrackfinderP5Top.clusterRemovalInfo = "topBottomClusterInfoProducerTop"
216 cosmictracksP5Top = cms.Sequence(cosmicseedfinderP5Top*cosmicCandidateFinderP5Top*cosmictrackfinderP5Top)
217 
218 #COSMIC BOTTOM
219 cosmicseedfinderP5Bottom = copy.deepcopy(cosmicseedfinderP5)
220 cosmicCandidateFinderP5Bottom = copy.deepcopy(cosmicCandidateFinderP5)
221 cosmictrackfinderP5Bottom = copy.deepcopy(cosmictrackfinderCosmics)
222 cosmicseedfinderP5Bottom.stereorecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
223 cosmicseedfinderP5Bottom.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
224 cosmicseedfinderP5Bottom.rphirecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
225 cosmicseedfinderP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
226 cosmicseedfinderP5Bottom.PositiveYOnly = False
227 cosmicseedfinderP5Bottom.NegativeYOnly = True
228 cosmicseedfinderP5Bottom.MaxNumberOfCosmicClusters = 150
229 cosmicCandidateFinderP5Bottom.cosmicSeeds = 'cosmicseedfinderP5Bottom'
230 cosmicCandidateFinderP5Bottom.stereorecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
231 cosmicCandidateFinderP5Bottom.HitProducer = cms.string('siStripRecHitsBottom')
232 cosmicCandidateFinderP5Bottom.pixelRecHits = cms.InputTag("siPixelRecHitsBottom")
233 cosmicCandidateFinderP5Bottom.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
234 cosmicCandidateFinderP5Bottom.rphirecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
235 cosmictrackfinderP5Bottom.src = 'cosmicCandidateFinderP5Bottom'
236 cosmictrackfinderP5Bottom.clusterRemovalInfo = "topBottomClusterInfoProducerBottom"
237 cosmictracksP5Bottom = cms.Sequence(cosmicseedfinderP5Bottom*cosmicCandidateFinderP5Bottom*cosmictrackfinderP5Bottom)
238 
239 
240 #TOP SEQUENCE
241 # (SK) keep rstracks commented out in case of resurrection
242 tracksP5Top = cms.Sequence(ctftracksP5Top+cosmictracksP5Top)
243 #BOTTOM SEQUENCE
244 # (SK) keep rstracks commented out in case of resurrection
245 tracksP5Bottom = cms.Sequence(ctftracksP5Bottom+cosmictracksP5Bottom)