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
27 muons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
28 muons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
31 calomuons.inputTracks =
'ctfWithMaterialTracksP5LHCNavigation'
32 calomuons.inputCollection =
'muons'
33 calomuons.inputMuons =
'muons'
38 STAmuontrackingforcosmics = cms.Sequence(CosmicMuonSeed*cosmicMuons)
40 STAmuonrecoforcosmics = cms.Sequence(STAmuontrackingforcosmics)
43 muontrackingforcosmics = cms.Sequence(STAmuontrackingforcosmics*globalCosmicMuons)
49 muIsoDepositTk.inputTags = cms.VInputTag(cms.InputTag(
"muons:tracker"))
50 muIsoDepositJets. inputTags = cms.VInputTag(cms.InputTag(
"muons:jets"))
51 muIsoDepositCalByAssociatorTowers.inputTags = cms.VInputTag(cms.InputTag(
"muons:ecal"), cms.InputTag(
"muons:hcal"), cms.InputTag(
"muons:ho"))
57 tevMuons.MuonCollectionLabel =
"globalCosmicMuons"
58 tevMuons.RefitterParameters.PropDirForCosmics = cms.bool(
True)
62 glbTrackQual.InputCollection =
"globalCosmicMuons"
65 allmuons = cms.Sequence(glbTrackQual*tevMuons*muons*muIsolation*calomuons)
68 muonrecoforcosmics = cms.Sequence(muontrackingforcosmics*allmuons)
69 muonRecoAllGR = cms.Sequence(muonrecoforcosmics)
74 cosmicMuons1Leg = cosmicMuons.clone()
75 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon =
True
76 cosmicMuons1Leg.MuonSeedCollectionLabel =
'CosmicMuonSeed'
79 globalCosmicMuons1Leg = globalCosmicMuons.clone()
80 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
81 globalCosmicMuons1Leg.MuonCollectionLabel =
'cosmicMuons1Leg'
84 muons1Leg = muons1stStep.clone()
85 muons1Leg.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuons1Leg',
'cosmicMuons1Leg']
86 muons1Leg.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
87 muons1Leg.fillIsolation =
False
88 muons1Leg.fillGlobalTrackQuality =
False
89 muons1Leg.fillGlobalTrackRefits =
False
93 STAmuontrackingforcosmics1Leg = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
96 muontrackingforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg*globalCosmicMuons1Leg)
99 allmuons1Leg = cms.Sequence(muons1Leg)
102 STAmuonrecoforcosmics1Leg = cms.Sequence(STAmuontrackingforcosmics1Leg)
105 muonrecoforcosmics1Leg = cms.Sequence(muontrackingforcosmics1Leg*allmuons1Leg)
112 CosmicMuonSeedWitht0Correction = CosmicMuonSeed.clone()
113 CosmicMuonSeedWitht0Correction.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
116 cosmicMuonsWitht0Correction = cosmicMuons.clone()
117 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.BuildTraversingMuon =
False
118 cosmicMuonsWitht0Correction.MuonSeedCollectionLabel =
'CosmicMuonSeedWitht0Correction'
119 cosmicMuonsWitht0Correction.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DSegmentsT0Seg'
122 globalCosmicMuonsWitht0Correction = globalCosmicMuons.clone()
123 globalCosmicMuonsWitht0Correction.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
124 globalCosmicMuonsWitht0Correction.MuonCollectionLabel =
'cosmicMuonsWitht0Correction'
127 muonsWitht0Correction = muons1stStep.clone()
128 muonsWitht0Correction.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsWitht0Correction',
'cosmicMuonsWitht0Correction']
129 muonsWitht0Correction.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
130 muonsWitht0Correction.fillIsolation =
True
131 muonsWitht0Correction.fillGlobalTrackQuality =
False
132 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.UseSegmentT0 =
True
133 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments =
'dt4DSegmentsT0Seg'
134 muonsWitht0Correction.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
135 muonsWitht0Correction.CaloExtractorPSet.CenterConeOnCalIntersection =
True
136 muonsWitht0Correction.fillGlobalTrackRefits =
False
141 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(CosmicMuonSeedWitht0Correction*cosmicMuonsWitht0Correction)
144 muontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction*globalCosmicMuonsWitht0Correction)
147 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction)
150 allmuonsWitht0Correction = cms.Sequence(muonsWitht0Correction)
153 muonrecoforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0Correction*allmuonsWitht0Correction)
156 muonRecoGR = cms.Sequence(muonrecoforcosmics1Leg+muonrecoforcosmicsWitht0Correction)
163 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone()
164 CosmicMuonSeedEndCapsOnly.EnableDTMeasurement =
False
167 cosmicMuonsEndCapsOnly = cosmicMuons.clone()
168 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.EnableDTMeasurement =
False
169 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Barrel =
False
170 cosmicMuonsEndCapsOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly'
173 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone()
174 globalBeamHaloMuonEndCapslOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'beamhaloTracks'
175 globalBeamHaloMuonEndCapslOnly.MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
179 muonsBeamHaloEndCapsOnly = muons1stStep.clone()
180 muonsBeamHaloEndCapsOnly.inputCollectionLabels = [
'beamhaloTracks',
'globalBeamHaloMuonEndCapslOnly',
'cosmicMuonsEndCapsOnly']
181 muonsBeamHaloEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
182 muonsBeamHaloEndCapsOnly.fillIsolation =
True
183 muonsBeamHaloEndCapsOnly.fillGlobalTrackQuality =
False
184 muonsBeamHaloEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
185 muonsBeamHaloEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
186 muonsBeamHaloEndCapsOnly.fillGlobalTrackRefits =
False
189 muonrecoBeamHaloEndCapsOnly = cms.Sequence(CosmicMuonSeedEndCapsOnly*cosmicMuonsEndCapsOnly*globalBeamHaloMuonEndCapslOnly*muonsBeamHaloEndCapsOnly)
196 cosmicMuonsNoRPC = cosmicMuons.clone()
197 cosmicMuonsNoRPC.TrajectoryBuilderParameters.EnableRPCMeasurement =
False
200 globalCosmicMuonsNoRPC = globalCosmicMuons.clone()
201 globalCosmicMuonsNoRPC.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
202 globalCosmicMuonsNoRPC.MuonCollectionLabel =
'cosmicMuonsNoRPC'
205 muonsNoRPC = muons1stStep.clone()
206 muonsNoRPC.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsNoRPC',
'cosmicMuonsNoRPC']
207 muonsNoRPC.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
208 muonsNoRPC.fillIsolation =
True
209 muonsNoRPC.fillGlobalTrackQuality =
False
210 muonsNoRPC.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
211 muonsNoRPC.CaloExtractorPSet.CenterConeOnCalIntersection =
True
212 muonsNoRPC.fillGlobalTrackRefits =
False
217 STAmuontrackingforcosmicsNoRPC = cms.Sequence(cosmicMuonsNoRPC)
220 muontrackingforcosmicsNoRPC = cms.Sequence(STAmuontrackingforcosmicsNoRPC*globalCosmicMuonsNoRPC)
223 allmuonsNoRPC = cms.Sequence(muonsNoRPC)
226 muonrecoforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPC*allmuonsNoRPC)
233 globalCosmicSplitMuons = globalCosmicMuons.clone()
234 globalCosmicSplitMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'splittedTracksP5'
235 globalCosmicSplitMuons.MuonCollectionLabel =
'cosmicMuons'
239 splitMuons = muons1stStep.clone()
240 splitMuons.inputCollectionLabels = [
'splittedTracksP5',
'globalCosmicSplitMuons',
'cosmicMuons']
241 splitMuons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
242 splitMuons.fillIsolation =
True
243 splitMuons.fillGlobalTrackQuality =
False
244 splitMuons.TrackExtractorPSet.inputTrackCollection =
'splittedTracksP5'
245 splitMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
246 splitMuons.fillGlobalTrackRefits =
False
251 muonrecoforsplitcosmics = cms.Sequence(globalCosmicSplitMuons*splitMuons)
261 lhcSTAMuons = muons1stStep.clone()
262 lhcSTAMuons.inputCollectionLabels = [
'standAloneMuons']
263 lhcSTAMuons.inputCollectionTypes = [
'outer tracks']
264 lhcSTAMuons.fillIsolation =
True
265 lhcSTAMuons.fillGlobalTrackQuality =
False
266 lhcSTAMuons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
267 lhcSTAMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
268 lhcSTAMuons.fillGlobalTrackRefits =
False
271 muonRecoLHC = cms.Sequence(ancientMuonSeed*standAloneMuons*lhcSTAMuons)
277 muonRecoGR = cms.Sequence(muonRecoAllGR*muonRecoGR*muonrecoBeamHaloEndCapsOnly*muonrecoforcosmicsNoRPC*muonrecoforsplitcosmics*muonRecoLHC)