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.muons1stStep_cfi.muons1stStep.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 muonsFromCosmics.fillGlobalTrackRefits = False
00036
00037
00038
00039
00040 muoncosmicreco2legsSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons)
00041 muoncosmicreco2legsHighLevel = cms.Sequence(globalCosmicMuons*muonsFromCosmics)
00042
00043
00044
00045
00046 cosmicMuons1Leg = cosmicMuons.clone()
00047 cosmicMuons1Leg.TrajectoryBuilderParameters.BuildTraversingMuon = True
00048 cosmicMuons1Leg.TrajectoryBuilderParameters.Strict1Leg = True
00049 cosmicMuons1Leg.TrajectoryBuilderParameters.DTRecSegmentLabel = 'dt4DCosmicSegments'
00050 cosmicMuons1Leg.MuonSeedCollectionLabel = 'CosmicMuonSeed'
00051
00052
00053 globalCosmicMuons1Leg = globalCosmicMuons.clone()
00054 globalCosmicMuons1Leg.MuonCollectionLabel = 'cosmicMuons1Leg'
00055 globalCosmicMuons1Leg.TrajectoryBuilderParameters.TkTrackCollectionLabel = 'regionalCosmicTracks'
00056
00057
00058 muonsFromCosmics1Leg = muons1stStep.clone()
00059 muonsFromCosmics1Leg.inputCollectionLabels = ['globalCosmicMuons1Leg', 'cosmicMuons1Leg', 'regionalCosmicTracks' ]
00060 muonsFromCosmics1Leg.inputCollectionTypes = ['links', 'outer tracks', 'inner tracks' ]
00061 muonsFromCosmics1Leg.TrackAssociatorParameters.DTRecSegment4DCollectionLabel = 'dt4DCosmicSegments'
00062 muonsFromCosmics1Leg.TrackExtractorPSet.inputTrackCollection = 'regionalCosmicTracks'
00063 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00064 muonsFromCosmics1Leg.TimingFillerParameters.DTTimingParameters.DTsegments = 'dt4DCosmicSegments'
00065 muonsFromCosmics1Leg.TimingFillerParameters.CSCTimingParameters.MatchParameters.DTsegments = 'dt4DCosmicSegments'
00066 muonsFromCosmics1Leg.fillIsolation = False
00067 muonsFromCosmics1Leg.fillGlobalTrackQuality = False
00068 muonsFromCosmics1Leg.fillGlobalTrackRefits = False
00069
00070
00071 muoncosmicreco1legSTA = cms.Sequence(CosmicMuonSeed*cosmicMuons1Leg)
00072 muoncosmicreco1legHighLevel = cms.Sequence(globalCosmicMuons1Leg*muonsFromCosmics1Leg)
00073
00074
00075 muoncosmicreco = cms.Sequence(muoncosmicreco2legsSTA+muoncosmicreco1legSTA)
00076 muoncosmichighlevelreco = cms.Sequence((muoncosmicreco2legsHighLevel+muoncosmicreco1legHighLevel)*cosmicsMuonIdSequence)
00077
00078
00079
00080
00081 from RecoMuon.MuonIdentification.muons_cfi import *
00082 from RecoMuon.MuonIsolation.muonPFIsolation_cff import *
00083
00084 muonshighlevelreco = cms.Sequence(muonPFIsolationSequence*muons)