-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Cleanup redundant edm ParameterSet exist in PhysicsTools #38284
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38284/30435
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38284/30436
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test runtestPhysicsToolsPatAlgos had ERRORS Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38284/30441
|
Pull request #38284 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again. |
@cmsbuild please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
@cmsbuild please test let's run again to make sure the input tests are OK. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d88a0/25427/summary.html Comparison SummarySummary:
|
+reconstruction
|
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 (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
(Technical PR) Optimization of the module configurations: Improve maintainability by cleaning up redundant cases of edm::ParameterSet calls to
existAs
orexist
for tracked parameters, where redundancy is based on the value being already defined byfillDescriptions
.As follow the previous PR36746, PR36989, PR37313, PR37314, PR37548, PR37772, PR37899, and PR38218.
In this PR, 5 files were changed.
PhysicsTools/PatAlgos/plugins/JetCorrFactorsProducer.cc
Here, the
extraJPTOffset
,primaryVertices
,rho
parameters were provided in a fillDescription. cfipython : cfipython/PhysicsTools/PatAlgos/JetCorrFactorsProducer_cfi.pyPhysicsTools/PatAlgos/plugins/PATElectronProducer.cc
PhysicsTools/PatAlgos/plugins/PATPhotonProducer.cc
PhysicsTools/PatAlgos/plugins/PATMuonProducer.cc
PhysicsTools/PatAlgos/plugins/PATTauProducer.cc
Here, the
userIsolation
,genParticleMatch
parameters were provided in a fillDescription. cfipython : cfipython/PhysicsTools/PatAlgos/PATElectronProducer_cfi.py,cfipython/PhysicsTools/PatAlgos/PATPhotonProducer_cfi.py
PR validation:
Tested in CMSSW_12_5_X, the basic test all passed in the CMSSW PR instructions