-
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
avoid non-reproducible ordering in l1tPhase2MuonEfficiency
harvester
#39301
avoid non-reproducible ordering in l1tPhase2MuonEfficiency
harvester
#39301
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39301/31981
|
A new Pull Request was created by @missirol (Marino Missiroli) 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-INPUT
Comparison SummarySummary:
|
+1
|
merge |
+1 |
+l1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). |
And I confirm that after the merging of this PR in master the non reproducibility of the L1T Phase2 Muon efficiency in DQM has disappeared: thank you Marino! |
PR description:
This PR is a guess to try and solve Item-6 of #39194.
This comment by @perrotta led me to L1TPhase2MuonDQMEfficiency_cfi, where one sees that
qualStrings
is aset
, and not alist
. Afaiu,set
s are unordered and there is no guarantee on their ordering when iterating on them. This means that the output ofgenerateEfficiencyStrings
will always contain the same elements, but with non-reproducible ordering.Once fed to
DQMGenericClient
, the latter creates a single histogram with bins containing the global efficiency of each element ofefficiencyProfile
. I'm guessing that if the ordering ofefficiencyProfile
is not reproducible, the binning of the "global" histogram in question won't be either.cmssw/DQMServices/Components/plugins/DQMGenericClient.cc
Line 857 in b2a2b0b
https://root.cern.ch/doc/master/classTH1.html#alpha
PR validation:
None.
If this PR is a backport, please specify the original PR and why you need to backport that PR. If this PR will be backported, please specify to which release cycle the backport is meant for:
CMSSW_12_5_X