1 import FWCore.ParameterSet.Config
as cms
15 globalCosmicMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5LHCNavigation'
20 muons = muons1stStep.clone()
22 muons.inputCollectionLabels = [
'ctfWithMaterialTracksP5LHCNavigation',
'globalCosmicMuons',
'cosmicMuons',
"tevMuons:firstHit",
"tevMuons:picky",
"tevMuons:dyt"]
23 muons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks',
'tev firstHit',
'tev picky',
'tev dyt']
24 muons.fillIsolation =
True
25 muons.fillGlobalTrackQuality =
True
26 muons.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
27 muons.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
29 muons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
30 muons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
33 calomuons.inputTracks =
'ctfWithMaterialTracksP5LHCNavigation'
34 calomuons.inputCollection =
'muons'
35 calomuons.inputMuons =
'muons'
40 STAmuontrackingforcosmics = cms.Sequence(CosmicMuonSeed*cosmicMuons)
42 STAmuonrecoforcosmics = cms.Sequence(STAmuontrackingforcosmics)
45 muontrackingforcosmics = cms.Sequence(STAmuontrackingforcosmics*globalCosmicMuons)
51 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag(
"muons:tracker"))
52 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag(
"muons:jets"))
53 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag(
"muons:ecal"), cms.InputTag(
"muons:hcal"), cms.InputTag(
"muons:ho"))
59 tevMuons.MuonCollectionLabel =
"globalCosmicMuons"
60 tevMuons.RefitterParameters.PropDirForCosmics = cms.bool(
True)
64 glbTrackQual.InputCollection =
"globalCosmicMuons"
67 allmuons = cms.Sequence(glbTrackQual*tevMuons*muons*muIsolation*calomuons)
70 muonrecoforcosmics = cms.Sequence(muontrackingforcosmics*allmuons)
71 muonRecoAllGR = cms.Sequence(muonrecoforcosmics)
76 cosmicMuons1Leg = cosmicMuons.clone()
77 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon =
True
78 cosmicMuons1Leg.MuonSeedCollectionLabel =
'CosmicMuonSeed'
81 globalCosmicMuons1Leg = globalCosmicMuons.clone()
82 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
83 globalCosmicMuons1Leg.MuonCollectionLabel =
'cosmicMuons1Leg'
86 muons1Leg = muons1stStep.clone()
87 muons1Leg.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuons1Leg',
'cosmicMuons1Leg']
88 muons1Leg.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
89 muons1Leg.fillIsolation =
False
90 muons1Leg.fillGlobalTrackQuality =
False
91 muons1Leg.fillGlobalTrackRefits =
False
92 muons1Leg.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
93 muons1Leg.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
97 STAmuontrackingforcosmics1Leg = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
100 muontrackingforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg*globalCosmicMuons1Leg)
103 allmuons1Leg = cms.Sequence(muons1Leg)
106 STAmuonrecoforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg)
109 muonrecoforcosmics1Leg = cms.Sequence(muontrackingforcosmics1Leg*allmuons1Leg)
116 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone()
117 CosmicMuonSeedWitht0Correction.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
120 cosmicMuonsWitht0Correction = cosmicMuons.clone()
121 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.BuildTraversingMuon =
False
122 cosmicMuonsWitht0Correction.MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction'
123 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
126 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone()
127 globalCosmicMuonsWitht0Correction.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
128 globalCosmicMuonsWitht0Correction.MuonCollectionLabel =
'cosmicMuonsWitht0Correction'
131 muonsWitht0Correction = muons1stStep.clone()
132 muonsWitht0Correction.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsWitht0Correction',
'cosmicMuonsWitht0Correction']
133 muonsWitht0Correction.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
134 muonsWitht0Correction.fillIsolation =
True
135 muonsWitht0Correction.fillGlobalTrackQuality =
False
136 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.UseSegmentT0 =
True
137 muonsWitht0Correction.TimingFillerParameters.MatchParameters.DTsegments =
'dt4DSegmentsT0Seg'
138 muonsWitht0Correction.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
139 muonsWitht0Correction.CaloExtractorPSet.CenterConeOnCalIntersection =
True
140 muonsWitht0Correction.fillGlobalTrackRefits =
False
145 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(CosmicMuonSeedWitht0Correction*cosmicMuonsWitht0Correction)
148 muontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction*globalCosmicMuonsWitht0Correction)
151 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction)
154 allmuonsWitht0Correction = cms.Sequence(muonsWitht0Correction)
157 muonrecoforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0Correction*allmuonsWitht0Correction)
160 muonRecoGR = cms.Sequence(muonrecoforcosmics1Leg+muonrecoforcosmicsWitht0Correction)
167 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone()
168 CosmicMuonSeedEndCapsOnly.EnableDTMeasurement =
False
171 cosmicMuonsEndCapsOnly = cosmicMuons.clone()
172 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.EnableDTMeasurement =
False
173 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Barrel =
False
174 cosmicMuonsEndCapsOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly'
177 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone()
178 globalBeamHaloMuonEndCapslOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'beamhaloTracks'
179 globalBeamHaloMuonEndCapslOnly.MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
183 muonsBeamHaloEndCapsOnly = muons1stStep.clone()
184 muonsBeamHaloEndCapsOnly.inputCollectionLabels = [
'beamhaloTracks',
'globalBeamHaloMuonEndCapslOnly',
'cosmicMuonsEndCapsOnly']
185 muonsBeamHaloEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
186 muonsBeamHaloEndCapsOnly.fillIsolation =
True
187 muonsBeamHaloEndCapsOnly.fillGlobalTrackQuality =
False
188 muonsBeamHaloEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
189 muonsBeamHaloEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
190 muonsBeamHaloEndCapsOnly.fillGlobalTrackRefits =
False
193 muonrecoBeamHaloEndCapsOnly = cms.Sequence(CosmicMuonSeedEndCapsOnly*cosmicMuonsEndCapsOnly*globalBeamHaloMuonEndCapslOnly*muonsBeamHaloEndCapsOnly)
200 cosmicMuonsNoRPC = cosmicMuons.clone()
201 cosmicMuonsNoRPC.TrajectoryBuilderParameters.EnableRPCMeasurement =
False
204 globalCosmicMuonsNoRPC = globalCosmicMuons.clone()
205 globalCosmicMuonsNoRPC.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
206 globalCosmicMuonsNoRPC.MuonCollectionLabel =
'cosmicMuonsNoRPC'
209 muonsNoRPC = muons1stStep.clone()
210 muonsNoRPC.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsNoRPC',
'cosmicMuonsNoRPC']
211 muonsNoRPC.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
212 muonsNoRPC.fillIsolation =
True
213 muonsNoRPC.fillGlobalTrackQuality =
False
214 muonsNoRPC.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
215 muonsNoRPC.CaloExtractorPSet.CenterConeOnCalIntersection =
True
216 muonsNoRPC.fillGlobalTrackRefits =
False
221 STAmuontrackingforcosmicsNoRPC = cms.Sequence(cosmicMuonsNoRPC)
224 muontrackingforcosmicsNoRPC = cms.Sequence(STAmuontrackingforcosmicsNoRPC*globalCosmicMuonsNoRPC)
227 allmuonsNoRPC = cms.Sequence(muonsNoRPC)
230 muonrecoforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPC*allmuonsNoRPC)
237 globalCosmicSplitMuons = globalCosmicMuons.clone()
238 globalCosmicSplitMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'splittedTracksP5'
239 globalCosmicSplitMuons.MuonCollectionLabel =
'cosmicMuons'
243 splitMuons = muons1stStep.clone()
244 splitMuons.inputCollectionLabels = [
'splittedTracksP5',
'globalCosmicSplitMuons',
'cosmicMuons']
245 splitMuons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
246 splitMuons.fillIsolation =
True
247 splitMuons.fillGlobalTrackQuality =
False
248 splitMuons.TrackExtractorPSet.inputTrackCollection =
'splittedTracksP5'
249 splitMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
250 splitMuons.fillGlobalTrackRefits =
False
255 muonrecoforsplitcosmics = cms.Sequence(globalCosmicSplitMuons*splitMuons)
265 lhcSTAMuons = muons1stStep.clone()
266 lhcSTAMuons.inputCollectionLabels = [
'standAloneMuons']
267 lhcSTAMuons.inputCollectionTypes = [
'outer tracks']
268 lhcSTAMuons.fillIsolation =
True
269 lhcSTAMuons.fillGlobalTrackQuality =
False
270 lhcSTAMuons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
271 lhcSTAMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
272 lhcSTAMuons.fillGlobalTrackRefits =
False
275 muonRecoLHC = cms.Sequence(ancientMuonSeed*standAloneMuons*lhcSTAMuons)
281 muonRecoGR = cms.Sequence(muonRecoAllGR*muonRecoGR*muonrecoBeamHaloEndCapsOnly*muonrecoforcosmicsNoRPC*muonrecoforsplitcosmics*muonRecoLHC)