-
Notifications
You must be signed in to change notification settings - Fork 29
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
HcalEndcapPInsertImagingProtoClusters: use a larger hit spacing threshold #1595
Conversation
Capybara summary for PR 1595 |
use an appropriate distance between subcell hits.
for more information, see https://pre-commit.ci
use cell side_length from geometry
appease iwyu
Co-authored-by: Dmitry Kalinkin <[email protected]>
runtime_exception --> runtime_error
catch, not except
appease iwyu
Quality Gate passedIssues Measures |
@veprbl, all of the checks now pass, and I have tested to make sure that it runs locally on my laptop. If there is no further change you need from me, please approve this pull requeset. |
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.
Looks great. Don't see any major changes in the capybara report for the HcalEndcapPInsertClusters
, but that's probably fine.
Briefly, what does this PR introduce?
Uses a larger threshold for the distance between the neighboring hits in the insert, due to the new cell size. Also include "side" field (ie, left vs right) in the hit merger algorithm
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
Probably. Including the detector "side" as a field in the hit merger algorithm probably breaks the code if using a version of the epic repository from before pull request eic/epic#771 is merged. Therefore this pull request and eic/epic#771 should be merged at the same time as one another
Does this PR change default behavior?
yes. Changes the parameters of the topo clustering and also uses the "side" field in the hit merger.