CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoMuon/Configuration/python/RecoMuonPPonly_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Seed generator
00004 from RecoMuon.MuonSeedGenerator.standAloneMuonSeeds_cff import *
00005 
00006 # Stand alone muon track producer
00007 from RecoMuon.StandAloneMuonProducer.standAloneMuons_cff import *
00008 
00009 # Global muon track producer
00010 from RecoMuon.GlobalMuonProducer.GlobalMuonProducer_cff import *
00011 
00012 # TeV refinement
00013 from RecoMuon.GlobalMuonProducer.tevMuons_cfi import *
00014 
00015 # Muon Id producer
00016 from RecoMuon.MuonIdentification.muonIdProducerSequence_cff import *
00017 muons.fillGlobalTrackQuality = True
00018 
00019 #Muon Id isGood flag ValueMap producer sequence
00020 from RecoMuon.MuonIdentification.muonSelectionTypeValueMapProducer_cff import *
00021 
00022 # Muon Isolation sequence
00023 from RecoMuon.MuonIsolationProducers.muIsolation_cff import *
00024 muontracking = cms.Sequence(standAloneMuonSeeds*standAloneMuons*globalMuons)
00025 muontracking_with_TeVRefinement = cms.Sequence(muontracking*tevMuons)
00026 
00027 # sequence with SET standalone muons
00028 globalSETMuons = RecoMuon.GlobalMuonProducer.GlobalMuonProducer_cff.globalMuons.clone()
00029 globalSETMuons.MuonCollectionLabel = cms.InputTag("standAloneSETMuons","UpdatedAtVtx")
00030 from RecoMuon.MuonSeedGenerator.SETMuonSeed_cff import *
00031 muontracking_with_SET = cms.Sequence(SETMuonSeed*standAloneSETMuons*globalSETMuons)
00032 
00033 # Muon Reconstruction
00034 muonreco = cms.Sequence(muontracking*muonIdProducerSequence)
00035 muonrecowith_TeVRefinemen = cms.Sequence(muontracking_with_TeVRefinement*muonIdProducerSequence)
00036 
00037 muonsWithSET = RecoMuon.MuonIdentification.muons_cfi.muons.clone()
00038 muonsWithSET.inputCollectionLabels = ['generalTracks', 'globalSETMuons', cms.InputTag('standAloneSETMuons','UpdatedAtVtx')] 
00039 muonsWithSET.inputCollectionTypes = ['inner tracks', 'links', 'outer tracks']   
00040 #muonreco_with_SET = cms.Sequence(muontracking_with_SET*muonsWithSET)
00041 #run only the tracking part for SET, after that it should be merged with the main ones at some point
00042 muonreco_with_SET = cms.Sequence(muontracking_with_SET)
00043 
00044 # Muon Reconstruction plus Isolation
00045 muonreco_plus_isolation = cms.Sequence(muonrecowith_TeVRefinemen*muIsolation)
00046 muonreco_plus_isolation_plus_SET = cms.Sequence(muonrecowith_TeVRefinemen*muonreco_with_SET*muIsolation)
00047 
00048 # .. plus muIDmaps
00049 # this makes me wonder if we should make this a new default name (drop all _plusX)
00050 muonreco_plus_isolation_plus_SET_plus_muIDmaps = cms.Sequence(muonreco_plus_isolation_plus_SET*muonSelectionTypeSequence)
00051 
00052 muonrecoComplete = cms.Sequence(muonreco_plus_isolation_plus_SET*muonSelectionTypeSequence)
00053 muonrecoComplete_minus_muIDmaps = cms.Sequence(muonreco_plus_isolation_plus_SET)
00054 muonrecoComplete_minus_SET_minus_muIDmaps = cms.Sequence(muonrecowith_TeVRefinemen*muIsolation)
00055 
00056 ########################################################