Skip to content

Commit

Permalink
Dinko's suggestions for pruned genparticles
Browse files Browse the repository at this point in the history
  • Loading branch information
arizzi committed Apr 14, 2014
1 parent 6ce5fed commit 0cd76a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
"keep status == 3", #keep event summary status3 (for pythia)
"++keep abs(pdgId) == 11 || abs(pdgId) == 13 || abs(pdgId) == 15", # keep leptons, with history
"keep abs(pdgId) == 12 || abs(pdgId) == 14 || abs(pdgId) == 16", # keep neutrinos
"++keep pdgId == 22 && status == 1 && pt > 10", # keep gamma above 10 GeV
"+keep pdgId == 22 && status == 1 && pt > 10", # keep gamma above 10 GeV
"drop status == 2", # drop the shower part of the history
"keep++ abs(pdgId) == 15", # but keep keep taus with decays
"++keep 4 <= abs(pdgId) <= 6 ", # keep also heavy quarks
"++keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # and their hadrons
# "++keep 4 <= abs(pdgId) <= 6 ", # keep also heavy quarks
# "++keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # and their hadrons
"drop status == 2 && abs(pdgId) == 21", # but remove again gluons in the inheritance chain
"keep (1 <= abs(pdgId) <= 3 || abs(pdgId) == 21) && pt > 10", # keep hard partons
# "keep (1 <= abs(pdgId) <= 3 || abs(pdgId) == 21) && pt > 5", # keep hard partons
"keep abs(pdgId) == 23 || abs(pdgId) == 24 || abs(pdgId) == 25 || abs(pdgId) == 37 ", # keep V.I.P.s
"keep (4 <= abs(pdgId) = 5) & (status = 2 || status = 11 || status = 71 || status = 72)", # keep heavy flavour quarks for parton-based jet flavour
"keep (1 <= abs(pdgId) <= 3 || pdgId = 21) & (status = 2 || status = 11 || status = 71 || status = 72) & pt>5", # keep light-flavour quarks and gluons for parton-based jet flavour
"keep (400 < abs(pdgId) < 600) || (4000 < abs(pdgId) < 6000)", # keep b and c hadrons for hadron-based jet flavour
"keep abs(pdgId) = 10411 || abs(pdgId) = 10421 || abs(pdgId) = 10413 || abs(pdgId) = 10423 || abs(pdgId) = 20413 || abs(pdgId) = 20423 || abs(pdgId) = 10431 || abs(pdgId) = 10433 || abs(pdgId) = 20433", # additional c hadrons for jet fragmentation studies
"keep abs(pdgId) = 10511 || abs(pdgId) = 10521 || abs(pdgId) = 10513 || abs(pdgId) = 10523 || abs(pdgId) = 20513 || abs(pdgId) = 20523 || abs(pdgId) = 10531 || abs(pdgId) = 10533 || abs(pdgId) = 20533 || abs(pdgId) = 10541 || abs(pdgId) = 10543 || abs(pdgId) = 20543", # additional b hadrons for jet fragmentation studies

)
)
3 changes: 2 additions & 1 deletion PhysicsTools/PatAlgos/python/slimming/slimming_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'keep *_selectedPatTrigger_*_PAT',
'keep patPackedTriggerPrescales_patTrigger__PAT',
'keep *_l1extraParticles_*_HLT',
'keep L1GlobalTriggerReadoutRecord_gtDigis_*_HLT',
'keep *_TriggerResults_*_HLT',
'keep *_TriggerResults_*_PAT', # for MET filters
'keep patPackedCandidates_lostTracks_*_PAT',
Expand All @@ -53,7 +54,7 @@
MicroEventContentMC.outputCommands += [
'keep *_slimmedGenJets_*_*',
'keep *_packedGenParticles_*_*',
'keep *_prunedGenParticles_*_*',
'keep recoGenParticles_prunedGenParticles_*_*',
'keep LHEEventProduct_source_*_*',
'keep LHERunInfoProduct_*_*_*',
'keep PileupSummaryInfos_*_*_*',
Expand Down

0 comments on commit 0cd76a1

Please sign in to comment.