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
19 from RecoTracker.TrackProducer.RSFinalFitWithMaterialP5_cff import rsWithMaterialTracksCosmics
20 
21 siPixelRecHitsTop = siPixelRecHits.clone(src = cms.InputTag("siPixelClustersTop"))
22 siPixelRecHitsBottom = siPixelRecHits.clone(src = cms.InputTag("siPixelClustersBottom"))
23 siStripMatchedRecHitsTop = siStripMatchedRecHits.clone(ClusterProducer = cms.InputTag('siStripClustersTop'))
24 siStripMatchedRecHitsBottom = siStripMatchedRecHits.clone(ClusterProducer = cms.InputTag('siStripClustersBottom'))
25 
26 from RecoLocalTracker.SubCollectionProducers.TopBottomClusterInfoProducer_cfi import topBottomClusterInfoProducer
27 topBottomClusterInfoProducerTop = topBottomClusterInfoProducer.clone()
28 topBottomClusterInfoProducerBottom = topBottomClusterInfoProducer.clone(
29  stripClustersNew = cms.InputTag("siStripClustersBottom"),
30  pixelClustersNew = cms.InputTag("siPixelClustersBottom"),
31  stripMonoHitsNew = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit"),
32  stripStereoHitsNew = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit"),
33  pixelHitsNew = cms.InputTag("siPixelRecHitsBottom")
34 )
35 ###LOCAL RECO SEQUENCE
36 trackerlocalrecoTop = cms.Sequence(((siPixelClustersTop*siPixelRecHitsTop)+(siStripClustersTop*siStripMatchedRecHitsTop))*topBottomClusterInfoProducerTop)
37 trackerlocalrecoBottom = cms.Sequence(((siPixelClustersBottom*siPixelRecHitsBottom)+(siStripClustersBottom*siStripMatchedRecHitsBottom))*topBottomClusterInfoProducerBottom)
38 
39 ###CKF TOP
40 combinatorialcosmicseedfinderP5Top = copy.deepcopy(combinatorialcosmicseedfinderP5)
41 combinatorialcosmicseedfinderP5Top.SeedsFromPositiveY = True
42 combinatorialcosmicseedfinderP5Top.SeedsFromNegativeY = False
43 combinatorialcosmicseedfinderP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
44 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
45 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
46 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
47 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
48 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
49 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
50 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
51 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
52 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
53 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
54 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[0].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
55 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
56 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
57 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
58 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
59 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
60 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
61 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
62 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
63 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
64 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
65 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[1].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
66 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[2].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
67 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[2].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
68 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[3].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
69 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[3].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
70 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[4].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
71 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[4].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
72 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[5].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
73 combinatorialcosmicseedfinderP5Top.OrderedHitsFactoryPSets[5].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
74 combinatorialcosmicseedfinderP5Top.MaxNumberOfCosmicClusters = 150
75 simpleCosmicBONSeedsTop = copy.deepcopy(simpleCosmicBONSeeds)
76 simpleCosmicBONSeedsTop.PositiveYOnly = True
77 simpleCosmicBONSeedsTop.NegativeYOnly = False
78 simpleCosmicBONSeedsTop.ClusterCheckPSet.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
79 simpleCosmicBONSeedsTop.TripletsPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
80 simpleCosmicBONSeedsTop.TripletsPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
81 simpleCosmicBONSeedsTop.TripletsPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
82 simpleCosmicBONSeedsTop.TripletsPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
83 simpleCosmicBONSeedsTop.TripletsPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
84 simpleCosmicBONSeedsTop.TripletsPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
85 simpleCosmicBONSeedsTop.TripletsPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
86 simpleCosmicBONSeedsTop.TripletsPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
87 simpleCosmicBONSeedsTop.TripletsPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
88 simpleCosmicBONSeedsTop.TripletsPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
89 simpleCosmicBONSeedsTop.TripletsPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
90 simpleCosmicBONSeedsTop.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
91 combinedP5SeedsForCTFTop = globalCombinedSeeds.clone(
92 seedCollections = cms.VInputTag(cms.InputTag('combinatorialcosmicseedfinderP5Top'),cms.InputTag('simpleCosmicBONSeedsTop'))
93 )
94 MeasurementTrackerTop = MeasurementTracker.clone(
95 pixelClusterProducer = cms.string('siPixelClustersTop'),
96 stripClusterProducer = cms.string('siStripClustersTop'),
97 ComponentName = cms.string('MeasurementTrackerTop')
98 )
99 GroupedCkfTrajectoryBuilderP5Top = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
100 GroupedCkfTrajectoryBuilderP5Top.MeasurementTrackerName = cms.string('MeasurementTrackerTop')
101 GroupedCkfTrajectoryBuilderP5Top.ComponentName = cms.string('GroupedCkfTrajectoryBuilderP5Top')
102 ckfTrackCandidatesP5Top = copy.deepcopy(ckfTrackCandidatesP5)
103 ckfTrackCandidatesP5Top.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Top'
104 ckfTrackCandidatesP5Top.NavigationSchool = 'CosmicNavigationSchool'
105 ckfTrackCandidatesP5Top.src = 'combinedP5SeedsForCTFTop' #ok for 32X
106 #ckfTrackCandidatesP5Top.SeedProducer = 'combinedP5SeedsForCTFTop' #ok for 22X
107 ckfTrackCandidatesP5Top.useHitsSplitting = True
108 ctfWithMaterialTracksP5Top = copy.deepcopy(ctfWithMaterialTracksCosmics)
109 ctfWithMaterialTracksP5Top.src = 'ckfTrackCandidatesP5Top'
110 ctfWithMaterialTracksP5Top.Fitter = 'FittingSmootherRKP5'
111 ctfWithMaterialTracksP5Top.clusterRemovalInfo = "topBottomClusterInfoProducerTop"
112 ctftracksP5Top = cms.Sequence(combinatorialcosmicseedfinderP5Top*simpleCosmicBONSeedsTop*
113  combinedP5SeedsForCTFTop*ckfTrackCandidatesP5Top*
114  ctfWithMaterialTracksP5Top)
115 
116 
117 ###CKF BOTTOM
118 combinatorialcosmicseedfinderP5Bottom = copy.deepcopy(combinatorialcosmicseedfinderP5)
119 combinatorialcosmicseedfinderP5Bottom.SeedsFromPositiveY = False
120 combinatorialcosmicseedfinderP5Bottom.SeedsFromNegativeY = True
121 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].PropagationDirection = cms.string('oppositeToMomentum')
122 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].PropagationDirection = cms.string('oppositeToMomentum')
123 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].PropagationDirection = cms.string('oppositeToMomentum')
124 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].PropagationDirection = cms.string('oppositeToMomentum')
125 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].PropagationDirection = cms.string('oppositeToMomentum')
126 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].PropagationDirection = cms.string('oppositeToMomentum')
127 combinatorialcosmicseedfinderP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
128 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
129 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
130 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
131 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
132 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
133 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
134 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
135 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
136 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
137 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
138 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[0].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
139 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
140 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
141 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
142 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
143 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
144 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
145 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
146 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
147 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
148 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
149 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[1].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
150 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
151 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[2].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
152 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
153 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[3].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
154 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
155 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[4].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
156 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].LayerPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
157 combinatorialcosmicseedfinderP5Bottom.OrderedHitsFactoryPSets[5].LayerPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
158 combinatorialcosmicseedfinderP5Bottom.MaxNumberOfCosmicClusters = 150
159 simpleCosmicBONSeedsBottom = copy.deepcopy(simpleCosmicBONSeeds)
160 simpleCosmicBONSeedsBottom.PositiveYOnly = False
161 simpleCosmicBONSeedsBottom.NegativeYOnly = True
162 simpleCosmicBONSeedsBottom.ClusterCheckPSet.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
163 simpleCosmicBONSeedsBottom.TripletsPSet.TIB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
164 simpleCosmicBONSeedsBottom.TripletsPSet.TIB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
165 simpleCosmicBONSeedsBottom.TripletsPSet.TIB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
166 simpleCosmicBONSeedsBottom.TripletsPSet.TOB1.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
167 simpleCosmicBONSeedsBottom.TripletsPSet.TOB2.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
168 simpleCosmicBONSeedsBottom.TripletsPSet.TOB3.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
169 simpleCosmicBONSeedsBottom.TripletsPSet.TOB4.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
170 simpleCosmicBONSeedsBottom.TripletsPSet.TOB5.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
171 simpleCosmicBONSeedsBottom.TripletsPSet.TOB6.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
172 simpleCosmicBONSeedsBottom.TripletsPSet.TEC.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
173 simpleCosmicBONSeedsBottom.TripletsPSet.TEC.rphiRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
174 simpleCosmicBONSeedsBottom.ClusterCheckPSet.MaxNumberOfCosmicClusters = 150
175 combinedP5SeedsForCTFBottom = globalCombinedSeeds.clone(
176 seedCollections = cms.VInputTag(cms.InputTag('combinatorialcosmicseedfinderP5Bottom'),cms.InputTag('simpleCosmicBONSeedsBottom'))
177 )
178 MeasurementTrackerBottom = MeasurementTracker.clone(
179 pixelClusterProducer = cms.string('siPixelClustersBottom'),
180 stripClusterProducer = cms.string('siStripClustersBottom'),
181 ComponentName = cms.string('MeasurementTrackerBottom')
182 )
183 GroupedCkfTrajectoryBuilderP5Bottom = copy.deepcopy(GroupedCkfTrajectoryBuilderP5)
184 GroupedCkfTrajectoryBuilderP5Bottom.MeasurementTrackerName = cms.string('MeasurementTrackerBottom')
185 GroupedCkfTrajectoryBuilderP5Bottom.ComponentName = cms.string('GroupedCkfTrajectoryBuilderP5Bottom')
186 ckfTrackCandidatesP5Bottom = copy.deepcopy(ckfTrackCandidatesP5)
187 ckfTrackCandidatesP5Bottom.TrajectoryBuilder = 'GroupedCkfTrajectoryBuilderP5Bottom'
188 ckfTrackCandidatesP5Bottom.NavigationSchool = 'CosmicNavigationSchool'
189 ckfTrackCandidatesP5Bottom.src = 'combinedP5SeedsForCTFBottom' #ok for 32X
190 #ckfTrackCandidatesP5Bottom.SeedProducer = 'combinedP5SeedsForCTFBottom' #ok for 22X
191 ckfTrackCandidatesP5Bottom.useHitsSplitting = True
192 ctfWithMaterialTracksP5Bottom = copy.deepcopy(ctfWithMaterialTracksCosmics)
193 ctfWithMaterialTracksP5Bottom.src = 'ckfTrackCandidatesP5Bottom'
194 ctfWithMaterialTracksP5Bottom.Fitter = 'FittingSmootherRKP5'
195 ctfWithMaterialTracksP5Bottom.clusterRemovalInfo = "topBottomClusterInfoProducerBottom"
196 ctftracksP5Bottom = cms.Sequence(combinatorialcosmicseedfinderP5Bottom*simpleCosmicBONSeedsBottom*
197  combinedP5SeedsForCTFBottom*ckfTrackCandidatesP5Bottom*
198  ctfWithMaterialTracksP5Bottom)
199 
200 #COSMIC TOP
201 cosmicseedfinderP5Top = copy.deepcopy(cosmicseedfinderP5)
202 cosmicCandidateFinderP5Top = copy.deepcopy(cosmicCandidateFinderP5)
203 cosmictrackfinderP5Top = copy.deepcopy(cosmictrackfinderCosmics)
204 cosmicseedfinderP5Top.stereorecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
205 cosmicseedfinderP5Top.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
206 cosmicseedfinderP5Top.rphirecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
207 cosmicseedfinderP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
208 cosmicseedfinderP5Top.PositiveYOnly = True
209 cosmicseedfinderP5Top.NegativeYOnly = False
210 cosmicseedfinderP5Top.MaxNumberOfCosmicClusters = 150
211 cosmicCandidateFinderP5Top.cosmicSeeds = 'cosmicseedfinderP5Top'
212 cosmicCandidateFinderP5Top.stereorecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
213 cosmicCandidateFinderP5Top.HitProducer = cms.string('siStripRecHitsTop')
214 cosmicCandidateFinderP5Top.pixelRecHits = cms.InputTag("siPixelRecHitsTop")
215 cosmicCandidateFinderP5Top.matchedRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
216 cosmicCandidateFinderP5Top.rphirecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
217 cosmictrackfinderP5Top.src = 'cosmicCandidateFinderP5Top'
218 cosmictrackfinderP5Top.clusterRemovalInfo = "topBottomClusterInfoProducerTop"
219 cosmictracksP5Top = cms.Sequence(cosmicseedfinderP5Top*cosmicCandidateFinderP5Top*cosmictrackfinderP5Top)
220 
221 #COSMIC BOTTOM
222 cosmicseedfinderP5Bottom = copy.deepcopy(cosmicseedfinderP5)
223 cosmicCandidateFinderP5Bottom = copy.deepcopy(cosmicCandidateFinderP5)
224 cosmictrackfinderP5Bottom = copy.deepcopy(cosmictrackfinderCosmics)
225 cosmicseedfinderP5Bottom.stereorecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
226 cosmicseedfinderP5Bottom.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
227 cosmicseedfinderP5Bottom.rphirecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
228 cosmicseedfinderP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
229 cosmicseedfinderP5Bottom.PositiveYOnly = False
230 cosmicseedfinderP5Bottom.NegativeYOnly = True
231 cosmicseedfinderP5Bottom.MaxNumberOfCosmicClusters = 150
232 cosmicCandidateFinderP5Bottom.cosmicSeeds = 'cosmicseedfinderP5Bottom'
233 cosmicCandidateFinderP5Bottom.stereorecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
234 cosmicCandidateFinderP5Bottom.HitProducer = cms.string('siStripRecHitsBottom')
235 cosmicCandidateFinderP5Bottom.pixelRecHits = cms.InputTag("siPixelRecHitsBottom")
236 cosmicCandidateFinderP5Bottom.matchedRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
237 cosmicCandidateFinderP5Bottom.rphirecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
238 cosmictrackfinderP5Bottom.src = 'cosmicCandidateFinderP5Bottom'
239 cosmictrackfinderP5Bottom.clusterRemovalInfo = "topBottomClusterInfoProducerBottom"
240 cosmictracksP5Bottom = cms.Sequence(cosmicseedfinderP5Bottom*cosmicCandidateFinderP5Bottom*cosmictrackfinderP5Bottom)
241 
242 #RS TOP
243 roadSearchSeedsP5Top = copy.deepcopy(roadSearchSeedsP5)
244 roadSearchCloudsP5Top = copy.deepcopy(roadSearchCloudsP5)
245 rsTrackCandidatesP5Top = copy.deepcopy(rsTrackCandidatesP5)
246 rsWithMaterialTracksP5Top = copy.deepcopy(rsWithMaterialTracksCosmics)
247 roadSearchSeedsP5Top.AllPositiveOnly = True
248 roadSearchSeedsP5Top.pixelRecHits = cms.InputTag("siPixelRecHitsTop")
249 roadSearchSeedsP5Top.rphiStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
250 roadSearchSeedsP5Top.stereoStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
251 roadSearchSeedsP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
252 roadSearchSeedsP5Top.matchedStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
253 roadSearchSeedsP5Top.MaxNumberOfCosmicClusters = 150
254 roadSearchCloudsP5Top.SeedProducer = 'roadSearchSeedsP5Top'
255 roadSearchCloudsP5Top.pixelRecHits = cms.InputTag("siPixelRecHitsTop")
256 roadSearchCloudsP5Top.rphiStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","rphiRecHit")
257 roadSearchCloudsP5Top.stereoStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","stereoRecHit")
258 roadSearchCloudsP5Top.ClusterCollectionLabel = cms.InputTag("siStripClustersTop")
259 roadSearchCloudsP5Top.matchedStripRecHits = cms.InputTag("siStripMatchedRecHitsTop","matchedRecHit")
260 rsTrackCandidatesP5Top.CloudProducer = 'roadSearchCloudsP5Top'
261 rsTrackCandidatesP5Top.SplitMatchedHits = True
262 rsWithMaterialTracksP5Top.src = 'rsTrackCandidatesP5Top'
263 rsWithMaterialTracksP5Top.clusterRemovalInfo = "topBottomClusterInfoProducerTop"
264 rstracksP5Top = cms.Sequence(roadSearchSeedsP5Top*roadSearchCloudsP5Top*
265  rsTrackCandidatesP5Top*rsWithMaterialTracksP5Top)
266 
267 #RS BOTTOM
268 roadSearchSeedsP5Bottom = copy.deepcopy(roadSearchSeedsP5)
269 roadSearchCloudsP5Bottom = copy.deepcopy(roadSearchCloudsP5)
270 rsTrackCandidatesP5Bottom = copy.deepcopy(rsTrackCandidatesP5)
271 rsWithMaterialTracksP5Bottom = copy.deepcopy(rsWithMaterialTracksCosmics)
272 roadSearchSeedsP5Bottom.AllNegativeOnly = True
273 roadSearchSeedsP5Bottom.pixelRecHits = cms.InputTag("siPixelRecHitsBottom")
274 roadSearchSeedsP5Bottom.rphiStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
275 roadSearchSeedsP5Bottom.stereoStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
276 roadSearchSeedsP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
277 roadSearchSeedsP5Bottom.matchedStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
278 roadSearchSeedsP5Bottom.MaxNumberOfCosmicClusters = 150
279 roadSearchCloudsP5Bottom.SeedProducer = 'roadSearchSeedsP5Bottom'
280 roadSearchCloudsP5Bottom.pixelRecHits = cms.InputTag("siPixelRecHitsBottom")
281 roadSearchCloudsP5Bottom.rphiStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","rphiRecHit")
282 roadSearchCloudsP5Bottom.stereoStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","stereoRecHit")
283 roadSearchCloudsP5Bottom.ClusterCollectionLabel = cms.InputTag("siStripClustersBottom")
284 roadSearchCloudsP5Bottom.matchedStripRecHits = cms.InputTag("siStripMatchedRecHitsBottom","matchedRecHit")
285 rsTrackCandidatesP5Bottom.CloudProducer = 'roadSearchCloudsP5Bottom'
286 rsTrackCandidatesP5Bottom.SplitMatchedHits = True
287 rsWithMaterialTracksP5Bottom.src = 'rsTrackCandidatesP5Bottom'
288 rsWithMaterialTracksP5Bottom.clusterRemovalInfo = "topBottomClusterInfoProducerBottom"
289 rstracksP5Bottom = cms.Sequence(roadSearchSeedsP5Bottom*roadSearchCloudsP5Bottom*
290  rsTrackCandidatesP5Bottom*rsWithMaterialTracksP5Bottom)
291 
292 #TOP SEQUENCE
293 tracksP5Top = cms.Sequence(ctftracksP5Top+cosmictracksP5Top+rstracksP5Top)
294 #BOTTOM SEQUENCE
295 tracksP5Bottom = cms.Sequence(ctftracksP5Bottom+cosmictracksP5Bottom+rstracksP5Bottom)