-
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
Remove unnecessary edm ParameterSet existAs or exist in RecoMuon/{L2MuonProducer} #36746
Conversation
@jeongeun, CMSSW_12_3_X branch is closed for direct updates. cms-bot is going to move this PR to master branch. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36746/27853
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages:
@Martin-Grunewald, @clacaputo, @cmsbuild, @missirol, @slava77, @jpata can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
In my understanding, the point is that L2MuonProducer.cc#L286 already defines that parameter in a |
+hlt |
+reconstruction
|
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). 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
|
merge |
PR description:
Optimization of the module configurations: Improve maintainability by cleaning up the unnecessary "Function edm::ParameterSet::exists() or edm::ParameterSet::existsAs<>() " in the module configuration in C++ code.
This check is automatically available in the static analyzer*. (Bug: CMS code rules)
*https://cmssdt.cern.ch/SDT/jenkins-artifacts/ib-static-analysis/CMSSW_12_3_X_2022-01-18-2300/slc7_amd64_gcc10/llvm-analysis/
In this PR, 1 file was changed.
RecoMuon/L2MuonProducer/plugins/L2MuonProducer.cc
MuonTrajectoryBuilder is already exist in the default cfipython file**
** cfipython/RecoMuon/L2MuonProducer/L2MuonProducer_cfi.py
L105 MuonTrajectoryBuilder = cms.string('Exhaustive'),
PR validation:
Tested in CMSSW_12_2_X, the basic test all passed in the CMSSW PR instructions.