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

lowered the amount of distance neighbor hits in topoclustering in the ZDC #1532

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

sebouh137
Copy link
Contributor

Briefly, what does this PR introduce?

Redefines neighboring subcell hits in the ZDC (in the context of topo clustering) to be the nearest neighbors only for hits in the same layer, and the same position for hits in adjacent layers. This change reduces the cases where showers from different particles are merged into a single cluster

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: parameter tweak

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?

no.

Does this PR change default behavior?

yes. Changes the default behavior of the topo clustering in the ZDC

@github-actions github-actions bot added topic: calorimetry relates to calorimetry topic: far-forward Far forward reconstruction labels Jul 22, 2024
@sebouh137 sebouh137 marked this pull request as ready for review August 2, 2024 18:24
@sebouh137 sebouh137 requested a review from ruse-traveler August 2, 2024 18:41
Copy link
Contributor

@ruse-traveler ruse-traveler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me! I have an extremely minor nitpick, but otherwise seems good.

Just so I could educate myself: are there some studies that shows the impact of this tweak? I was having a hard time getting a feel for how this changes things just from the capybara...

src/detectors/ZDC/ZDC.cc Outdated Show resolved Hide resolved
Co-authored-by: Derek M Anderson <[email protected]>
@veprbl
Copy link
Member

veprbl commented Aug 5, 2024

@sebouh137 Is this ready? Can you address the review question?

Copy link

sonarqubecloud bot commented Aug 5, 2024

@sebouh137
Copy link
Contributor Author

@sebouh137 Is this ready? Can you address the review question?

Hi @veprbl I determined that this change was necessary in the context of the Lambda benchmark in the ZDC,
eic/physics_benchmarks#19 , since I was seeing a lot of events where clusters were being merged together when they shouldn't be merging (causing a lot of events to have only one cluster, when they should have two or ideally three if the two photons's and the neutron's showers can be distinguished from one another). I can make some plots with and without this change to the EICrecon

@veprbl
Copy link
Member

veprbl commented Aug 7, 2024

Feel free to post figures as they become available.

@veprbl veprbl added this pull request to the merge queue Aug 7, 2024
Merged via the queue into main with commit 78b5481 Aug 7, 2024
87 checks passed
@veprbl veprbl deleted the tweak_topo branch August 7, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: calorimetry relates to calorimetry topic: far-forward Far forward reconstruction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants