1 import FWCore.ParameterSet.Config
as cms
6 goodMuonMCMatch.src =
'userDataMuons' 9 goodTrackMCMatch.src =
'userDataTracks' 22 allDimuonsMCMatch = cms.EDFilter(
"GenParticleMatchMerger",
23 src = cms.VInputTag(cms.InputTag(
"goodMuonMCMatch"), cms.InputTag(
"dimuonsMCMatch")),
24 filter = cms.bool(
False)
27 allDimuonsOneTrackMCMatch = cms.EDFilter(
"GenParticleMatchMerger",
28 src = cms.VInputTag(cms.InputTag(
"goodMuonMCMatch"), cms.InputTag(
"goodTrackMCMatch"), cms.InputTag(
"dimuonsOneTrackMCMatch")),
29 filter = cms.bool(
False)
33 mcTruthForDimuons = cms.Sequence(goodMuonMCMatch+dimuonsMCMatch+allDimuonsMCMatch)
34 mcTruthForDimuonsOneTrack = cms.Sequence(goodMuonMCMatch+goodTrackMCMatch+dimuonsOneTrackMCMatch+allDimuonsOneTrackMCMatch)
45 mcEventContent = cms.PSet(
46 outputCommands = cms.untracked.vstring(
48 'keep *_genParticles_*_*',
49 'keep *_allDimuonsMCMatch_*_*',
50 'keep *_allDimuonsOneTrackMCMatch_*_*'