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
Migrate consumesMany() to edm::GetterOfProducts() in GlobalHitsAnalyzer #40770
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40770/34187
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
#include "FWCore/Framework/interface/GetterOfProducts.h" | ||
#include "FWCore/Framework/interface/ProcessMatch.h" | ||
|
||
edm::GetterOfProducts<edm::HepMCProduct> getterOfProducts_; |
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.
Shouldn't this be a private member of the class GlobalHitsAnalyzer
like, for example, tGeomToken_
?
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> tGeomToken_; |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40770/34191
|
Pull request #40770 was updated. @emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4a6e99/30693/summary.html Comparison SummarySummary:
|
+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:
Based on PR #40167 .
Validation code :
Migrate GlobalHitsAnalyzer away from consumesMany() to use edm::GetterOfProducts().
PR validation:
Tested in CMSSW_13_0_0_pre4, the basic test all passed in the CMSSW PR instructions