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

Better ECal Sim Hit Merging #1317

Open
tomeichlersmith opened this issue Oct 23, 2020 · 1 comment
Open

Better ECal Sim Hit Merging #1317

tomeichlersmith opened this issue Oct 23, 2020 · 1 comment
Assignees
Labels
bug enhancement simcore SimCore and Geant4 simulation module

Comments

@tomeichlersmith
Copy link
Member

tomeichlersmith commented Oct 23, 2020

Our current "solution" for merging ECal sim hits is complicated and unhelpful. We try to store separate contributors for the sim hit, but these separate contribs also need to be merged in order to save space. This merging machinery is completely based on PDG ID right now, which is unhelpful because it doesn't take time into account whatsoever.

We can re-work how EcalHitIO works after v3.0.0 so that we have access to the sim cal hit event object (which will probably be lightened by this).

Overall Plan:

  • Add a Python configuration class for passing parameters to EcalHitIO
  • Lighten SimCalHits by removing contribs machinery (all SimCalHits are post any merging)
  • Implement configurable decisions on how to merge sim cal hits in the ecal
    • Merge based on time (e.g. which "bunch" are we in)
    • Merge based on track ID (multiple hits in the same cell from the same particle are merged into one hit)
    • Merge based off of particle flavor (multiple electron hits in the same cell are merged into one hit)
  • Set position information to zero for all ECal hits because the ID already stores fine-grained enough geometry information and ROOT will compress these branches.
  • Will need to edit Ecal digitizer to match these changes (and work with all options)
  • Update OverlayProducer in EventProc to clean it up

Calling in comments from @jmmans and @omar-moreno to add anything that I forgot.

@jmmans
Copy link
Contributor

jmmans commented Oct 23, 2020 via email

@tomeichlersmith tomeichlersmith self-assigned this Oct 27, 2020
@tomeichlersmith tomeichlersmith transferred this issue from LDMX-Software/SimCore May 6, 2024
@tomeichlersmith tomeichlersmith added the simcore SimCore and Geant4 simulation module label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement simcore SimCore and Geant4 simulation module
Projects
None yet
Development

No branches or pull requests

2 participants