/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimTracker/TrackAssociation/python/trackingParticlePrunerByGen_cfi.py
11 строк
468 B
Jeongeun Lee
replace EDProducer with from cfipython and drop type spec
27 сен 2021, 05:44
27 сен 2021, 05:44
7a6afea
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms import SimTracker.TrackAssociation.tpSelectorByGenDefault_cfi as _mod prunedTrackingParticles = _mod.tpSelectorByGenDefault.clone( select = [ "drop *", # this is the default "keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep decays for BPH studies "drop status != 1", # keep only status == 1 "drop charge == 0" ] )