15 globalCosmicMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5LHCNavigation'
20 muons.inputCollectionLabels = [
'ctfWithMaterialTracksP5LHCNavigation',
'globalCosmicMuons',
'cosmicMuons']
21 muons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
22 muons.fillIsolation =
True
23 muons.fillGlobalTrackQuality =
True
25 muons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
26 muons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
29 calomuons.inputTracks =
'ctfWithMaterialTracksP5LHCNavigation'
34 STAmuontrackingforcosmics = cms.Sequence(CosmicMuonSeed*cosmicMuons)
36 STAmuonrecoforcosmics = cms.Sequence(STAmuontrackingforcosmics)
39 muontrackingforcosmics = cms.Sequence(STAmuontrackingforcosmics*globalCosmicMuons)
48 tevMuons.MuonCollectionLabel =
"globalCosmicMuons"
49 tevMuons.RefitterParameters.PropDirForCosmics = cms.bool(
True)
53 glbTrackQual.InputCollection =
"globalCosmicMuons"
56 allmuons = cms.Sequence(glbTrackQual*muons*tevMuons*muIsolation*calomuons)
59 muonrecoforcosmics = cms.Sequence(muontrackingforcosmics*allmuons)
60 muonRecoAllGR = cms.Sequence(muonrecoforcosmics)
67 CosmicMuonSeedBarrelOnly = CosmicMuonSeed.clone()
68 CosmicMuonSeedBarrelOnly.EnableCSCMeasurement =
False
71 cosmicMuonsBarrelOnly = cosmicMuons.clone()
72 cosmicMuonsBarrelOnly.TrajectoryBuilderParameters.EnableCSCMeasurement =
False
73 cosmicMuonsBarrelOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Endcap =
False
74 cosmicMuonsBarrelOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedBarrelOnly'
77 globalCosmicMuonsBarrelOnly = globalCosmicMuons.clone()
78 globalCosmicMuonsBarrelOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
79 globalCosmicMuonsBarrelOnly.MuonCollectionLabel =
'cosmicMuonsBarrelOnly'
82 muonsBarrelOnly = muons.clone()
83 muonsBarrelOnly.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsBarrelOnly',
'cosmicMuonsBarrelOnly']
84 muonsBarrelOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
85 muonsBarrelOnly.fillIsolation =
True
86 muonsBarrelOnly.fillGlobalTrackQuality =
False
87 muonsBarrelOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
88 muonsBarrelOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
93 STAmuontrackingforcosmicsBarrelOnly = cms.Sequence(CosmicMuonSeedBarrelOnly*cosmicMuonsBarrelOnly)
96 muontrackingforcosmicsBarrelOnly = cms.Sequence(STAmuontrackingforcosmicsBarrelOnly*globalCosmicMuonsBarrelOnly)
99 STAmuonrecoforcosmicsBarrelOnly = cms.Sequence(STAmuontrackingforcosmicsBarrelOnly)
102 allmuonsBarrelOnly = cms.Sequence(muonsBarrelOnly)
105 muonrecoforcosmicsBarrelOnly = cms.Sequence(muontrackingforcosmicsBarrelOnly*allmuonsBarrelOnly)
112 cosmicMuons1Leg = cosmicMuons.clone()
113 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon =
True
114 cosmicMuons1Leg.MuonSeedCollectionLabel =
'CosmicMuonSeed'
117 globalCosmicMuons1Leg = globalCosmicMuons.clone()
118 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
119 globalCosmicMuons1Leg.MuonCollectionLabel =
'cosmicMuons1Leg'
122 muons1Leg = muons.clone()
123 muons1Leg.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuons1Leg',
'cosmicMuons1Leg']
124 muons1Leg.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
125 muons1Leg.fillIsolation =
False
126 muons1Leg.fillGlobalTrackQuality =
False
131 STAmuontrackingforcosmics1Leg = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
134 muontrackingforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg*globalCosmicMuons1Leg)
137 allmuons1Leg = cms.Sequence(muons1Leg)
140 STAmuonrecoforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg)
143 muonrecoforcosmics1Leg = cms.Sequence(muontrackingforcosmics1Leg*allmuons1Leg)
150 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone()
151 CosmicMuonSeedWitht0Correction.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
154 cosmicMuonsWitht0Correction = cosmicMuons.clone()
155 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.BuildTraversingMuon =
False
156 cosmicMuonsWitht0Correction.MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction'
157 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
160 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone()
161 globalCosmicMuonsWitht0Correction.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
162 globalCosmicMuonsWitht0Correction.MuonCollectionLabel =
'cosmicMuonsWitht0Correction'
165 muonsWitht0Correction = muons.clone()
166 muonsWitht0Correction.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsWitht0Correction',
'cosmicMuonsWitht0Correction']
167 muonsWitht0Correction.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
168 muonsWitht0Correction.fillIsolation =
True
169 muonsWitht0Correction.fillGlobalTrackQuality =
False
170 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.UseSegmentT0 =
True
171 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.DTsegments =
'dt4DSegmentsT0Seg'
172 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments =
'dt4DSegmentsT0Seg'
173 muonsWitht0Correction.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
174 muonsWitht0Correction.CaloExtractorPSet.CenterConeOnCalIntersection =
True
180 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(CosmicMuonSeedWitht0Correction*cosmicMuonsWitht0Correction)
183 muontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction*globalCosmicMuonsWitht0Correction)
186 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction)
189 allmuonsWitht0Correction = cms.Sequence(muonsWitht0Correction)
192 muonrecoforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0Correction*allmuonsWitht0Correction)
195 muonRecoBarrelGR = cms.Sequence(muonrecoforcosmicsBarrelOnly+muonrecoforcosmics1Leg+muonrecoforcosmicsWitht0Correction)
202 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone()
203 CosmicMuonSeedEndCapsOnly.EnableDTMeasurement =
False
206 cosmicMuonsEndCapsOnly = cosmicMuons.clone()
207 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.EnableDTMeasurement =
False
208 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Barrel =
False
209 cosmicMuonsEndCapsOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly'
212 globalCosmicMuonsEndCapsOnly = globalCosmicMuons.clone()
213 globalCosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
214 globalCosmicMuonsEndCapsOnly.MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
217 muonsEndCapsOnly = muons.clone()
218 muonsEndCapsOnly.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsEndCapsOnly',
'cosmicMuonsEndCapsOnly']
219 muonsEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
220 muonsEndCapsOnly.fillIsolation =
True
221 muonsEndCapsOnly.fillGlobalTrackQuality =
False
222 muonsEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
223 muonsEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
228 STAmuontrackingforcosmicsEnsCapsOnly = cms.Sequence(CosmicMuonSeedEndCapsOnly*cosmicMuonsEndCapsOnly)
231 muontrackingforcosmicsEndCapsOnly = cms.Sequence(STAmuontrackingforcosmicsEnsCapsOnly*globalCosmicMuonsEndCapsOnly)
234 STAmuonrecoforcosmicsEndCapsOnly = cms.Sequence(STAmuontrackingforcosmicsEnsCapsOnly)
237 allmuonsEndCapsOnly = cms.Sequence(muonsEndCapsOnly)
240 muonrecoforcosmicsEndCapsOnly = cms.Sequence(muontrackingforcosmicsEndCapsOnly*allmuonsEndCapsOnly)
245 globalBeamHaloMuonEndCapslOnly = globalCosmicMuonsEndCapsOnly.clone()
246 globalBeamHaloMuonEndCapslOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'beamhaloTracks'
249 muonsBeamHaloEndCapsOnly = muons.clone()
250 muonsBeamHaloEndCapsOnly.inputCollectionLabels = [
'beamhaloTracks',
'globalBeamHaloMuonEndCapslOnly',
'cosmicMuonsEndCapsOnly']
251 muonsBeamHaloEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
252 muonsBeamHaloEndCapsOnly.fillIsolation =
True
253 muonsBeamHaloEndCapsOnly.fillGlobalTrackQuality =
False
254 muonsBeamHaloEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
255 muonsBeamHaloEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
258 muonrecoBeamHaloEndCapsOnly = cms.Sequence(globalBeamHaloMuonEndCapslOnly*muonsBeamHaloEndCapsOnly)
261 muonRecoEndCapsGR = cms.Sequence(muonrecoforcosmicsEndCapsOnly*muonrecoBeamHaloEndCapsOnly)
268 cosmicMuonsNoRPC = cosmicMuons.clone()
269 cosmicMuonsNoRPC.TrajectoryBuilderParameters.EnableRPCMeasurement =
False
272 globalCosmicMuonsNoRPC = globalCosmicMuons.clone()
273 globalCosmicMuonsNoRPC.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
274 globalCosmicMuonsNoRPC.MuonCollectionLabel =
'cosmicMuonsNoRPC'
277 muonsNoRPC = muons.clone()
278 muonsNoRPC.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsNoRPC',
'cosmicMuonsNoRPC']
279 muonsNoRPC.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
280 muonsNoRPC.fillIsolation =
True
281 muonsNoRPC.fillGlobalTrackQuality =
False
282 muonsNoRPC.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
283 muonsNoRPC.CaloExtractorPSet.CenterConeOnCalIntersection =
True
288 STAmuontrackingforcosmicsNoRPC = cms.Sequence(cosmicMuonsNoRPC)
291 muontrackingforcosmicsNoRPC = cms.Sequence(STAmuontrackingforcosmicsNoRPC*globalCosmicMuonsNoRPC)
294 allmuonsNoRPC = cms.Sequence(muonsNoRPC)
297 muonrecoforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPC*allmuonsNoRPC)
304 globalCosmicSplitMuons = globalCosmicMuons.clone()
305 globalCosmicSplitMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'splittedTracksP5'
306 globalCosmicSplitMuons.MuonCollectionLabel =
'cosmicMuons'
310 splitMuons = muons.clone()
311 splitMuons.inputCollectionLabels = [
'splittedTracksP5',
'globalCosmicSplitMuons',
'cosmicMuons']
312 splitMuons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
313 splitMuons.fillIsolation =
True
314 splitMuons.fillGlobalTrackQuality =
False
315 splitMuons.TrackExtractorPSet.inputTrackCollection =
'splittedTracksP5'
316 splitMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
321 muonrecoforsplitcosmics = cms.Sequence(globalCosmicSplitMuons*splitMuons)
333 lhcMuonSeedBarrelOnly = ancientMuonSeed.clone()
334 lhcMuonSeedBarrelOnly.EnableCSCMeasurement =
False
337 lhcStandAloneMuonsBarrelOnly = standAloneMuons.clone()
338 lhcStandAloneMuonsBarrelOnly.STATrajBuilderParameters.BWFilterParameters.EnableCSCMeasurement =
False
339 lhcStandAloneMuonsBarrelOnly.InputObjects =
'lhcMuonSeedBarrelOnly'
343 lhcSTAMuonsBarrelOnly = muons.clone()
344 lhcSTAMuonsBarrelOnly.inputCollectionLabels = [
'lhcStandAloneMuonsBarrelOnly']
345 lhcSTAMuonsBarrelOnly.inputCollectionTypes = [
'outer tracks']
346 lhcSTAMuonsBarrelOnly.fillIsolation =
True
347 lhcSTAMuonsBarrelOnly.fillGlobalTrackQuality =
False
348 lhcSTAMuonsBarrelOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
349 lhcSTAMuonsBarrelOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
352 lhcMuonBarrelOnly = cms.Sequence(lhcMuonSeedBarrelOnly*lhcStandAloneMuonsBarrelOnly)
355 muonrecocosmicLHCBarrelOnly = cms.Sequence(lhcMuonBarrelOnly*lhcSTAMuonsBarrelOnly)
362 lhcMuonSeedEndCapsOnly = ancientMuonSeed.clone()
363 lhcMuonSeedEndCapsOnly.EnableDTMeasurement =
False
366 lhcStandAloneMuonsEndCapsOnly = standAloneMuons.clone()
367 lhcStandAloneMuonsEndCapsOnly.STATrajBuilderParameters.BWFilterParameters.EnableDTMeasurement =
False
368 lhcStandAloneMuonsEndCapsOnly.InputObjects =
'lhcMuonSeedEndCapsOnly'
372 lhcSTAMuonsEndCapsOnly = muons.clone()
373 lhcSTAMuonsEndCapsOnly.inputCollectionLabels = [
'lhcStandAloneMuonsEndCapsOnly']
374 lhcSTAMuonsEndCapsOnly.inputCollectionTypes = [
'outer tracks']
375 lhcSTAMuonsEndCapsOnly.fillIsolation =
True
376 lhcSTAMuonsEndCapsOnly.fillGlobalTrackQuality =
False
377 lhcSTAMuonsEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
378 lhcSTAMuonsEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
381 lhcMuonEndCapsOnly = cms.Sequence(lhcMuonSeedEndCapsOnly*lhcStandAloneMuonsEndCapsOnly)
384 muonrecocosmicLHCEndCapsOnly = cms.Sequence(lhcMuonEndCapsOnly*lhcSTAMuonsEndCapsOnly)
387 muonRecoLHC = cms.Sequence(muonrecocosmicLHCBarrelOnly*muonrecocosmicLHCEndCapsOnly)
394 muonRecoGR = cms.Sequence(muonRecoAllGR*muonRecoBarrelGR*muonRecoEndCapsGR*muonrecoforcosmicsNoRPC*muonrecoforsplitcosmics*muonRecoLHC)