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

Sorting Issue: pulse_id and Time Become Misaligned After Sorting #295

Open
zhut19 opened this issue Feb 26, 2025 · 0 comments
Open

Sorting Issue: pulse_id and Time Become Misaligned After Sorting #295

zhut19 opened this issue Feb 26, 2025 · 0 comments

Comments

@zhut19
Copy link

zhut19 commented Feb 26, 2025

I tried to simulate a scenario where digitizers are triggered externally by forcing pulse windows across channels to start simultaneously. However, I encountered misalignments in the digitization process. Specifically:

In this section, propagated_photons are no longer ordered in time afterward, as the default quick sort won't preserve the original order when the compare is the same.
In this section, that pulse_groups is not sorted by pulse_id, leading to a mismatch between elements in pulse_groups and photons.

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

No branches or pull requests

1 participant