-
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
Update LHCInfoProducer to use LHCInfoCombined #43956
Update LHCInfoProducer to use LHCInfoCombined #43956
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43956/38842
|
A new Pull Request was created by @francescobrivio for master. It involves the following packages:
@rvenditti, @tjavaid, @syuvivida, @antoniovagnerini, @saumyaphor4252, @perrotta, @nothingface0, @cmsbuild, @consuegs, @hqucms, @vlimant can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable nano |
please test |
Hello, I don't think we need the |
Hi @vlimant ok I can do that! |
@cmsbuild please abort |
yes please |
I am not advocating for the contrary, but it would be nice to have an "agreed upon" policy about this, most of the other modifiers work in the other way around (past = default, "new" feature activated by the modifier). |
there might be some policy somewhere. what I see as realistic is default is now, and past or future is obtained through modifiers. |
7d41e43
to
f13a480
Compare
+1 |
do we need a 14.0 backport ? |
I'll open it in few minutes! |
+alca
|
I was doing it at the same time when you were writing 😄 It's updated now! |
please fwd me a place where it is said that our code base default must leave in the past, and that we need to enable the present with a modifier (if you can make sense of that to me, I am happy to modify things for that file outside of your juridiction) |
The whole rest of cmssw? |
does this sentence makes sense to you "our code base default must leave in the past, and that we need to enable the present with a modifier" I can understand the laziness of people trying to figure things out when implementing a new feature, but not having the today default be the two years ago situation |
Maybe it does not, maybe it does. But try to reconstruct a sinlge 2023 event without the Era Run3 (default is Run1). |
Because modifications are made starting from an initial config, and then for later eras one starts from the previous era + possible modifications. As such every era is simply based on the previous one. If we revert the order, then the modifications may become more complicate and mistakes much more probable. For example, in this case: if you want to extend nanoAOD to Run1, or some past special case, you must define another modification specific for it, while if there is a default that is modified starting from a given time onward everything is already automatically implemented. |
yes, run1 modifier (that is not in place already ?) would not even be needed here as it is "not run3" when run4 comes along, there is no need for modifier for the parameter ; less work less issue. |
Generally the approach in the past for new parameters in existing modules has been that the default values of new parameters should preserve the earlier behavior of the module. To my understanding at least reconstruction and HLT have imposed such requirements in the past. Such requirement has been particularly strict for backports to production release cycles. |
What do you mean? Do you mean at that point the support for NanoAOD in on Run 2 data would stop in |
+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. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR updates the NanoAOD
LHCInfoProducer
module to be able to use both oldLHCInfo
(for Run 2) and newLHCInfoPer*
records (for Run 3). In order to do so:I introduced a newrun3_nanoAOD_ANY
modifier (any feedback on whether this is done properly is appreciated)I used
(~run3_common)
modifier to differentiate between run3 and run2 workflows, as suggested during the PR reviewLHCInfo
) inSiPixelStatusHarvester.cc
andCTPPSDiamondDQMSource.cc
.Related topics/PRs:
PR validation:
Code compiles, plus I successfully run few nano matrix tests (
runTheMatrix.py -l 2500.31,2500.012 --ibeos -j 16
).Changes expected from this PR:
Backport:
A 140X backport will be provided once this PR is converged.
FYI @vavati @JanChyczynski @grzanka @Glitchmin