-
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
ECAL - Remove unused parameters from the multifit algorithm #36935
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36935/28270
|
A new Pull Request was created by @thomreis (Thomas Reis) 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 |
@thomreis you cannot change directly the configuration in HLTrigger/Configuration, because they are taken from ConfDb. |
I had a feeling that this was too easy. Is there anything special that I need to do if the module in question is a SwitchProducerCUDA and I need the parameters changed for the cpu option? # HLT customisation for https://github.com/cms-sw/cmssw/pull/36935
def customiseFor36935(process):
""" Customisation to remove parameters from the ParametersetDescription of the
EcalUncalibRecHitWorkerMultiFit in PR 36935 (https://github.com/cms-sw/cmssw/pull/36935)
"""
for prod in producers_by_type(process, 'EcalUncalibRecHitProducer'):
if hasattr(prod, 'EcalUncalibRecHitWorkerMultiFit'):
for par in ['ebSpikeThreshold',
'ebPulseShape',
'eePulseShape',
'chi2ThreshEB_',
'chi2ThreshEE_',
'kPoorRecoFlagEB',
'kPoorRecoFlagEE',
'EcalPulseShapeParameters']:
if hasattr(prod.algoPSet, par):
delattr(prod.algoPSet, par)
return process |
@thomreis , looking at the current HLT configs, I would edit your function as follows. - if hasattr(prod, 'EcalUncalibRecHitWorkerMultiFit'):
+ if hasattr(prod, 'algoPSet'): (or maybe you mean something like You can test the customisation function by doing edmConfigDump HLTrigger/Configuration/test/OnLine_HLT_FULL.py > tmp.py with and without using the customisation. The diff should be the intended change. |
@missirol you are right I believe it should be |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36935/28276 ERROR: Unable to merge PR. See log https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36935/28276/cms-checkout-topic.log |
c4fc33d
to
aae12fa
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36935/28306
|
Pull request #36935 was updated. @Martin-Grunewald, @clacaputo, @cmsbuild, @missirol, @slava77, @jpata can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a6dacf/22399/summary.html Comparison SummarySummary:
|
+1 |
+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:
The ECAL uncalibrated rechit multifit algorithm ParameterDescription contained a lot of parameters that are not used anymore for a long time. Those parameters are either loaded from the DB nowadays or they are not needed anymore. This PR removes the unused parameters and cleans up the config files that defined them.
No output changes are expected from these modifications.
PR validation:
Passes the limited matrix tests.