-
Notifications
You must be signed in to change notification settings - Fork 4.6k
add fillDescriptions to several ESproducers used at HLT (1/N)
#47136
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
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47136/43364
|
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@Moanwar, @atpathak, @cmsbuild, @consuegs, @jfernan2, @mandrenguyen, @perrotta, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
please test |
|
+1 Size: This PR adds an extra 40KB to repository Comparison SummarySummary:
|
| SiStripRegionConnectivity::~SiStripRegionConnectivity() {} | ||
| void SiStripRegionConnectivity::fillDescriptions(edm::ConfigurationDescriptions& descriptions) { | ||
| edm::ParameterSetDescription desc; | ||
| desc.addUntracked<unsigned int>("EtaDivisions", 10); |
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.
The configs for SiStripRegionConnectivity are either set or linked in several other parts in CMSSW, see https://github.com/search?q=repo%3Acms-sw%2Fcmssw%20SiStripRegionConnectivity&type=code , and everywhere the parameters are set as in your CalibTracker/SiStripESProducers/python/SiStripRegionConnectivity_cfi.py : why are you defining as default parameters in the fillDescriptions method some different ones?
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.
Because these are the default values, as natively provided in the class:
cmssw/CalibTracker/SiStripESProducers/plugins/geom/SiStripRegionConnectivity.cc
Lines 37 to 39 in b72455a
| : etadivisions_(pset.getUntrackedParameter<unsigned int>("EtaDivisions", 10)), | |
| phidivisions_(pset.getUntrackedParameter<unsigned int>("PhiDivisions", 10)), | |
| etamax_(pset.getUntrackedParameter<double>("EtaMax", 2.4)) |
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.
Good point...
|
+alca |
|
+1 |
|
+Upgrade |
|
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. @sextonkennedy, @rappoccio, @mandrenguyen, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
fillDescriptions to several ESproducers used at HLT fillDescriptions to several ESproducers used at HLT (1/N)
PR description:
This PR is similar in spirit to #47017, #47045, #47079 and #47107. It adds
fillDescriptions(and applies light modification to modernize the source code) to a fewESProducers used at HLT for both Run 3 and Phase 2.PR validation:
addOnTests.pyruns fine.hltPhase2UpgradeIntegrationTestsruns fine.If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
N/A