1 import FWCore.ParameterSet.Config
as cms
11 CosmicMuonSeed.DTRecSegmentLabel =
'dt4DCosmicSegments' 14 cosmicMuons.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DCosmicSegments' 17 muonsFromCosmics = RecoMuon.MuonIdentification.muons1stStep_cfi.muons1stStep.clone()
18 muonsFromCosmics.inputCollectionLabels = [
'cosmicMuons']
19 muonsFromCosmics.inputCollectionTypes = [
'outer tracks']
20 muonsFromCosmics.TrackAssociatorParameters.DTRecSegment4DCollectionLabel =
'dt4DCosmicSegments' 21 muonsFromCosmics.TrackExtractorPSet.inputTrackCollection =
'cosmicMuons' 22 muonsFromCosmics.TimingFillerParameters.MatchParameters.DTsegments =
'dt4DCosmicSegments' 23 muonsFromCosmics.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
24 muonsFromCosmics.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
25 muonsFromCosmics.fillIsolation =
False 26 muonsFromCosmics.fillGlobalTrackQuality =
False 27 muonsFromCosmics.fillGlobalTrackRefits =
False 30 muoncosmicreco2legsSTATask = cms.Task(CosmicMuonSeed,cosmicMuons)
31 muoncosmicreco2legsSTA = cms.Sequence(muoncosmicreco2legsSTATask)
32 muoncosmicreco2legsHighLevelTask = cms.Task(muonsFromCosmics)
33 muoncosmicreco2legsHighLevel = cms.Sequence(muoncosmicreco2legsHighLevelTask)
37 cosmicMuons1Leg = cosmicMuons.clone()
38 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon =
True 39 cosmicMuons1Leg.TrajectoryBuilderParameters.Strict1Leg =
True 40 cosmicMuons1Leg.TrajectoryBuilderParameters.DTRecSegmentLabel =
'dt4DCosmicSegments' 41 cosmicMuons1Leg.MuonSeedCollectionLabel =
'CosmicMuonSeed' 44 muonsFromCosmics1Leg = muons1stStep.clone()
45 muonsFromCosmics1Leg.inputCollectionLabels = [
'cosmicMuons1Leg']
46 muonsFromCosmics1Leg.inputCollectionTypes = [
'outer tracks']
47 muonsFromCosmics1Leg.TrackAssociatorParameters.DTRecSegment4DCollectionLabel =
'dt4DCosmicSegments' 48 muonsFromCosmics1Leg.TrackExtractorPSet.inputTrackCollection =
'cosmicMuons1Leg' 49 muonsFromCosmics1Leg.TimingFillerParameters.MatchParameters.DTsegments =
'dt4DCosmicSegments' 50 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.PruneCut = 9999
51 muonsFromCosmics1Leg.TimingFillerParameters.CSCTimingParameters.PruneCut = 9999
52 muonsFromCosmics1Leg.fillIsolation =
False 53 muonsFromCosmics1Leg.fillGlobalTrackQuality =
False 54 muonsFromCosmics1Leg.fillGlobalTrackRefits =
False 55 muoncosmicreco1legSTATask = cms.Task(CosmicMuonSeed,cosmicMuons1Leg)
56 muoncosmicreco1legSTA = cms.Sequence(muoncosmicreco1legSTATask)
57 muoncosmicreco1legHighLevelTask = cms.Task(muonsFromCosmics1Leg)
58 muoncosmicreco1legHighLevel = cms.Sequence(muoncosmicreco1legHighLevelTask)
60 muoncosmicrecoTask = cms.Task(muoncosmicreco2legsSTATask,muoncosmicreco1legSTATask)
61 muoncosmicreco = cms.Sequence(muoncosmicrecoTask)
62 muoncosmichighlevelrecoTask = cms.Task(muoncosmicreco2legsHighLevelTask,muoncosmicreco1legHighLevelTask,cosmicsMuonIdTask)
63 muoncosmichighlevelreco = cms.Sequence(muoncosmichighlevelrecoTask)
70 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
71 fastSim.toModify(muonReducedTrackExtras, outputClusters =
False)
74 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
75 phase2_tracker.toModify(muonReducedTrackExtras, outputClusters =
False)
77 muonshighlevelrecoTask = cms.Task(muonPFIsolationTask,muons,muonReducedTrackExtras)
78 muonshighlevelreco = cms.Sequence(muonshighlevelrecoTask)
High level sequence (i.e., post PF reconstruction) ###.