Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
ParticleFlow
python
GeneratorTools
sortGenParticles_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
from
SimGeneral.HepPDTESSource.pythiapdt_cfi
import
*
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
)
Config
pythiapdt_cfi
Generated for CMSSW Reference Manual by
1.8.5