-
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
Fix LumiCache in AlcaBeamMonitor and OnlineBeamMonitor #41700
Fix LumiCache in AlcaBeamMonitor and OnlineBeamMonitor #41700
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41700/35575
|
A new Pull Request was created by @francescobrivio for master. It involves the following packages:
@nothingface0, @emanueleusai, @tvami, @cmsbuild, @saumyaphor4252, @pmandrik, @syuvivida, @tjavaid, @micsucmed, @francescobrivio, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gennai and @francescobrivio! This is the proper way to use LuminosityBlockCache
in edm::one
modules.
In the last push I:
(I'll edit the PR description tomorrow) |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41700/35579
|
Pull request #41700 was updated. @nothingface0, @emanueleusai, @tvami, @cmsbuild, @saumyaphor4252, @pmandrik, @syuvivida, @tjavaid, @micsucmed, @francescobrivio, @rvenditti can you please check and sign again. |
I also tested this with:
To be honest, given the tests parameters, I was expecting to see 5 lumisections (1000 evts / 200 evts per LS), but well...better than nothing! EDIT: |
test parameters:
|
@cmsbuild please test
|
as far I can tell, when you run in multi-threaded mode (trading On the other hand none of the two is consistent with the observations in the production enviroment (see CMSTalk post, in which apparently only one LS is plotted, https://tinyurl.com/2gtx6s9q). I gather we're not capturing with this command some feature that is running in the Tier-0 jobs. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b8119c/32682/summary.html Comparison SummarySummary:
|
test parameters:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b8119c/32705/summary.html Comparison SummarySummary:
|
was this expected? |
Given that in the backport tests there is no such increase (#41722 (comment)) I tend to conclude it's coming from the non standard test parameters used here. |
The extra lines in the log are due to the fact the wf 138.5_ExpressCollisions2021 runs with 100 events in the baseline and 1000 events in these tests: is it because of the multithreading enabled? |
The multithreading and 100 events were part of the non-standard parameters set for the tests (my fault). @tvami in case you prefer, we can restart the tests after resetting the parameters to the standard values before you sign the PR. Let me know what you prefer, or feel free to do it :) |
I dont think we need that, we can just use the backport tests to convince ourselves |
+db
|
+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:
Triggered by this CMSTalk post and as a follow-up of #37163 and #39973, @gennai and I implemented the changes suggested by @makortel in #37163 (comment).
The changes include:
LuminosityBlockCache
Event::getByToken()
try/catch block as suggested by MattinumberOfProcessedLumis_
variableprocessedLumis_
toglobalEndLuminosityBlock()
and removed the obsoletemutable
declarationLuminosityBlockCache
numberOfProcessedLumis_
variableprocessedLumis_
toglobalEndLuminosityBlock()
and removed the obsoletemutable
declaration@makortel @mmusich please let us know what you think of these changes.
PR validation:
We tested this with wf138.5
which runs the fullALCA
reco sequence in step3, using events from multiple lumisections.I'm not sure if this is the correct way to do it or if some other trick is needed to properly test this, suggestions are welcome.
See below the discussion about testing this PR properly
Backport:
Not a backport. Backports available at: