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
Improve autoAlca dictionaries layout #37360
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37360/29010
|
A new Pull Request was created by @francescobrivio for master. It involves the following packages:
@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@francescobrivio, no, this is what I meant (anyway
|
Ok! I was just wondering because with the current changes each time we modify the
Thanks! I'll look into using the
Yea I was about to do it, but then I was doubious if this was the best way to implement the changes and I wanted to get feedback before doing more work. |
btw I think it's also used in the configBuilder IIUC. See:
|
A small price to pay to avoid obfuscation of the actual main dictionary IMHO.
Among other things yes, though the effect on |
I think that was used by PdmV only for the 2016 rereco, so you could take the occasion to rename according to the convention of the other ones |
I totally agree! |
@cmsbuild please test |
556f4a5
to
3b11879
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37360/29036
|
@smuzaffar are the tests for this PR stuck? They were triggered 15 hours ago. |
sorry there was a bug introduced in bot which cause few PRs jobs to fail ( this PR is one of those https://cmssdt.cern.ch/jenkins/job/ib-schedule-pr-tests/56047/console ) . I have started the tested now |
ok thanks a lot! |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a5d256/23481/summary.html Comparison SummarySummary:
|
@tvami @malbouis feel free to sign this:
|
the (good) reason why these have been introduced, was in order to have releases for the EOY re-recos which are self-contained, such that PdmV could fetch the matrix to run directly from here, instead of having to piece it together manually over twiki or e-mail exchanges in a highly error prone way. While for the past it is maybe less important (though I don't see exactly the compelling reason to delete them), I would encourage to maintain the good habit for future re-recos. |
Hi All, sorry for joining late on the discussion here (I'm back from vacation for good now). Do I understand this correctly that every time when a new stream is added for the future, we'll need to edit all the past matrices so that we remove something that was never present in that year? That sounds a bit counterintuitive to me. The argument against having a default ALCARECO matrix and adding new lines to that when a new stream appears, and then in the first line of the file, equaling the latest to the |
see #37360 (comment)
I have honestly difficulty to unpack what you mean here :D can you try to re-phrase? |
Hahaha, sorry. Something like
and then defining |
repeating myself, IMHO it obfuscates the values used in the |
+alca |
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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+alca
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a5d256/23670/summary.html Comparison SummarySummary:
|
+1 |
PR description:
Following suggestion in #37306 (comment) this PR restructures the layout of the
AlCaRecoMatrix
dictionaries inautoAlCa.py
.AlCaRecoMatrix
is maintained unchanged, whileAlCaRecoMatrix2017
,AlCaRecoMatrix2018
andAlCaRecoMatrixRereco
(now renamedAlCaRecoMatrix2016
) are copied fromAlCaRecoMatrix
dict and then customized for the specific changes in 2016, 2017 and 2018.Special customization dicts are used to define the specific customizations for each year and, as suggested during the review, the
update
method ofdict
is used.PR validation:
Code compiles.
Backport:
Not a backport but a backport for 12_3_X might be needed.
FYI @cms-sw/alca-l2 @mmusich