1 import FWCore.ParameterSet.Config
as cms
6 patJetPartonMatch = cms.EDProducer(
"MCMatcher",
7 src = cms.InputTag(
"ak4PFJetsCHS"),
8 matched = cms.InputTag(
"genParticles"),
9 mcPdgId = cms.vint32(1, 2, 3, 4, 5, 21),
10 mcStatus = cms.vint32(3,23),
11 checkCharge = cms.bool(
False),
12 maxDeltaR = cms.double(0.4),
13 maxDPtRel = cms.double(3.0),
14 resolveAmbiguities = cms.bool(
True),
15 resolveByMatchQuality = cms.bool(
False),
18 patJetGenJetMatch = cms.EDProducer(
"GenJetMatcher",
19 src = cms.InputTag(
"ak4PFJetsCHS"),
20 matched = cms.InputTag(
"ak4GenJets"),
21 mcPdgId = cms.vint32(),
22 mcStatus = cms.vint32(),
23 checkCharge = cms.bool(
False),
24 maxDeltaR = cms.double(0.4),
26 resolveAmbiguities = cms.bool(
True),
27 resolveByMatchQuality = cms.bool(
False),
30 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
31 pp_on_AA.toModify(patJetGenJetMatch,
33 resolveByMatchQuality =
True,
37 pp_on_AA.toModify(patJetPartonMatch, src =
"akCs4PFJets")