CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
genParticles_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
4 
5 prunedGenParticlesWithStatusOne = prunedGenParticles.clone()
6 prunedGenParticlesWithStatusOne.select.append( "keep status == 1")
7 
8 prunedGenParticles.src = cms.InputTag("prunedGenParticlesWithStatusOne")
9 
10 packedGenParticles.inputCollection = cms.InputTag("prunedGenParticlesWithStatusOne")
11 packedGenParticles.map = cms.InputTag("prunedGenParticles") # map with rekey association from prunedGenParticlesWithStatusOne to prunedGenParticles, used to relink our refs to prunedGen
12 packedGenParticles.inputOriginal = cms.InputTag("genParticles")