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