1 import FWCore.ParameterSet.Config
as cms
15 globalCosmicMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5LHCNavigation'
20 muons = muons1stStep.clone(
21 inputCollectionLabels = [
'ctfWithMaterialTracksP5LHCNavigation',
28 inputCollectionTypes = [
'inner tracks',
35 fillGlobalTrackQuality =
True,
37 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'),
39 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0),
40 TimingFillerParameters = dict(
41 DTTimingParameters = dict(PruneCut = 9999),
42 CSCTimingParameters = dict(PruneCut = 9999))
46 muonsFromCosmics = muons1stStep.clone(
47 inputCollectionLabels = [
'cosmicMuons'],
48 inputCollectionTypes = [
'outer tracks'],
49 fillIsolation =
False,
50 fillGlobalTrackQuality =
False,
51 fillGlobalTrackRefits =
False,
52 TrackExtractorPSet = dict(inputTrackCollection =
'cosmicMuons'),
53 TimingFillerParameters = dict(
54 DTTimingParameters = dict(PruneCut = 9999),
55 CSCTimingParameters = dict(PruneCut = 9999))
60 STAmuontrackingforcosmicsTask = cms.Task(CosmicMuonSeed,cosmicMuons)
61 STAmuontrackingforcosmics = cms.Sequence(STAmuontrackingforcosmicsTask)
64 muontrackingforcosmicsTask = cms.Task(STAmuontrackingforcosmicsTask,globalCosmicMuons)
65 muontrackingforcosmics = cms.Sequence(muontrackingforcosmicsTask)
71 muIsoDepositTk.inputTags = [
'muons:tracker']
72 muIsoDepositJets.inputTags = [
'muons:jets']
73 muIsoDepositCalByAssociatorTowers.inputTags = [
'muons:ecal',
'muons:hcal',
'muons:ho']
77 tevMuons.MuonCollectionLabel =
'globalCosmicMuons'
78 tevMuons.RefitterParameters.PropDirForCosmics =
True
82 glbTrackQual.InputCollection =
'globalCosmicMuons'
85 allmuonsTask = cms.Task(glbTrackQual,
89 allmuons = cms.Sequence(allmuonsTask)
92 muonrecoforcosmicsTask = cms.Task(muontrackingforcosmicsTask,
95 muonrecoforcosmics = cms.Sequence(muonrecoforcosmicsTask)
99 cosmicMuons1Leg = cosmicMuons.clone(
100 MuonSeedCollectionLabel =
'CosmicMuonSeed',
101 TrajectoryBuilderParameters = dict(BuildTraversingMuon =
True)
105 globalCosmicMuons1Leg = globalCosmicMuons.clone(
106 MuonCollectionLabel =
'cosmicMuons1Leg',
107 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
111 muons1Leg = muons1stStep.clone(
112 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
113 'globalCosmicMuons1Leg',
115 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
116 fillIsolation =
False,
117 fillGlobalTrackQuality =
False,
118 fillGlobalTrackRefits =
False,
119 TimingFillerParameters = dict(
120 DTTimingParameters = dict(PruneCut = 9999),
121 CSCTimingParameters = dict(PruneCut = 9999))
126 STAmuontrackingforcosmics1LegTask = cms.Task(CosmicMuonSeed,cosmicMuons1Leg)
129 muontrackingforcosmics1LegTask = cms.Task(STAmuontrackingforcosmics1LegTask, globalCosmicMuons1Leg)
132 muonrecoforcosmics1LegTask = cms.Task(muontrackingforcosmics1LegTask,muons1Leg)
139 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone(
140 DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
144 cosmicMuonsWitht0Correction = cosmicMuons.clone(
145 MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction',
146 TrajectoryBuilderParameters = dict(BuildTraversingMuon =
False, DTRecSegmentLabel =
'dt4DSegmentsT0Seg')
150 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone(
151 MuonCollectionLabel =
'cosmicMuonsWitht0Correction',
152 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
156 muonsWitht0Correction = muons1stStep.clone(
157 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
158 'globalCosmicMuonsWitht0Correction',
159 'cosmicMuonsWitht0Correction'],
160 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
161 fillIsolation =
True,
162 fillGlobalTrackQuality =
False,
163 fillGlobalTrackRefits =
False,
164 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
166 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0),
167 TimingFillerParameters = dict(
168 DTTimingParameters = dict(UseSegmentT0 =
True),
169 MatchParameters = dict(DTsegments =
'dt4DSegmentsT0Seg'))
174 STAmuontrackingforcosmicsWitht0CorrectionTask = cms.Task(CosmicMuonSeedWitht0Correction,cosmicMuonsWitht0Correction)
175 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0CorrectionTask)
178 muontrackingforcosmicsWitht0CorrectionTask = cms.Task(STAmuontrackingforcosmicsWitht0CorrectionTask,globalCosmicMuonsWitht0Correction)
179 muontrackingforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0CorrectionTask)
182 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0CorrectionTask)
185 muonrecoforcosmicsWitht0CorrectionTask = cms.Task(muontrackingforcosmicsWitht0CorrectionTask,muonsWitht0Correction)
186 muonrecoforcosmicsWitht0Correction = cms.Sequence(muonrecoforcosmicsWitht0CorrectionTask)
189 muonRecoGRTask = cms.Task(muonrecoforcosmics1LegTask,muonrecoforcosmicsWitht0CorrectionTask)
190 muonRecoGR = cms.Sequence(muonRecoGRTask)
197 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone(
198 EnableDTMeasurement =
False
202 cosmicMuonsEndCapsOnly = cosmicMuons.clone(
203 MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly',
204 TrajectoryBuilderParameters = dict(
205 EnableDTMeasurement =
False,
206 MuonNavigationParameters = dict(Barrel =
False))
210 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone(
211 MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
215 muonsBeamHaloEndCapsOnly = muons1stStep.clone(
216 inputCollectionLabels = [
'beamhaloTracks',
217 'globalBeamHaloMuonEndCapslOnly',
218 'cosmicMuonsEndCapsOnly'],
219 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
220 fillIsolation =
True,
221 fillGlobalTrackQuality =
False,
222 fillGlobalTrackRefits =
False,
223 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
225 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
229 muonrecoBeamHaloEndCapsOnlyTask = cms.Task(CosmicMuonSeedEndCapsOnly,
230 cosmicMuonsEndCapsOnly,
231 globalBeamHaloMuonEndCapslOnly,
232 muonsBeamHaloEndCapsOnly)
233 muonrecoBeamHaloEndCapsOnly = cms.Sequence(muonrecoBeamHaloEndCapsOnlyTask)
240 cosmicMuonsNoRPC = cosmicMuons.clone(
241 TrajectoryBuilderParameters = dict(EnableRPCMeasurement =
False)
245 globalCosmicMuonsNoRPC = globalCosmicMuons.clone(
246 MuonCollectionLabel =
'cosmicMuonsNoRPC',
247 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
251 muonsNoRPC = muons1stStep.clone(
252 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
253 'globalCosmicMuonsNoRPC',
255 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
256 fillIsolation =
True,
257 fillGlobalTrackQuality =
False,
258 fillGlobalTrackRefits =
False,
259 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
261 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
267 muontrackingforcosmicsNoRPCTask = cms.Task(cosmicMuonsNoRPC,globalCosmicMuonsNoRPC)
268 muontrackingforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPCTask)
271 muonrecoforcosmicsNoRPCTask = cms.Task(muontrackingforcosmicsNoRPCTask,muonsNoRPC)
272 muonrecoforcosmicsNoRPC = cms.Sequence(muonrecoforcosmicsNoRPCTask)
279 globalCosmicSplitMuons = globalCosmicMuons.clone(
280 MuonCollectionLabel =
'cosmicMuons',
281 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'splittedTracksP5')
285 splitMuons = muons1stStep.clone(
286 inputCollectionLabels = [
'splittedTracksP5',
287 'globalCosmicSplitMuons',
289 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
290 fillIsolation =
True,
291 fillGlobalTrackQuality =
False,
292 fillGlobalTrackRefits =
False,
293 TrackExtractorPSet = dict(inputTrackCollection =
'splittedTracksP5'),
295 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
301 muonrecoforsplitcosmicsTask = cms.Task(globalCosmicSplitMuons,splitMuons)
302 muonrecoforsplitcosmics = cms.Sequence(muonrecoforsplitcosmicsTask)
312 lhcSTAMuons = muons1stStep.clone(
313 inputCollectionLabels = [
'standAloneMuons'],
314 inputCollectionTypes = [
'outer tracks'],
315 fillIsolation =
True,
316 fillGlobalTrackQuality =
False,
317 fillGlobalTrackRefits =
False,
318 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'),
320 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
324 muonRecoLHCTask = cms.Task(ancientMuonSeed,
327 muonRecoLHC = cms.Sequence(muonRecoLHCTask)
330 muonRecoGRTask = cms.Task(muonrecoforcosmicsTask,
332 muonrecoBeamHaloEndCapsOnlyTask,
333 muonrecoforcosmicsNoRPCTask,
334 muonrecoforsplitcosmicsTask,
336 muonRecoGR = cms.Sequence(muonRecoGRTask)