/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
TopQuarkAnalysis/TopEventProducers/python/producers/TopDecaySubset_cfi.py
23 строки
1 KB
kreczko
Adding Pythia8 capability to TopDecaySubset
05 фев 2015, 16:43
05 фев 2015, 16:43
e80215b
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # # module to make a persistent copy of the genParticles from the top decay, # using either status 2 equivalent particles (default) or status 3 particles # decaySubset = cms.EDProducer("TopDecaySubset", ## input particle collection of type edm::View<reco::GenParticle> src = cms.InputTag("genParticles"), ## define fill mode. The following modes are available: ## 'kStable' : status 2 equivalents (after parton shower) are ## calculated and saved (as status 2 particles) ## 'kME' : status 3 particles (from matrix element, before ## parton shower) are saved (as status 3 particles) fillMode = cms.string("kStable"), ## define run mode. The following run modes are available: ## 'Run1' : will run the same code as during Run1 ## 'Run2' : will run new code that can deal with Pythia8 runMode = cms.string("Run1"), ## choose whether to save additionally radiated gluons in the ## decay chain or not addRadiation = cms.bool(True) )