From 1418537e0e808267c4e41eb11f5da7a9bfca201a Mon Sep 17 00:00:00 2001 From: Georgios Date: Mon, 7 Aug 2023 20:22:28 +0200 Subject: [PATCH] Changes to store Daughters of Kshort and Lambda in the prunedGenParticles collection for miniAODs --- .../PatAlgos/python/slimming/prunedGenParticles_cfi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py b/PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py index 1ecc6795334aa..3aee891787c43 100644 --- a/PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py +++ b/PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py @@ -18,7 +18,8 @@ "drop pdgId == 21 && pt < 5", # remove pythia8 garbage "drop status == 2 && abs(pdgId) == 21", # but remove again gluons in the inheritance chain "keep abs(pdgId) == 23 || abs(pdgId) == 24 || abs(pdgId) == 25 || abs(pdgId) == 6 || abs(pdgId) == 37 ", # keep VIP(articles)s - "keep abs(pdgId) == 310 && abs(eta) < 2.5 && pt > 1 ", # keep K0 + "keep++ abs(pdgId) == 310 || abs(pdgId) == 3122", # Keep Kshort, Lambda0 and their daughters + "keep+ abs(pdgId) == 310 || abs(pdgId) == 3122", # but keep first daughter, to allow lifetime determinations "+keep abs(pdgId) == 13 && status == 1", # keep muon parents # keep heavy flavour quarks for parton-based jet flavour "keep (4 <= abs(pdgId) <= 5)",