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 inputCollectionLabels = [
'cosmicMuons'],
19 inputCollectionTypes = [
'outer tracks'],
20 fillIsolation =
False,
21 fillGlobalTrackQuality =
False,
22 fillGlobalTrackRefits =
False,
23 TrackAssociatorParameters = dict(DTRecSegment4DCollectionLabel =
'dt4DCosmicSegments'),
24 TrackExtractorPSet = dict(inputTrackCollection =
'cosmicMuons'),
25 TimingFillerParameters = dict(
26 MatchParameters = dict(DTsegments =
'dt4DCosmicSegments'),
27 DTTimingParameters = dict(PruneCut = 9999),
28 CSCTimingParameters = dict(PruneCut = 9999))
32 muoncosmicreco2legsSTATask = cms.Task(CosmicMuonSeed,cosmicMuons)
33 muoncosmicreco2legsSTA = cms.Sequence(muoncosmicreco2legsSTATask)
34 muoncosmicreco2legsHighLevelTask = cms.Task(muonsFromCosmics)
35 muoncosmicreco2legsHighLevel = cms.Sequence(muoncosmicreco2legsHighLevelTask)
39 cosmicMuons1Leg = cosmicMuons.clone(
40 MuonSeedCollectionLabel =
'CosmicMuonSeed',
41 TrajectoryBuilderParameters = dict(
42 BuildTraversingMuon =
True,
44 DTRecSegmentLabel =
'dt4DCosmicSegments')
48 muonsFromCosmics1Leg = muons1stStep.clone(
49 inputCollectionLabels = [
'cosmicMuons1Leg'],
50 inputCollectionTypes = [
'outer tracks'],
51 fillIsolation =
False,
52 fillGlobalTrackQuality =
False,
53 fillGlobalTrackRefits =
False,
54 TrackAssociatorParameters = dict(DTRecSegment4DCollectionLabel =
'dt4DCosmicSegments'),
55 TrackExtractorPSet = dict(inputTrackCollection =
'cosmicMuons1Leg'),
56 TimingFillerParameters = dict(
57 MatchParameters = dict(DTsegments =
'dt4DCosmicSegments'),
58 DTTimingParameters = dict(PruneCut = 9999),
59 CSCTimingParameters = dict(PruneCut = 9999))
62 muoncosmicreco1legSTATask = cms.Task(CosmicMuonSeed,cosmicMuons1Leg)
63 muoncosmicreco1legSTA = cms.Sequence(muoncosmicreco1legSTATask)
64 muoncosmicreco1legHighLevelTask = cms.Task(muonsFromCosmics1Leg)
65 muoncosmicreco1legHighLevel = cms.Sequence(muoncosmicreco1legHighLevelTask)
67 muoncosmicrecoTask = cms.Task(muoncosmicreco2legsSTATask,muoncosmicreco1legSTATask)
68 muoncosmicreco = cms.Sequence(muoncosmicrecoTask)
69 muoncosmichighlevelrecoTask = cms.Task(muoncosmicreco2legsHighLevelTask,muoncosmicreco1legHighLevelTask,cosmicsMuonIdTask)
70 muoncosmichighlevelreco = cms.Sequence(muoncosmichighlevelrecoTask)
78 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
79 fastSim.toModify(muonReducedTrackExtras, outputClusters =
False)
82 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
83 phase2_tracker.toModify(muonReducedTrackExtras, outputClusters =
False)
85 muonshighlevelrecoTask = cms.Task(muonPFIsolationTask,muons,muonReducedTrackExtras)
86 muonshighlevelreco = cms.Sequence(muonshighlevelrecoTask)