CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
sortGenParticles_cff.py
Go to the documentation of this file.
3 
4 decaysFromZs = cms.EDProducer(
5  "GenParticlePruner",
6  src = cms.InputTag("genParticles"),
7  select = cms.vstring(
8  "drop * ", # this is the default
9  "keep+ pdgId = {Z0}",
10  "drop pdgId = {Z0}"
11  )
12 )
13 
14 sortGenParticlesSequence = cms.Sequence(
15  decaysFromZs
16  )