00001 import FWCore.ParameterSet.Config as cms 00002 00003 from PhysicsTools.HepMCCandAlgos.goodMuonMCMatch_cfi import * 00004 goodMuonMCMatch.src = 'selectedPatMuonsTriggerMatch' 00005 from PhysicsTools.HepMCCandAlgos.goodTrackMCMatch_cfi import * 00006 goodTrackMCMatch.src = 'selectedPatTracks' 00007 00008 from ElectroWeakAnalysis.Skimming.dimuonsMCMatch_cfi import * 00009 from ElectroWeakAnalysis.Skimming.dimuonsOneTrackMCMatch_cfi import * 00010 allDimuonsMCMatch = cms.EDFilter("GenParticleMatchMerger", 00011 src = cms.VInputTag(cms.InputTag("goodMuonMCMatch"), cms.InputTag("goodTrackMCMatch"), cms.InputTag("dimuonsMCMatch"), cms.InputTag("dimuonsOneTrackMCMatch")) 00012 ) 00013 00014 mcTruthForDimuons = cms.Sequence(goodMuonMCMatch+goodTrackMCMatch+dimuonsMCMatch+dimuonsOneTrackMCMatch+allDimuonsMCMatch) 00015