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

feat: produce *RawHitAssociations in CalorimeterHitDigi #1601

Merged
merged 11 commits into from
Aug 28, 2024

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

This PR modifies CalorimeterHitDigi to produce raw hit associations (i.e. assocations from raw hits back to sim hits, and then from there MCParticles). The weighting is done based on total energy, and only non-trivial when merging hits.

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue: raw calorimeter hit associations)
  • Documentation update
  • Other: __

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?

No.

@github-actions github-actions bot added topic: calorimetry relates to calorimetry topic: far-forward Far forward reconstruction topic: far-backward Reconstruction related to far backward detectors topic: barrel topic: forward topic: backward topic: digitization labels Aug 24, 2024
@wdconinc wdconinc requested review from a team and veprbl and removed request for a team August 24, 2024 05:45
@wdconinc wdconinc force-pushed the calorimeter-hit-digi-associations branch from 3fb5b8b to 8c0cd6c Compare August 24, 2024 15:12
@wdconinc
Copy link
Contributor Author

Diffs look sensible, asides from digitization randomization.

EcalBarrelImagingRawHitAssociations (non-merged hits, each raw hit has single sim hit with weight 1)
image

EcalBarrelScFiRawHitAssociations (merged hits, each raw hit composed of many sim hits with weight << 1)
image

@wdconinc wdconinc added this to the 24.09.0 milestone Aug 25, 2024
@wdconinc wdconinc force-pushed the calorimeter-hit-digi-associations branch from c0efaed to c19fc5d Compare August 27, 2024 19:14
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@wdconinc wdconinc requested a review from veprbl August 27, 2024 21:42
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.

@wdconinc wdconinc added this pull request to the merge queue Aug 28, 2024
Merged via the queue into main with commit 7f8feba Aug 28, 2024
85 of 87 checks passed
@wdconinc wdconinc deleted the calorimeter-hit-digi-associations branch August 28, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: backward topic: barrel topic: calorimetry relates to calorimetry topic: digitization topic: far-backward Reconstruction related to far backward detectors topic: far-forward Far forward reconstruction topic: forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants