1 import FWCore.ParameterSet.Config
as cms
4 selectedHadronsAndPartons = cms.EDProducer(
'HadronAndPartonSelector',
5 src = cms.InputTag(
"generator"),
6 particles = cms.InputTag(
"genParticles"),
7 partonMode = cms.string(
"Auto"),
8 fullChainPhysPartons = cms.bool(
True)
12 selectedHadronsAndPartonsForGenJetsFlavourInfos = selectedHadronsAndPartons.clone(particles =
"prunedGenParticles")