CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
genparticles_cff Namespace Reference

Variables

tuple finalGenParticles
 User floats producers, selectors ##########################. More...
 
tuple genParticleTable
 Tables for final output and docs ##########################. More...
 
tuple genParticleTablesTask = cms.Task(genParticleTable)
 
tuple genParticleTask = cms.Task(finalGenParticles)
 

Variable Documentation

tuple genparticles_cff.finalGenParticles
Initial value:
1 = cms.EDProducer("GenParticlePruner",
2  src = cms.InputTag("prunedGenParticles"),
3  select = cms.vstring(
4  "drop *",
5  "keep++ abs(pdgId) == 15 & (pt > 15 || isPromptDecayed() )",# keep full tau decay chain for some taus
6  #"drop status==1 & pt < 1", #drop soft stable particle in tau decay
7  "keep+ abs(pdgId) == 15 ", # keep first gen decay product for all tau
8  "+keep pdgId == 22 && status == 1 && (pt > 10 || isPromptFinalState())", # keep gamma above 10 GeV (or all prompt) and its first parent
9  "+keep abs(pdgId) == 11 || abs(pdgId) == 13 || abs(pdgId) == 15", #keep leptons, with at most one mother back in the history
10  "drop abs(pdgId)= 2212 && abs(pz) > 1000", #drop LHC protons accidentally added by previous keeps
11  "keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", #keep all B and C hadrons
12  "keep abs(pdgId) == 12 || abs(pdgId) == 14 || abs(pdgId) == 16", # keep neutrinos
13  "keep status == 3 || (status > 20 && status < 30)", #keep matrix element summary
14  "keep isHardProcess() || fromHardProcessDecayed() || fromHardProcessFinalState() || (statusFlags().fromHardProcess() && statusFlags().isLastCopy())", #keep event summary based on status flags
15  "keep (status > 70 && status < 80 && pt > 15) ", # keep high pt partons right before hadronization
16  "keep abs(pdgId) == 23 || abs(pdgId) == 24 || abs(pdgId) == 25 || abs(pdgId) == 37 ", # keep VIP(articles)s
17  #"keep abs(pdgId) == 310 && abs(eta) < 2.5 && pt > 1 ", # keep K0
18  "keep (1000001 <= abs(pdgId) <= 1000039 ) || ( 2000001 <= abs(pdgId) <= 2000015)", #keep SUSY fiction particles
19 
20  )
21 )

User floats producers, selectors ##########################.

Definition at line 8 of file genparticles_cff.py.

tuple genparticles_cff.genParticleTable

Tables for final output and docs ##########################.

Definition at line 33 of file genparticles_cff.py.

tuple genparticles_cff.genParticleTablesTask = cms.Task(genParticleTable)

Definition at line 85 of file genparticles_cff.py.

tuple genparticles_cff.genParticleTask = cms.Task(finalGenParticles)

Definition at line 84 of file genparticles_cff.py.