1 import FWCore.ParameterSet.Config
as cms
5 prunedGenParticlesWithStatusOne = prunedGenParticles.clone()
6 prunedGenParticlesWithStatusOne.select.append(
"keep status == 1")
8 prunedGenParticles.src = cms.InputTag(
"prunedGenParticlesWithStatusOne")
10 packedGenParticles.inputCollection = cms.InputTag(
"prunedGenParticlesWithStatusOne")
11 packedGenParticles.map = cms.InputTag(
"prunedGenParticles")
12 packedGenParticles.inputOriginal = cms.InputTag(
"genParticles")
14 genParticlesTask = cms.Task(
17 prunedGenParticlesWithStatusOne
22 _genParticlesHITask = genParticlesTask.copy()
23 _genParticlesHITask.add(packedGenParticlesSignal)
25 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
26 pp_on_AA.toReplaceWith(genParticlesTask, _genParticlesHITask)