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
Consider charge conjugation in decay products in PythiaFilterMultiAncestor #33491
Consider charge conjugation in decay products in PythiaFilterMultiAncestor #33491
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33491/22221
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33491/22224
|
A new Pull Request was created by @rmanzoni (Riccardo Manzoni) for master. It involves the following packages: GeneratorInterface/GenFilters @SiewYan, @mkirsano, @cmsbuild, @GurpreetSinghChahal, @agrohsje, @alberto-sanchez can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-795d33/14550/summary.html Comparison SummarySummary:
|
Looks good to me! |
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
In this PR we address a design problem of
PythiaFilterMultiAncestor.cc
, where charge conjugation is implicitly assumed by default for the particle under investigationhttps://github.com/cms-sw/cmssw/blob/master/GeneratorInterface/GenFilters/plugins/PythiaFilterMultiAncestor.cc#L147
for its ancestor
https://github.com/cms-sw/cmssw/blob/master/GeneratorInterface/GenFilters/plugins/PythiaFilterMultiAncestor.cc#L122
, but it is not for its daughters.
https://github.com/cms-sw/cmssw/blob/master/GeneratorInterface/GenFilters/plugins/PythiaFilterMultiAncestor.cc#L190
The problem was noticed in some private tests and should not affect any samples produced so far using this filter (which in fact is just a limited number of samples for a specific analysis and they are not affected because in that case it was based on a Jpsi->mumu decay).
However, a backport to 10_6 (and 11?) would be good to avoid having production releases where the filter behaves in an unintended way.
PR validation:
The problem was noticed when using the filter to enforce D0->K-pi+ decay.
Only one charge combination was present, but not the cc. The fix proposed here implements the correct behaviour.