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
EventSetupRecord::doGet uses prefetching #31775
Conversation
The code-checks are being triggered in jenkins. |
|
||
// | ||
// class decleration | ||
// | ||
namespace edm { | ||
class EventSetupRecordDataGetter : public edm::stream::EDAnalyzer<> { | ||
class EventSetupRecordDataGetter | ||
: public edm::global::EDAnalyzer<edm::RunCache<std::nullptr_t>, edm::LuminosityBlockCache<std::nullptr_t>> { |
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.
As a bonus, I could make it a global module :).
-code-checks ERROR: Build errors found during clang-tidy run.
|
efe3c4a
to
d3dd43b
Compare
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31775/19028
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: FWCore/Framework @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
-1 Tested at: d3dd43b CMSSW: CMSSW_11_2_X_2020-10-13-1100 I found follow errors while testing this PR Failed tests: Build
I found compilation error when building: >> Building LCG reflex dict from header file src/DataFormats/L1TMuon/src/classes.h In file included from input_line_9:67: In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-13-1100/src/DataFormats/L1TMuon/interface/L1MuBMTrack.h:36: In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-13-1100/src/FWCore/Framework/interface/EventSetup.h:33: In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-13-1100/src/FWCore/Framework/interface/EventSetupRecord.h:48: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-13-1100/src/FWCore/Utilities/interface/ESGetTokenGeneric.h:37:15: error: exception specification of explicitly defaulted default constructor does not match the calculated one constexpr ESGetTokenGeneric() noexcept = default; ^ Error: rootcling: compilation failure (tmp/slc7_amd64_gcc820/src/DataFormats/L1TMuon/src/DataFormatsL1TMuon/a/DataFormatsL1TMuon_xr6d41ad8bbc_dictUmbrella.h) gmake: *** [tmp/slc7_amd64_gcc820/src/DataFormats/L1TMuon/src/DataFormatsL1TMuon/a/DataFormatsL1TMuon_xr.cc] Error 1 >> Compiling LCG dictionary: tmp/slc7_amd64_gcc820/src/DataFormats/L1TMuon/src/DataFormatsL1TMuon/a/DataFormatsL1TMuon_xr.cc |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31775/19071
|
The tests are being triggered in jenkins.
|
Pull request #31775 was updated. @makortel, @smuzaffar, @cmsbuild, @Dr15Jones can you please check and sign again. |
Comparison is ready Comparison Summary:
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Changed EventSetupRecord::doGet to work with prefetching. This required the introduction of ESGetTokenGeneric and a new esConsumes method.
Added the EDConsumerBase::registerLateConsumes to be able to safely call esConsumes based on the contents of the EventSetup.
PR validation:
Code compiles and relevant framework unit tests pass.