test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TopQuarkAnalysis
TopEventProducers
python
producers
TopDecaySubset_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
#
4
# module to make a persistent copy of the genParticles from the top decay,
5
# using either status 2 equivalent particles (default) or status 3 particles
6
#
7
decaySubset = cms.EDProducer(
"TopDecaySubset"
,
8
## input particle collection of type edm::View<reco::GenParticle>
9
src = cms.InputTag(
"genParticles"
),
10
## define fill mode. The following modes are available:
11
## 'kStable' : status 2 equivalents (after parton shower) are
12
## calculated and saved (as status 2 particles)
13
## 'kME' : status 3 particles (from matrix element, before
14
## parton shower) are saved (as status 3 particles)
15
fillMode = cms.string(
"kStable"
),
16
## choose whether to save additionally radiated gluons in the
17
## decay chain or not
18
addRadiation = cms.bool(
True
)
19
)
20
Config
Generated for CMSSW Reference Manual by
1.8.5