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 L1GtUtilsHelper's search for data products to consume #38900
Conversation
The previous algorithm incorrectly kept the first data product that matched its type. The intent was to try to find the preferred module labels and if it can't then keep a data product if there is only one choice. The algorithm now does that behavior.
Although I kept the case where the configuration has an ambiguity in which data products to retrieve just a The best change would be to do away with the attempt to automatically pick the data product and instead require the InputTag to be specified in the configuration. |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38900/31333
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@epalencia, @rekovic, @cecilecaillol can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
The
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a72e90/26536/summary.html Comparison SummarySummary:
|
The change in histograms for WF 4.53 are expected. The base line histograms were empty because the old algorithm incorrectly chose data products that were not in the event. The new algorithm does what the comments for the old algorithm said was supposed to be done and now finds a 'preferred' data product which is in the event and therefore the new algorithm fills the histograms. The increase to the log is also expected as the code now reports the cases where the configuration should be changed to avoid unnecessary data access. |
+l1 |
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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The previous algorithm incorrectly kept the first data product that matched its type. The intent was to try to find the preferred module labels and if it can't then keep a data product if there is only one choice. The algorithm now does that behavior.
PR validation:
Running #38603 showed that the histograms generated by using this as a filter were filled differently based on the order in which this code saw data products. Now with or without #38603 the same data products are chosen.