Skip to content

Conversation

@rtriozzi
Copy link

@rtriozzi rtriozzi commented Feb 6, 2026

This PR simply disables the UseTimeRange option in the TPC-PMT barycenter-based matching.

The UseTimeRange option uses a slice's extent along the drift direction to constrain the time range for matching optical flashes, reducing the amount of candidate flashes. This time range is especially tight when the slice crosses the cathode.

While this is straightforward for tracks, it is definitely not for showers, or more generally for slices involving showery particles and deposits crossing the cathode. The code has no way of knowing the nature of the particle crossing the cathode, so the safest bet here is to just disable this option.

I have debugged and discussed this with @cerati and @PetrilloAtWork, and I'm adding them as reviewers. Thanks!

@rtriozzi rtriozzi self-assigned this Feb 6, 2026
@rtriozzi rtriozzi added bug Something isn't working enhancement New feature or request labels Feb 6, 2026
Copy link
Contributor

@cerati cerati left a comment

Choose a reason for hiding this comment

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

looks as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants