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 00018 # Muon Isolation sequence 00019 from RecoMuon.MuonIsolationProducers.muIsolation_cff import * 00020 muontracking = cms.Sequence(MuonSeed*standAloneMuons*globalMuons) 00021 muontracking_with_TeVRefinement = cms.Sequence(muontracking*tevMuons) 00022 00023 # Muon Reconstruction 00024 muonreco = cms.Sequence(muontracking*muonIdProducerSequence) 00025 muonrecowith_TeVRefinemen = cms.Sequence(muontracking_with_TeVRefinement*muonIdProducerSequence) 00026 00027 # Muon Reconstruction plus Isolation 00028 muonreco_plus_isolation = cms.Sequence(muonrecowith_TeVRefinemen*muIsolation) 00029 00030 ######################################################## 00031 00032 # Sequence for cosmic reconstruction 00033 00034 # Seed generator 00035 from RecoMuon.MuonSeedGenerator.CosmicMuonSeedProducer_cfi import * 00036 00037 # Stand alone muon track producer 00038 from RecoMuon.CosmicMuonProducer.cosmicMuons_cff import * 00039 00040 # Global muon track producer 00041 from RecoMuon.CosmicMuonProducer.globalCosmicMuons_cff import * 00042 00043 # Muon Id producer 00044 muonsFromCosmics = RecoMuon.MuonIdentification.muons_cfi.muons.clone() 00045 00046 muonsFromCosmics.inputCollectionLabels = ['generalTracks', 'globalCosmicMuons', 'cosmicMuons'] 00047 muonsFromCosmics.inputCollectionTypes = ['inner tracks', 'links', 'outer tracks'] 00048 muonsFromCosmics.fillIsolation = False 00049 00050 muoncosmicreco = cms.Sequence(CosmicMuonSeed*cosmicMuons*globalCosmicMuons*muonsFromCosmics)