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

Fix crash when decorating clusters and noise is on #121

Conversation

giovannimarchiori
Copy link
Contributor

When calculating RMS width of showers in layers of ECAL when noise is on the RMS can be negative due to negative-energy cells. In that case the code was crashing. This PR will set the width to zero for those cases

@giovannimarchiori giovannimarchiori marked this pull request as draft October 24, 2024 12:43
@giovannimarchiori giovannimarchiori deleted the gmarchio-main-20241024-fixphotonidinputsfornoise branch November 13, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant