Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from RecoMuon.Configuration.RecoMuonPPonly_cff import *
00005
00006
00007
00008
00009
00010
00011 from RecoMuon.MuonSeedGenerator.CosmicMuonSeedProducer_cfi import *
00012 CosmicMuonSeed.DTRecSegmentLabel = 'dt4DCosmicSegments'
00013
00014
00015
00016 from RecoMuon.CosmicMuonProducer.cosmicMuons_cff import *
00017 cosmicMuons.TrajectoryBuilderParameters.DTRecSegmentLabel = 'dt4DCosmicSegments'
00018
00019
00020 from RecoMuon.CosmicMuonProducer.globalCosmicMuons_cff import *
00021 globalCosmicMuons.TrajectoryBuilderParameters.TkTrackCollectionLabel = 'regionalCosmicTracks'
00022
00023
00024 muonsFromCosmics = RecoMuon.MuonIdentification.muons_cfi.muons.clone()
00025
00026 muonsFromCosmics.inputCollectionLabels = ['globalCosmicMuons', 'cosmicMuons', 'regionalCosmicTracks']
00027 muonsFromCosmics.inputCollectionTypes = ['links', 'outer tracks', 'inner tracks' ]
00028 muonsFromCosmics.TrackAssociatorParameters.DTRecSegment4DCollectionLabel = 'dt4DCosmicSegments'
00029 muonsFromCosmics.TrackExtractorPSet.inputTrackCollection = 'regionalCosmicTracks'
00030 muonsFromCosmics.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00031 muonsFromCosmics.TimingFillerParameters.DTTimingParameters.DTsegments = 'dt4DCosmicSegments'
00032 muonsFromCosmics.TimingFillerParameters.CSCTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00033 muonsFromCosmics.fillIsolation = False
00034 muonsFromCosmics.fillGlobalTrackQuality = False
00035
00036
00037
00038
00039 muoncosmicreco2legsSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons)
00040 muoncosmicreco2legsHighLevel = cms.Sequence(globalCosmicMuons*muonsFromCosmics)
00041
00042
00043
00044
00045 cosmicMuons1Leg = cosmicMuons.clone()
00046 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon = True
00047 cosmicMuons1Leg.TrajectoryBuilderParameters.Strict1Leg = True
00048 cosmicMuons1Leg.TrajectoryBuilderParameters.DTRecSegmentLabel = 'dt4DCosmicSegments'
00049 cosmicMuons1Leg.MuonSeedCollectionLabel = 'CosmicMuonSeed'
00050
00051
00052 globalCosmicMuons1Leg = globalCosmicMuons.clone()
00053 globalCosmicMuons1Leg.MuonCollectionLabel = 'cosmicMuons1Leg'
00054 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel = 'regionalCosmicTracks'
00055
00056
00057 muonsFromCosmics1Leg = muons.clone()
00058 muonsFromCosmics1Leg.inputCollectionLabels = ['globalCosmicMuons1Leg', 'cosmicMuons1Leg', 'regionalCosmicTracks' ]
00059 muonsFromCosmics1Leg.inputCollectionTypes = ['links', 'outer tracks', 'inner tracks' ]
00060 muonsFromCosmics1Leg.TrackAssociatorParameters.DTRecSegment4DCollectionLabel = 'dt4DCosmicSegments'
00061 muonsFromCosmics1Leg.TrackExtractorPSet.inputTrackCollection = 'regionalCosmicTracks'
00062 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00063 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.DTsegments = 'dt4DCosmicSegments'
00064 muonsFromCosmics1Leg.TimingFillerParameters.CSCTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00065 muonsFromCosmics1Leg.fillIsolation = False
00066 muonsFromCosmics1Leg.fillGlobalTrackQuality = False
00067
00068
00069 muoncosmicreco1legSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
00070 muoncosmicreco1legHighLevel = cms.Sequence(globalCosmicMuons1Leg*muonsFromCosmics1Leg)
00071
00072
00073 muoncosmicreco = cms.Sequence(muoncosmicreco2legsSTA+muoncosmicreco1legSTA)
00074 muoncosmichighlevelreco = cms.Sequence((muoncosmicreco2legsHighLevel+muoncosmicreco1legHighLevel)*cosmicsMuonIdSequence)