-
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
Extend alternative module type loading to EventSetup #39391
Extend alternative module type loading to EventSetup #39391
Conversation
In order to use from ComponentFactory<T> for EventSetup
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39391/32093
|
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
return MakerPluginFactory::get()->create(modtype); | ||
}; | ||
std::unique_ptr<Maker> wm = make(resolver, modtype, p); | ||
std::unique_ptr<Maker> wm = detail::resolveMaker<MakerPluginFactory>(modtype, resolver); |
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.
nice sharing
Seems OK |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb5032/27540/summary.html Comparison SummarySummary:
|
0e854ed
to
8e92ec6
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39391/32097
|
Pull request #39391 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-eb5032/27546/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:
This PR extends the alternative module type loading, that was introduced in #37731 for EDModules, to EventSetup sources and modules. I'm not sure if this feature would be really useful for ESSources, because for GPUs the use case is really about transferring data from existing ESProducts on existing Records, but it was tiny bit simpler to allow the mechanism also for ESSources. For Loopers the mechanism is explicitly disabled.
Resolves cms-sw/framework-team#435
PR validation:
Framework unit tests run.