-
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
Simplify L1TPhase2MuonOffline and fix the matching with gen muons in it #39283
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39283/31942
|
A new Pull Request was created by @perrotta (Andrea Perrotta) for master. It involves the following packages:
@epalencia, @emanueleusai, @ahmad3213, @cmsbuild, @rekovic, @jfernan2, @pmandrik, @micsucmed, @cecilecaillol, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
|
I've found a bug in the method L1TPhase2MuonOffline::matchMuonsToGen as it was coded in origin: the match was saved even if there was actually no match, with a null pointer for the muon. I don't know if it is the possible culprit for the issue of the non reproducibility reported in the PR description, but it certainly needs to be fixed. A fix is now coded in the commit 01f6d9f |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39283/31953
|
Pull request #39283 was updated. @epalencia, @emanueleusai, @ahmad3213, @rekovic, @jfernan2, @pmandrik, @micsucmed, @cecilecaillol, @rvenditti can you please check and sign again. |
please abort |
@cmsbuild please test |
+l1 |
type bugfix |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8b89c3/27276/summary.html Comparison SummarySummary:
|
+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) |
+1 |
PR description:
The last item listed in the github issue #39194 reports about a non reproducibility observed in DQM in the PR tests for the efficiencies for Phase2 muons.
The class that provides those efficiency plots is L1TPhase2MuonOffline, recently introduced in the release with the merging of #38442.
I do not expect that this PR can fix such a non reproducibility issue (say I would be surprised if so). However, cleaning the code a bit could help possible further degugging of the same. This is what this PR is intended to.
@cms-sw/l1-l2 please only consider this PR if it does not interfere with other updates that you are independently implementing in that code to fix the reported issue. Still you can take these simplifications into account for your own code, if so.
Further simplifications and or optimizations are also certainly possible for this code!
PR validation:
It compiles and runs on a few Phase2 workflows