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 muonsFromCosmics = muons1stStep.clone()
34 muonsFromCosmics.inputCollectionLabels = [
'cosmicMuons']
35 muonsFromCosmics.inputCollectionTypes = [
'outer tracks']
36 muonsFromCosmics.TrackExtractorPSet.inputTrackCollection =
'cosmicMuons'
37 muonsFromCosmics.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
38 muonsFromCosmics.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
39 muonsFromCosmics.fillIsolation =
False
40 muonsFromCosmics.fillGlobalTrackQuality =
False
41 muonsFromCosmics.fillGlobalTrackRefits =
False
44 calomuons.inputTracks =
'ctfWithMaterialTracksP5LHCNavigation'
45 calomuons.inputCollection =
'muons'
46 calomuons.inputMuons =
'muons'
51 STAmuontrackingforcosmics = cms.Sequence(CosmicMuonSeed*cosmicMuons)
53 STAmuonrecoforcosmics = cms.Sequence(STAmuontrackingforcosmics)
56 muontrackingforcosmics = cms.Sequence(STAmuontrackingforcosmics*globalCosmicMuons)
62 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag(
"muons:tracker"))
63 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag(
"muons:jets"))
64 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag(
"muons:ecal"), cms.InputTag(
"muons:hcal"), cms.InputTag(
"muons:ho"))
70 tevMuons.MuonCollectionLabel =
"globalCosmicMuons"
71 tevMuons.RefitterParameters.PropDirForCosmics = cms.bool(
True)
75 glbTrackQual.InputCollection =
"globalCosmicMuons"
78 allmuons = cms.Sequence(glbTrackQual*tevMuons*muons*muIsolation*calomuons)
81 muonrecoforcosmics = cms.Sequence(muontrackingforcosmics*allmuons*muonsFromCosmics)
82 muonRecoAllGR = cms.Sequence(muonrecoforcosmics)
87 cosmicMuons1Leg = cosmicMuons.clone()
88 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon =
True
89 cosmicMuons1Leg.MuonSeedCollectionLabel =
'CosmicMuonSeed'
92 globalCosmicMuons1Leg = globalCosmicMuons.clone()
93 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
94 globalCosmicMuons1Leg.MuonCollectionLabel =
'cosmicMuons1Leg'
97 muons1Leg = muons1stStep.clone()
98 muons1Leg.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuons1Leg',
'cosmicMuons1Leg']
99 muons1Leg.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
100 muons1Leg.fillIsolation =
False
101 muons1Leg.fillGlobalTrackQuality =
False
102 muons1Leg.fillGlobalTrackRefits =
False
103 muons1Leg.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
104 muons1Leg.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
108 STAmuontrackingforcosmics1Leg = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
111 muontrackingforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg*globalCosmicMuons1Leg)
114 allmuons1Leg = cms.Sequence(muons1Leg)
117 STAmuonrecoforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg)
120 muonrecoforcosmics1Leg = cms.Sequence(muontrackingforcosmics1Leg*allmuons1Leg)
127 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone()
128 CosmicMuonSeedWitht0Correction.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
131 cosmicMuonsWitht0Correction = cosmicMuons.clone()
132 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.BuildTraversingMuon =
False
133 cosmicMuonsWitht0Correction.MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction'
134 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
137 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone()
138 globalCosmicMuonsWitht0Correction.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
139 globalCosmicMuonsWitht0Correction.MuonCollectionLabel =
'cosmicMuonsWitht0Correction'
142 muonsWitht0Correction = muons1stStep.clone()
143 muonsWitht0Correction.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsWitht0Correction',
'cosmicMuonsWitht0Correction']
144 muonsWitht0Correction.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
145 muonsWitht0Correction.fillIsolation =
True
146 muonsWitht0Correction.fillGlobalTrackQuality =
False
147 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.UseSegmentT0 =
True
148 muonsWitht0Correction.TimingFillerParameters.MatchParameters.DTsegments =
'dt4DSegmentsT0Seg'
149 muonsWitht0Correction.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
150 muonsWitht0Correction.CaloExtractorPSet.CenterConeOnCalIntersection =
True
151 muonsWitht0Correction.fillGlobalTrackRefits =
False
156 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(CosmicMuonSeedWitht0Correction*cosmicMuonsWitht0Correction)
159 muontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction*globalCosmicMuonsWitht0Correction)
162 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction)
165 allmuonsWitht0Correction = cms.Sequence(muonsWitht0Correction)
168 muonrecoforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0Correction*allmuonsWitht0Correction)
171 muonRecoGR = cms.Sequence(muonrecoforcosmics1Leg+muonrecoforcosmicsWitht0Correction)
178 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone()
179 CosmicMuonSeedEndCapsOnly.EnableDTMeasurement =
False
182 cosmicMuonsEndCapsOnly = cosmicMuons.clone()
183 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.EnableDTMeasurement =
False
184 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Barrel =
False
185 cosmicMuonsEndCapsOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly'
188 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone()
189 globalBeamHaloMuonEndCapslOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'beamhaloTracks'
190 globalBeamHaloMuonEndCapslOnly.MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
194 muonsBeamHaloEndCapsOnly = muons1stStep.clone()
195 muonsBeamHaloEndCapsOnly.inputCollectionLabels = [
'beamhaloTracks',
'globalBeamHaloMuonEndCapslOnly',
'cosmicMuonsEndCapsOnly']
196 muonsBeamHaloEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
197 muonsBeamHaloEndCapsOnly.fillIsolation =
True
198 muonsBeamHaloEndCapsOnly.fillGlobalTrackQuality =
False
199 muonsBeamHaloEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
200 muonsBeamHaloEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
201 muonsBeamHaloEndCapsOnly.fillGlobalTrackRefits =
False
204 muonrecoBeamHaloEndCapsOnly = cms.Sequence(CosmicMuonSeedEndCapsOnly*cosmicMuonsEndCapsOnly*globalBeamHaloMuonEndCapslOnly*muonsBeamHaloEndCapsOnly)
211 cosmicMuonsNoRPC = cosmicMuons.clone()
212 cosmicMuonsNoRPC.TrajectoryBuilderParameters.EnableRPCMeasurement =
False
215 globalCosmicMuonsNoRPC = globalCosmicMuons.clone()
216 globalCosmicMuonsNoRPC.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
217 globalCosmicMuonsNoRPC.MuonCollectionLabel =
'cosmicMuonsNoRPC'
220 muonsNoRPC = muons1stStep.clone()
221 muonsNoRPC.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsNoRPC',
'cosmicMuonsNoRPC']
222 muonsNoRPC.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
223 muonsNoRPC.fillIsolation =
True
224 muonsNoRPC.fillGlobalTrackQuality =
False
225 muonsNoRPC.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
226 muonsNoRPC.CaloExtractorPSet.CenterConeOnCalIntersection =
True
227 muonsNoRPC.fillGlobalTrackRefits =
False
232 STAmuontrackingforcosmicsNoRPC = cms.Sequence(cosmicMuonsNoRPC)
235 muontrackingforcosmicsNoRPC = cms.Sequence(STAmuontrackingforcosmicsNoRPC*globalCosmicMuonsNoRPC)
238 allmuonsNoRPC = cms.Sequence(muonsNoRPC)
241 muonrecoforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPC*allmuonsNoRPC)
248 globalCosmicSplitMuons = globalCosmicMuons.clone()
249 globalCosmicSplitMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'splittedTracksP5'
250 globalCosmicSplitMuons.MuonCollectionLabel =
'cosmicMuons'
254 splitMuons = muons1stStep.clone()
255 splitMuons.inputCollectionLabels = [
'splittedTracksP5',
'globalCosmicSplitMuons',
'cosmicMuons']
256 splitMuons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
257 splitMuons.fillIsolation =
True
258 splitMuons.fillGlobalTrackQuality =
False
259 splitMuons.TrackExtractorPSet.inputTrackCollection =
'splittedTracksP5'
260 splitMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
261 splitMuons.fillGlobalTrackRefits =
False
266 muonrecoforsplitcosmics = cms.Sequence(globalCosmicSplitMuons*splitMuons)
276 lhcSTAMuons = muons1stStep.clone()
277 lhcSTAMuons.inputCollectionLabels = [
'standAloneMuons']
278 lhcSTAMuons.inputCollectionTypes = [
'outer tracks']
279 lhcSTAMuons.fillIsolation =
True
280 lhcSTAMuons.fillGlobalTrackQuality =
False
281 lhcSTAMuons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
282 lhcSTAMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
283 lhcSTAMuons.fillGlobalTrackRefits =
False
286 muonRecoLHC = cms.Sequence(ancientMuonSeed*standAloneMuons*lhcSTAMuons)
292 muonRecoGR = cms.Sequence(muonRecoAllGR*muonRecoGR*muonrecoBeamHaloEndCapsOnly*muonrecoforcosmicsNoRPC*muonrecoforsplitcosmics*muonRecoLHC)