00001 import FWCore.ParameterSet.Config as cms
00002
00003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
00004
00005 from PhysicsTools.PatAlgos.cleaningLayer0.muonCleaner_cfi import *
00006 from PhysicsTools.PatAlgos.recoLayer0.muonIsolation_cff import *
00007 from PhysicsTools.PatAlgos.triggerLayer0.muonHLTProducer_cfi import *
00008 from PhysicsTools.PatAlgos.triggerLayer0.muonHLTMatch_cfi import *
00009 from PhysicsTools.PatAlgos.mcMatchLayer0.muonMatch_cfi import *
00010 from PhysicsTools.PatAlgos.producersLayer1.muonProducer_cff import *
00011 from PhysicsTools.RecoAlgos.goodTracks_cfi import *
00012
00013
00014
00015
00016 from PhysicsTools.IsolationAlgos.goodMuonIsolations_cfi import *
00017 from PhysicsTools.IsolationAlgos.goodTrackIsolations_cfi import *
00018 from ElectroWeakAnalysis.ZReco.muonIsolations_cfi import *
00019
00020 from ElectroWeakAnalysis.ZReco.dimuons_cfi import *
00021 from ElectroWeakAnalysis.ZReco.dimuonsOneTrack_cfi import *
00022 from ElectroWeakAnalysis.ZReco.dimuonsGlobal_cfi import *
00023 from ElectroWeakAnalysis.ZReco.dimuonsOneStandAloneMuon_cfi import *
00024 from ElectroWeakAnalysis.ZReco.mcTruthForDimuons_cff import *
00025 patLayer0 = cms.Sequence(patAODMuonIsolation*allLayer0Muons*patLayer0MuonIsolation*muonHLTProducer*muonHLTMatch*muonMatch)
00026 patLayer1 = cms.Sequence(layer1Muons)
00027 goodMuonRecoForDimuon = cms.Sequence(patLayer0*patLayer1*goodTracks*goodTrackIsolations*goodMuonIsolations*muonIsolations)
00028 allLayer0Muons.isolation.tracker = cms.PSet(
00029 veto = cms.double(0.015),
00030 src = cms.InputTag("patAODMuonIsolations","muIsoDepositTk"),
00031 deltaR = cms.double(0.3),
00032 cut = cms.double(3.0),
00033 threshold = cms.double(1.5)
00034 )
00035 muonMatch.maxDeltaR = 0.15
00036 muonMatch.maxDPtRel = 1.0
00037 muonMatch.resolveAmbiguities = False
00038 selectedLayer1Muons.src = 'allLayer1Muons'
00039 selectedLayer1Muons.cut = 'pt > 0. & abs(eta) < 100.0'
00040 goodMuonIsolations.src = 'selectedLayer1Muons'
00041