-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to store Daughters of Kshort and Lambda in the miniAOD prunedGenParticle Collection #42464
Changes to store Daughters of Kshort and Lambda in the miniAOD prunedGenParticle Collection #42464
Conversation
…GenPartiâ�cles Collection
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42464/36467
|
A new Pull Request was created by @gmelachr (Georgios Melachroinos) for master. It involves the following packages:
@cmsbuild, @simonepigazzini, @mandrenguyen, @clacaputo, @vlimant can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable nano |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-31e805/34066/summary.html Comparison SummarySummary:
NANO Comparison SummarySummary:
Nano size comparison Summary:
|
The nano summary table just above doesn't seem to show any size increase. |
Let me clarify a bit: I only updated the PhysicsTools/PatAlgos/python/slimming/prunedGenParticles_cfi.py to change-correct the available information in the miniAODs. Using the nominal framework, I was seeing the same production vertex for Kshort and for its daughters. The daughters were stored in the packedGenParticles collection with a wrong production vertex and the Kshort in the prunedGenParticle Collection. Now, the daughters are also stored in the prunedGenParticleCollection with the correct production vertex. Furthermore, I didn't produce nanoAODs, I produced and checked things only for miniAODs locally. Let me know if this responds your question, |
I enabled the nano tests more as a cross-check than anything else. I did not expect a change in size at the NANO level, since the gen level is further pruned at the nano step. I think that overall the impact of the changes is negligible also for MINI |
+reconstruction |
Hi, according to the last message I understand that the changes have been accepted. So, how are we going to proceed now? Are we waiting for a further approval by someone? Furthermore, what is the procedure to backport these changes to 12_4_X? |
@gmelachr we still miss the review of @cms-sw/xpog-l2 (whch are the main responsible for this code) |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a problem to leave at least the eta restriction at 2.5?
Can you try with this syntax: "keep+ (abs(pdgId)
== 310 || abs(pdgId)==3122) && abs(eta)<2.5 && pt>1`
And check that it still works for you. You can also split Kshort and Lambda0 into two statements adding the eta and pt cuts to both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I want to store all Kshorts and Lambdas for B0->X(μμ)Kshort(ππ), Β+ ->Χ(μμ)Κ*+ -->μμKshortπ-->μμπππ and Λb->Χ(mumu)Λ0(pπ) in order to measure acceptance. So, a possible cut for eta or for pT would affect the acceptance, wouldn't it?
What is the problem with the current syntax?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok understood. There is no problem, I was just trying to get to the minimal set of particles to add.
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
@cms-sw/pdmv-l2 my understanding is that the change is needed in 12_4_X to patch the ongoing production. If you agree to produce the required samples with a dedicated central production we can proceed with a backport to 12_4_X. |
+1 |
The productions for the above-mentioned decays have not been requested yet with central productions. I was waiting for the changed to be integrated in CMSSW in order to avoid double productions and possible problems. The current MC requests for BPAG are running on CMSSW_12_4_11_path3, so please proceed with the backport in order to proceed with the central production too. thanks |
@simonepigazzini we will produce the samples as requested by pwgs. It is fine to backport it. |
@gmelachr, please proceed with the backport. You just need to apply the same changes starting from CMSSW_12_4_11_path3 instead of a recent IB. Thank you |
@simonepigazzini And then I will create a pull request to CMSSW_12_4_X, right? |
yep |
@simonepigazzini @gmelachr what about backporting it in the intermediate releases? Is this something that could be potentially useful in the analysis of this year data (i.e. 13_0_X) as well? Then 13_1 is for Phase2, and 13_2 for HI, maybe not needed there but think about. |
Modify prunedGenParticles_cfi.py to store daughters of Kshort and Lambda in the prunedGenParticle collection in order to use the daughter's production vertices for Kshort and Lambda lifetime measurements. The changes have been tested locally.