-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix HLTEcalPhiSymFilter and add spike cleaning option #49852
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 |
|
type ecal |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49852/47526
|
|
please test |
|
A new Pull Request was created by @thomreis for master. It involves the following packages:
@Martin-Grunewald, @mmusich can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@thomreis the PR description is incomplete. Please check, fix. |
| true >> (edm::ParameterDescription<edm::InputTag>( | ||
| "barrelHitCollection", edm::InputTag("ecalRecHit", "EcalRecHitsEB"), true) and | ||
| edm::ParameterDescription<edm::InputTag>( | ||
| "endcapHitCollection", edm::InputTag("ecalRecHit", "EcalRecHitsEE"), true))); |
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.
not sure confDB plays nice with this. @Martin-Grunewald FYI
| psd0.add<double>("e4e1_b_endcap", -0.0125); | ||
| psd0.add<double>("e4e1_a_endcap", 0.02); | ||
| psd0.add<double>("cThreshold_double", 10); | ||
| desc.ifValue(edm::ParameterDescription<bool>("cleanReco", false, true), |
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.
as above.
| desc.add<edm::InputTag>("endcapHitCollection", edm::InputTag("ecalRecHit", "EcalRecHitsEE")); | ||
| desc.add<unsigned int>("statusThreshold", 3); | ||
| desc.add<bool>("useRecoFlag", false); | ||
| desc.ifValue(edm::ParameterDescription<bool>("useRecoFlag", false, true), |
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.
This does not work with ConfDB!
| psd0.add<double>("e4e1_b_endcap", -0.0125); | ||
| psd0.add<double>("e4e1_a_endcap", 0.02); | ||
| psd0.add<double>("cThreshold_double", 10); | ||
| desc.ifValue(edm::ParameterDescription<bool>("cleanReco", false, true), |
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.
This does not work with ConfDB.
|
Sorry, what do you want to achieve here? For ConfDb, there is a unique set of top-level module parameters enforced. You can not have variants! |
|
-1 Failed Tests: UnitTests RelVals RelVals-INPUT AddOn Failed Unit TestsI found 3 errors in the following unit tests: ---> test test_HIonFullOutput had ERRORS ---> test test_SpecialFullOutput had ERRORS ---> test test_GRunFullOutput had ERRORS Failed RelValsExpand to see more relval errors ...Failed RelVals-INPUT
Expand to see more relval errors ...Failed AddOn Tests |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49852/47550 ERROR: Unable to merge PR. See log https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49852/47550/cms-checkout-topic.log |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49852/47552 |
|
Pull request #49852 was updated. @Martin-Grunewald, @cmsbuild, @mmusich can you please check and sign again. |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
|
+hlt |
|
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. @ftenchini, @mandrenguyen, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
| setattr(prod, 'cleanReco', cms.bool(False)) | ||
| if not hasattr(prod, 'cleaningConfig'): | ||
| from RecoLocalCalo.EcalRecAlgos.ecalCleaningAlgo import cleaningAlgoConfig | ||
| setattr(prod, 'cleaningConfig', cleaningAlgoConfig) |
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 cleaningConfig imported here is arsing from a ~12 year old file: https://github.com/cms-sw/cmssw/blob/master/RecoLocalCalo/EcalRecAlgos/python/ecalCleaningAlgo.py while what you code in the fillDescriptions method down below seems way more up-to-date (and as used elsewhere). So I assume we should use the latter.
Also, since fillDescriptions provides both cleanReco as well as cleaningConfig, there should not be the need for any of the customisation above, correct? Of course, the PRs are already merged, but just to clarify on the settings!
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.
If the missing parameters in existing menus are filled in from the default values in the fillDescriptions then this customization not needed indeed.
The cleaning parameters from fillDescriptions are the up to date ones and the ones from cleaningAlgoConfig were just meant as placeholders under the assumption that cleanReco would be False whenever cleaningConfig was not present.
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.
Thanks for the clarification!
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.
indeed
diff --git a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py
index ac5d2bcd684..b110405746b 100644
--- a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py
+++ b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py
@@ -228,6 +228,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
# process = customizeHLTfor49436(process)
process = customizeHLTfor49799(process)
- process = customizeHLTfor49852(process)
+ #process = customizeHLTfor49852(process)
return processpasses addOnTests.py just fine.
Of course, the PRs are already merged, but just to clarify on the settings!
shall we remove it now?
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.
Can be removed yes.
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.
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.
And the backport #49924
…zation Remove HLT customization for #49852
PR description:
This PR fixes an issue where status flags of non-existing rechits are accessed. This resulted in the number of digis stored in the output collection being non-deterministic.
In addition an option to run the spike cleaning algorithm with potentially different (tighter) settings than in the EcalRecHitProducer was added.
Refactoring of the code improved the execution time by removing calculations for uncalibrated rechits below the amplitude threshold.
PR validation:
With the fix the output digis collection contains the same number of elements every time the code runs.
Adding tighter spike killer thresholds results in fewer digis being stored as expected.
Passed most matrix tests (some failed at the DBS step).