-
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
Ensure electron mass does not go to 0 after FastSim bremsstrahlung #42236
Ensure electron mass does not go to 0 after FastSim bremsstrahlung #42236
Conversation
A new Pull Request was created by @sbein (Sam Bein) for CMSSW_10_6_X. It involves the following packages:
@cmsbuild, @ssekmen, @civanch, @mdhildreth, @sbein can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@sbein please submit your fix in the master release first, and then percolate it through the still active releases till this 10_6 |
Given this was merged, can we merge this backport? |
please test |
I'm just pinging because this release is high priority for the UL campaigns. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-63ce54/33870/summary.html Comparison SummarySummary:
|
backport of #42250 |
In any case, 10_6_X is a closed release in which FastSim samples were already produced: in that case this fix which changes the FastSim output need to be protected with a modifier By the way, don't you think that also the other intermediate releases in which fastsim is run can profit of this fix? It could be better to backport now rather than realizing only once the productions are started that you actually need it... |
@perrotta this is the preferred fix which only affects 1/10k events for a very soft electron - the change to physics is virtually non-existent and only affects the de/dx collections, which are not saved in the standard collections. Furthermore, it passes all tests. SUS needs this to achieve approval of their requests, so I think it would be good to merge as is. Yes, this will be percolated to other production releases, but this is the release corresponding to the currently stuck requests. |
In 12_4 (2022 FastSim) and 13_0 (2023 FastSim), I assume we don't need modifier right? As FastSim has not started yet. |
Hi @sbein @perrotta
Thx. |
Thank you @srimanob ! |
13_1 backport: #42453 |
@perrotta |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_13_3_X is complete. 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) |
+1 |
Tracked down a cause of the seg fault reported here #24051, found that FastSim bremsstrahlung emissions were being treated like decays (e->e+gamma), where the 4-vector of the photon is subtracted from the electron, but this causes the electron mass to go to zero approximately once in 10k events. Fixed code to preserve electron mass to prevent it from going to 0. CMS is not really sensitive to the electron mass, so the change to physics should be negligible.