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']
74 muIsoDepositCalByAssociatorHits.inputTags = [
'muons:ecal',
'muons:hcal',
'muons:ho']
78 tevMuons.MuonCollectionLabel =
'globalCosmicMuons' 79 tevMuons.RefitterParameters.PropDirForCosmics =
True 83 glbTrackQual.InputCollection =
'globalCosmicMuons' 86 allmuonsTask = cms.Task(glbTrackQual,
90 allmuons = cms.Sequence(allmuonsTask)
93 muonrecoforcosmicsTask = cms.Task(muontrackingforcosmicsTask,
96 muonrecoforcosmics = cms.Sequence(muonrecoforcosmicsTask)
100 cosmicMuons1Leg = cosmicMuons.clone(
101 MuonSeedCollectionLabel =
'CosmicMuonSeed',
102 TrajectoryBuilderParameters = dict(BuildTraversingMuon =
True)
106 globalCosmicMuons1Leg = globalCosmicMuons.clone(
107 MuonCollectionLabel =
'cosmicMuons1Leg',
108 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
112 muons1Leg = muons1stStep.clone(
113 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
114 'globalCosmicMuons1Leg',
116 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
117 fillIsolation =
False,
118 fillGlobalTrackQuality =
False,
119 fillGlobalTrackRefits =
False,
120 TimingFillerParameters = dict(
121 DTTimingParameters = dict(PruneCut = 9999),
122 CSCTimingParameters = dict(PruneCut = 9999))
127 STAmuontrackingforcosmics1LegTask = cms.Task(CosmicMuonSeed,cosmicMuons1Leg)
130 muontrackingforcosmics1LegTask = cms.Task(STAmuontrackingforcosmics1LegTask, globalCosmicMuons1Leg)
133 muonrecoforcosmics1LegTask = cms.Task(muontrackingforcosmics1LegTask,muons1Leg)
140 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone(
141 DTRecSegmentLabel =
'dt4DSegmentsT0Seg' 145 cosmicMuonsWitht0Correction = cosmicMuons.clone(
146 MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction',
147 TrajectoryBuilderParameters = dict(BuildTraversingMuon =
False, DTRecSegmentLabel =
'dt4DSegmentsT0Seg')
151 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone(
152 MuonCollectionLabel =
'cosmicMuonsWitht0Correction',
153 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
157 muonsWitht0Correction = muons1stStep.clone(
158 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
159 'globalCosmicMuonsWitht0Correction',
160 'cosmicMuonsWitht0Correction'],
161 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
162 fillIsolation =
True,
163 fillGlobalTrackQuality =
False,
164 fillGlobalTrackRefits =
False,
165 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
167 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0),
168 TimingFillerParameters = dict(
169 DTTimingParameters = dict(UseSegmentT0 =
True),
170 MatchParameters = dict(DTsegments =
'dt4DSegmentsT0Seg'))
175 STAmuontrackingforcosmicsWitht0CorrectionTask = cms.Task(CosmicMuonSeedWitht0Correction,cosmicMuonsWitht0Correction)
176 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0CorrectionTask)
179 muontrackingforcosmicsWitht0CorrectionTask = cms.Task(STAmuontrackingforcosmicsWitht0CorrectionTask,globalCosmicMuonsWitht0Correction)
180 muontrackingforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0CorrectionTask)
183 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0CorrectionTask)
186 muonrecoforcosmicsWitht0CorrectionTask = cms.Task(muontrackingforcosmicsWitht0CorrectionTask,muonsWitht0Correction)
187 muonrecoforcosmicsWitht0Correction = cms.Sequence(muonrecoforcosmicsWitht0CorrectionTask)
190 muonRecoGRTask = cms.Task(muonrecoforcosmics1LegTask,muonrecoforcosmicsWitht0CorrectionTask)
191 muonRecoGR = cms.Sequence(muonRecoGRTask)
198 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone(
199 EnableDTMeasurement =
False 203 cosmicMuonsEndCapsOnly = cosmicMuons.clone(
204 MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly',
205 TrajectoryBuilderParameters = dict(
206 EnableDTMeasurement =
False,
207 MuonNavigationParameters = dict(Barrel =
False))
211 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone(
212 MuonCollectionLabel =
'cosmicMuonsEndCapsOnly' 216 muonsBeamHaloEndCapsOnly = muons1stStep.clone(
217 inputCollectionLabels = [
'beamhaloTracks',
218 'globalBeamHaloMuonEndCapslOnly',
219 'cosmicMuonsEndCapsOnly'],
220 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
221 fillIsolation =
True,
222 fillGlobalTrackQuality =
False,
223 fillGlobalTrackRefits =
False,
224 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
226 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
230 muonrecoBeamHaloEndCapsOnlyTask = cms.Task(CosmicMuonSeedEndCapsOnly,
231 cosmicMuonsEndCapsOnly,
232 globalBeamHaloMuonEndCapslOnly,
233 muonsBeamHaloEndCapsOnly)
234 muonrecoBeamHaloEndCapsOnly = cms.Sequence(muonrecoBeamHaloEndCapsOnlyTask)
241 cosmicMuonsNoRPC = cosmicMuons.clone(
242 TrajectoryBuilderParameters = dict(EnableRPCMeasurement =
False)
246 globalCosmicMuonsNoRPC = globalCosmicMuons.clone(
247 MuonCollectionLabel =
'cosmicMuonsNoRPC',
248 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'ctfWithMaterialTracksP5')
252 muonsNoRPC = muons1stStep.clone(
253 inputCollectionLabels = [
'ctfWithMaterialTracksP5',
254 'globalCosmicMuonsNoRPC',
256 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
257 fillIsolation =
True,
258 fillGlobalTrackQuality =
False,
259 fillGlobalTrackRefits =
False,
260 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5'),
262 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
268 muontrackingforcosmicsNoRPCTask = cms.Task(cosmicMuonsNoRPC,globalCosmicMuonsNoRPC)
269 muontrackingforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPCTask)
272 muonrecoforcosmicsNoRPCTask = cms.Task(muontrackingforcosmicsNoRPCTask,muonsNoRPC)
273 muonrecoforcosmicsNoRPC = cms.Sequence(muonrecoforcosmicsNoRPCTask)
280 globalCosmicSplitMuons = globalCosmicMuons.clone(
281 MuonCollectionLabel =
'cosmicMuons',
282 TrajectoryBuilderParameters = dict(TkTrackCollectionLabel =
'splittedTracksP5')
286 splitMuons = muons1stStep.clone(
287 inputCollectionLabels = [
'splittedTracksP5',
288 'globalCosmicSplitMuons',
290 inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks'],
291 fillIsolation =
True,
292 fillGlobalTrackQuality =
False,
293 fillGlobalTrackRefits =
False,
294 TrackExtractorPSet = dict(inputTrackCollection =
'splittedTracksP5'),
296 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
302 muonrecoforsplitcosmicsTask = cms.Task(globalCosmicSplitMuons,splitMuons)
303 muonrecoforsplitcosmics = cms.Sequence(muonrecoforsplitcosmicsTask)
313 lhcSTAMuons = muons1stStep.clone(
314 inputCollectionLabels = [
'standAloneMuons'],
315 inputCollectionTypes = [
'outer tracks'],
316 fillIsolation =
True,
317 fillGlobalTrackQuality =
False,
318 fillGlobalTrackRefits =
False,
319 TrackExtractorPSet = dict(inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'),
321 CaloExtractorPSet = dict(CenterConeOnCalIntersection =
True, DR_Max = 1.0)
325 muonRecoLHCTask = cms.Task(ancientMuonSeed,
328 muonRecoLHC = cms.Sequence(muonRecoLHCTask)
331 muonRecoGRTask = cms.Task(muonrecoforcosmicsTask,
333 muonrecoBeamHaloEndCapsOnlyTask,
334 muonrecoforcosmicsNoRPCTask,
335 muonrecoforsplitcosmicsTask,
337 muonRecoGR = cms.Sequence(muonRecoGRTask)