Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from RecoMuon.MuonSeedGenerator.standAloneMuonSeeds_cff import *
00005
00006
00007 from RecoMuon.StandAloneMuonProducer.standAloneMuons_cff import *
00008
00009
00010 from RecoMuon.GlobalMuonProducer.GlobalMuonProducer_cff import *
00011
00012
00013 from RecoMuon.GlobalMuonProducer.tevMuons_cfi import *
00014
00015
00016 from RecoMuon.MuonIdentification.muonIdProducerSequence_cff import *
00017 muons1stStep.fillGlobalTrackQuality = True
00018
00019
00020 from RecoMuon.MuonIdentification.muonSelectionTypeValueMapProducer_cff import *
00021
00022
00023 from RecoMuon.MuonIsolationProducers.muIsolation_cff import *
00024
00025 muontracking = cms.Sequence(standAloneMuonSeeds*standAloneMuons*globalMuons)
00026 muontracking_with_TeVRefinement = cms.Sequence(muontracking*tevMuons)
00027
00028
00029 globalSETMuons = RecoMuon.GlobalMuonProducer.GlobalMuonProducer_cff.globalMuons.clone()
00030 globalSETMuons.MuonCollectionLabel = cms.InputTag("standAloneSETMuons","UpdatedAtVtx")
00031 from RecoMuon.MuonSeedGenerator.SETMuonSeed_cff import *
00032 muontracking_with_SET = cms.Sequence(SETMuonSeed*standAloneSETMuons*globalSETMuons)
00033
00034
00035 muonreco = cms.Sequence(muontracking*muonIdProducerSequence)
00036 muonrecowith_TeVRefinemen = cms.Sequence(muontracking_with_TeVRefinement*muonIdProducerSequence)
00037
00038 muonsWithSET = RecoMuon.MuonIdentification.muons1stStep_cfi.muons1stStep.clone()
00039 muonsWithSET.inputCollectionLabels = ['generalTracks', 'globalSETMuons', cms.InputTag('standAloneSETMuons','UpdatedAtVtx')]
00040 muonsWithSET.inputCollectionTypes = ['inner tracks', 'links', 'outer tracks']
00041
00042
00043 muonreco_with_SET = cms.Sequence(muontracking_with_SET)
00044
00045
00046 muonreco_plus_isolation = cms.Sequence(muonrecowith_TeVRefinemen*muIsolation)
00047 muonreco_plus_isolation_plus_SET = cms.Sequence(muonrecowith_TeVRefinemen*muonreco_with_SET*muIsolation)
00048
00049
00050
00051 muonreco_plus_isolation_plus_SET_plus_muIDmaps = cms.Sequence(muonreco_plus_isolation_plus_SET*muonSelectionTypeSequence)
00052
00053
00054 refittedStandAloneMuons = standAloneMuons.clone()
00055 refittedStandAloneMuons.STATrajBuilderParameters.DoRefit = True
00056 muontracking *= refittedStandAloneMuons
00057
00058 muonrecoComplete = cms.Sequence(muonreco_plus_isolation_plus_SET*muonSelectionTypeSequence)
00059 muonrecoComplete_minus_muIDmaps = cms.Sequence(muonreco_plus_isolation_plus_SET)
00060 muonrecoComplete_minus_SET_minus_muIDmaps = cms.Sequence(muonrecowith_TeVRefinemen*muIsolation)
00061
00062
00063