src
SimTracker
TrackAssociation
python
trackingParticlePrunerByGen_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
import
SimTracker.TrackAssociation.tpSelectorByGenDefault_cfi
as
_mod
3
4
prunedTrackingParticles = _mod.tpSelectorByGenDefault.clone(
5
select = [
6
"drop *"
,
# this is the default
7
"keep++ (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)"
,
# keep decays for BPH studies
8
"drop status != 1"
,
# keep only status == 1
9
"drop charge == 0"
10
]
11
)
Generated for CMSSW Reference Manual by
1.8.14