1 import FWCore.ParameterSet.Config
as cms
3 slimmedGenJets = cms.EDProducer(
"PATGenJetSlimmer",
4 src = cms.InputTag(
"ak4GenJetsNoNu"),
5 packedGenParticles = cms.InputTag(
"packedGenParticles"),
6 cut = cms.string(
"pt > 8"),
7 cutLoose = cms.string(
""),
8 nLoose = cms.uint32(0),
9 clearDaughters = cms.bool(
False),
10 dropSpecific = cms.bool(
False),
13 slimmedGenJetsAK8 = cms.EDProducer(
"PATGenJetSlimmer",
14 src = cms.InputTag(
"ak8GenJetsNoNu"),
15 packedGenParticles = cms.InputTag(
"packedGenParticles"),
16 cut = cms.string(
"pt > 80"),
17 cutLoose = cms.string(
"pt > 10."),
18 nLoose = cms.uint32(3),
19 clearDaughters = cms.bool(
False),
20 dropSpecific = cms.bool(
False),
23 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
24 pp_on_AA.toModify(slimmedGenJets, src =
"ak4HiSignalGenJets")
25 pp_on_AA.toModify(slimmedGenJetsAK8, cut =
'pt>9999', nLoose = 0)
26 from Configuration.ProcessModifiers.genJetSubEvent_cff
import genJetSubEvent
27 genJetSubEvent.toModify(slimmedGenJets, src =
"ak4HiGenJetsCleaned")