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
PPS: consume association cuts from DB #35766
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35766/26116
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
Hi @jan-kaspar please note that code-checks have failed, please fix that so we can test this |
I mentioned this to Wagner on Monday, could you please also modify your validation script that it includes the ratio inset below each plot? Thanks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35766/26138
|
A new Pull Request was created by @jan-kaspar for master. It involves the following packages:
@malbouis, @yuanchao, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @jfernan2, @slava77, @jpata, @francescobrivio, @pbo0, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Thanks Jan for the code-checks, next step would be to create a new GT that this can be tested, but before that we have the PPS geometry PR and the DD4HEP geometry PR... so this PR will have to wait a bit longer |
This is obviously very useful, thanks @tvami for motivating to actually do it! Done: CTPPS/pps-quick-test@eda9142 The updated plots: For my PPS colleauges -- @grzanka @fabferro @wpcarvalho :
|
Thanks for the info! Can't you test it with the candidate by @wpcarvalho If not, I have personally no difficulties to wait. However, this PR is a sort of fix for the PPS full simulation - I let @mundim and @clemencia to comment about the urgency. |
These look great, thanks a lot for the quick action! |
Testing we can do, actually you can do and I can trigger the tests :) |
I forget to add: the merging is what we cant do for a while |
I guess that we would rely on the 136.* workflows. As these are Run2 data, I would have guessed that they use the latest conditions, which are in the offline flavour. I have never checked, I guess you know better. Technically, Wagner has made also a prompt GT candidate (and I tested that it gives different results from the offline one). But since this doesn't help to get this PR through, I believe we can wait. |
Just for the record: #35868 |
+1 |
Hi @cms-sw/reconstruction-l2 do you have any further comments? |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). 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) |
+1 |
merge |
@@ -48,8 +52,8 @@ class PPSAssociationCuts { | |||
std::vector<std::string> s_thresholds_; | |||
|
|||
// TF1 representation of the cut parameters - for run time evaluations | |||
std::vector<std::shared_ptr<TF1> > f_means_ COND_TRANSIENT; | |||
std::vector<std::shared_ptr<TF1> > f_thresholds_ COND_TRANSIENT; | |||
mutable std::vector<std::shared_ptr<TF1> > f_means_ COND_TRANSIENT; |
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.
This is not thread safe and is likely causing the problems seen in the IB.
PR description:
This PR updates the default PPS reconstruction configuration to consume the
PPSAssociationCuts
from DB. A small correction is made to the condition format to ensure that all class fields are correctly initialised.This PR needs to be considered together with an updated GT. In particular it was tested with
121X_dataRun3_Candidate_2021_10_21_12_37_53
.This is a technical PR, no changes in results are expected.
PR validation:
The plots below compare results before (blue) and after this PR (red dashed)
No differences observed as expected.