-
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
Migrate module configurations in RecoLocalCalo to use automatically generated cfi default configurations #33352
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33352/21937
|
A new Pull Request was created by @jeongeun (JeongEun Lee) for master. It involves the following packages: RecoLocalCalo/HcalRecProducers @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02dab4/14074/summary.html Comparison SummarySummary:
|
firstSample = cms.int32(2), | ||
samplesToAdd = cms.int32(1), | ||
tsFromDB = cms.bool(True) | ||
hfQIE10Reco = _mod.hosimplereco.clone( |
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.
Please clone from hfsimplereco
[1] instead: this is hf
, in fact.
Moreover, there will be a lower number of parameters to be modified.
[1] https://cmssdt.cern.ch/lxr/source/cfipython/RecoLocalCalo/HcalRecProducers/hfsimplereco_cfi.py
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33352/21957
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02dab4/14086/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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Optimization of the python configurations: Improve maintainability by cleaning up the duplicated and cloning from the default/reference configurations.
In this PR, 1 file changed. (The previous PRs were PR#33207, PR#33307 )
commit 1 :
Replace explicit configuration with a reference from cfipython/. (migrating EDProducer("type", .. -> typeDefaylt.clone() )
Remove the type specifications already presented in cfipython/fillDescriptions reference for improved syntax safety.
commit 2 :
Remove the duplicated parameters that are exactly the same value in cfipython reference.
PR validation:
Event Content comparison check was also done and there is no change with these updates.
Tested in CMSSW_11_3_X, the basic test all passed in the CMSSW PR instructions.