Skip to content
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

Merged
merged 21 commits into from
Aug 27, 2024

Conversation

sebouh137
Copy link
Contributor

@sebouh137 sebouh137 commented Aug 22, 2024

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?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: change of parameters

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

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.

sebouh137 and others added 2 commits August 25, 2024 00:07
use an appropriate distance between subcell hits.
@sebouh137 sebouh137 changed the title use a larger cluster size for the topo clustering use a larger hit spacing threshold for the topo clustering Aug 25, 2024
@sebouh137 sebouh137 marked this pull request as ready for review August 25, 2024 04:17
@sebouh137 sebouh137 mentioned this pull request Aug 25, 2024
7 tasks
appease iwyu
appease iwyu
@sebouh137 sebouh137 requested a review from veprbl August 26, 2024 22:44
Copy link

sonarcloud bot commented Aug 26, 2024

@sebouh137
Copy link
Contributor Author

@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.

@veprbl veprbl changed the title use a larger hit spacing threshold for the topo clustering HcalEndcapPInsertImagingProtoClusters: use a larger hit spacing threshold Aug 27, 2024
Copy link
Member

@veprbl veprbl left a 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.

@sebouh137 sebouh137 added this pull request to the merge queue Aug 27, 2024
Merged via the queue into main with commit d2aa992 Aug 27, 2024
86 of 87 checks passed
@sebouh137 sebouh137 deleted the insert_topo_params branch August 27, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants