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 to esConsumes Alignment/CommonAlignmentMonitor
#34270
Migrate to esConsumes Alignment/CommonAlignmentMonitor
#34270
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34270/23569
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
4ea67d0
to
4fe7330
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34270/23570
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages: Alignment/CommonAlignmentMonitor @malbouis, @yuanchao, @cmsbuild, @tlampen, @pohsun, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
-1 Failed Tests: Build BuildI found compilation error when building: >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentSeedSelector.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentTrackSelector.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentTracksFromVertexSelector.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentTwoBoyDecayTrackSelector.cc /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentProducerBase.cc: In member function 'void AlignmentProducerBase::createMonitors()': /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentProducerBase.cc:295:106: error: no matching function for call to 'edmplugin::PluginFactory::create(const std::__cxx11::basic_string&, const edm::ParameterSet&)' 295 | AlignmentMonitorPluginFactory::get()->create(miter, monitorConfig.getUntrackedParameterSet(miter))); | ^ In file included from /cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentAlgorithm/interface/AlignmentAlgorithmPluginFactory.h:10, from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_0_X_2021-06-28-1100/src/Alignment/CommonAlignmentProducer/src/AlignmentProducerBase.cc:5: /cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_0_X_2021-06-28-1100/src/FWCore/PluginManager/interface/PluginFactory.h:63:24: note: candidate: 'std::unique_ptr<_Tp> edmplugin::PluginFactory::create(const string&, Args ...) const [with R = AlignmentMonitorBase; Args = {const edm::ParameterSet&, edm::ConsumesCollector&}; std::string = std::__cxx11::basic_string]' |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34270/23572
|
@cmsbuild please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4eaafe/16283/summary.html CMS StaticAnalyzer warnings: There are 3 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4eaafe/16283/llvm-analysis/esrget-sa.txt for details. 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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The main goal of this PR is to finalize the migration to esConsumes for the package
Alignment/CommonAlignmentMonitor
.I profit of it to modernize some of the legacy
edm::EDProducer
s to become thread-efficient.This is part of issue #31061.
As a not the code in
Alignment/CommonAlignmentMonitor/plugins/AlignmentMonitorTracksFromTrajectories.cc
seems heavily changed, though I didn't modify much that file. Most of the differences come from code-formatting (which is a prerequisite to pass integration tests).PR validation:
The code compiles.
if this PR is a backport please specify the original PR and why you need to backport that PR:
This PR is not a backport and not backport will be needed.