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.DTsegments =
'dt4DSegmentsT0Seg'
134 muonsWitht0Correction.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments =
'dt4DSegmentsT0Seg'
135 muonsWitht0Correction.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
136 muonsWitht0Correction.CaloExtractorPSet.CenterConeOnCalIntersection =
True
137 muonsWitht0Correction.fillGlobalTrackRefits =
False
142 STAmuontrackingforcosmicsWitht0Correction = cms.Sequence(CosmicMuonSeedWitht0Correction*cosmicMuonsWitht0Correction)
145 muontrackingforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction*globalCosmicMuonsWitht0Correction)
148 STAmuonrecoforcosmicsWitht0Correction = cms.Sequence(STAmuontrackingforcosmicsWitht0Correction)
151 allmuonsWitht0Correction = cms.Sequence(muonsWitht0Correction)
154 muonrecoforcosmicsWitht0Correction = cms.Sequence(muontrackingforcosmicsWitht0Correction*allmuonsWitht0Correction)
157 muonRecoGR = cms.Sequence(muonrecoforcosmics1Leg+muonrecoforcosmicsWitht0Correction)
164 CosmicMuonSeedEndCapsOnly = CosmicMuonSeed.clone()
165 CosmicMuonSeedEndCapsOnly.EnableDTMeasurement =
False
168 cosmicMuonsEndCapsOnly = cosmicMuons.clone()
169 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.EnableDTMeasurement =
False
170 cosmicMuonsEndCapsOnly.TrajectoryBuilderParameters.MuonNavigationParameters.Barrel =
False
171 cosmicMuonsEndCapsOnly.MuonSeedCollectionLabel =
'CosmicMuonSeedEndCapsOnly'
174 globalBeamHaloMuonEndCapslOnly = globalCosmicMuons.clone()
175 globalBeamHaloMuonEndCapslOnly.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'beamhaloTracks'
176 globalBeamHaloMuonEndCapslOnly.MuonCollectionLabel =
'cosmicMuonsEndCapsOnly'
180 muonsBeamHaloEndCapsOnly = muons1stStep.clone()
181 muonsBeamHaloEndCapsOnly.inputCollectionLabels = [
'beamhaloTracks',
'globalBeamHaloMuonEndCapslOnly',
'cosmicMuonsEndCapsOnly']
182 muonsBeamHaloEndCapsOnly.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
183 muonsBeamHaloEndCapsOnly.fillIsolation =
True
184 muonsBeamHaloEndCapsOnly.fillGlobalTrackQuality =
False
185 muonsBeamHaloEndCapsOnly.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
186 muonsBeamHaloEndCapsOnly.CaloExtractorPSet.CenterConeOnCalIntersection =
True
187 muonsBeamHaloEndCapsOnly.fillGlobalTrackRefits =
False
190 muonrecoBeamHaloEndCapsOnly = cms.Sequence(CosmicMuonSeedEndCapsOnly*cosmicMuonsEndCapsOnly*globalBeamHaloMuonEndCapslOnly*muonsBeamHaloEndCapsOnly)
197 cosmicMuonsNoRPC = cosmicMuons.clone()
198 cosmicMuonsNoRPC.TrajectoryBuilderParameters.EnableRPCMeasurement =
False
201 globalCosmicMuonsNoRPC = globalCosmicMuons.clone()
202 globalCosmicMuonsNoRPC.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'ctfWithMaterialTracksP5'
203 globalCosmicMuonsNoRPC.MuonCollectionLabel =
'cosmicMuonsNoRPC'
206 muonsNoRPC = muons1stStep.clone()
207 muonsNoRPC.inputCollectionLabels = [
'ctfWithMaterialTracksP5',
'globalCosmicMuonsNoRPC',
'cosmicMuonsNoRPC']
208 muonsNoRPC.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
209 muonsNoRPC.fillIsolation =
True
210 muonsNoRPC.fillGlobalTrackQuality =
False
211 muonsNoRPC.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5'
212 muonsNoRPC.CaloExtractorPSet.CenterConeOnCalIntersection =
True
213 muonsNoRPC.fillGlobalTrackRefits =
False
218 STAmuontrackingforcosmicsNoRPC = cms.Sequence(cosmicMuonsNoRPC)
221 muontrackingforcosmicsNoRPC = cms.Sequence(STAmuontrackingforcosmicsNoRPC*globalCosmicMuonsNoRPC)
224 allmuonsNoRPC = cms.Sequence(muonsNoRPC)
227 muonrecoforcosmicsNoRPC = cms.Sequence(muontrackingforcosmicsNoRPC*allmuonsNoRPC)
234 globalCosmicSplitMuons = globalCosmicMuons.clone()
235 globalCosmicSplitMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel =
'splittedTracksP5'
236 globalCosmicSplitMuons.MuonCollectionLabel =
'cosmicMuons'
240 splitMuons = muons1stStep.clone()
241 splitMuons.inputCollectionLabels = [
'splittedTracksP5',
'globalCosmicSplitMuons',
'cosmicMuons']
242 splitMuons.inputCollectionTypes = [
'inner tracks',
'links',
'outer tracks']
243 splitMuons.fillIsolation =
True
244 splitMuons.fillGlobalTrackQuality =
False
245 splitMuons.TrackExtractorPSet.inputTrackCollection =
'splittedTracksP5'
246 splitMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
247 splitMuons.fillGlobalTrackRefits =
False
252 muonrecoforsplitcosmics = cms.Sequence(globalCosmicSplitMuons*splitMuons)
262 lhcSTAMuons = muons1stStep.clone()
263 lhcSTAMuons.inputCollectionLabels = [
'standAloneMuons']
264 lhcSTAMuons.inputCollectionTypes = [
'outer tracks']
265 lhcSTAMuons.fillIsolation =
True
266 lhcSTAMuons.fillGlobalTrackQuality =
False
267 lhcSTAMuons.TrackExtractorPSet.inputTrackCollection =
'ctfWithMaterialTracksP5LHCNavigation'
268 lhcSTAMuons.CaloExtractorPSet.CenterConeOnCalIntersection =
True
269 lhcSTAMuons.fillGlobalTrackRefits =
False
272 muonRecoLHC = cms.Sequence(ancientMuonSeed*standAloneMuons*lhcSTAMuons)
278 muonRecoGR = cms.Sequence(muonRecoAllGR*muonRecoGR*muonrecoBeamHaloEndCapsOnly*muonrecoforcosmicsNoRPC*muonrecoforsplitcosmics*muonRecoLHC)