CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  ## define run mode. The following run modes are available:
17  ## 'Run1' : will run the same code as during Run1
18  ## 'Run2' : will run new code that can deal with Pythia8
19  runMode = cms.string("Run1"),
20  ## choose whether to save additionally radiated gluons in the
21  ## decay chain or not
22  addRadiation = cms.bool(True)
23 )
24