Skip to content

Comments

Correct LUT op channel mapping#223

Merged
diaza merged 1 commit intodevelopfrom
fix_ndlar_op_channel
Nov 15, 2025
Merged

Correct LUT op channel mapping#223
diaza merged 1 commit intodevelopfrom
fix_ndlar_op_channel

Conversation

@diaza
Copy link
Member

@diaza diaza commented Nov 14, 2025

This PR reorders the optical channel mapping, necessary to do after this PR in larnd-sim.
Previously, larnd-sim was reflecting the y-axis of the LUT, flipping the order of the light detectors and therefore placing the LCMs and Arclights in the incorrect positions. The PR mentioned above removes this reflection, and this PR reorders the optical channel mapping to the correct positions.

Currently trying to validate, but NDLar event displays are very slow to make...

@diaza
Copy link
Member Author

diaza commented Nov 14, 2025

Unknown

This event display shows a very rough validation of the correction. Note the order of the high-efficiency light traps. The previous implementation incorrectly had the order of the light traps backwards, so that the detector started at the top with the high-efficiency LCMs. Now, we can see that the light detectors follow the true order, with the top light traps being Arclights.

Copy link
Member

@alexbooth92 alexbooth92 left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you Alex!

@diaza diaza marked this pull request as ready for review November 15, 2025 00:51
@diaza
Copy link
Member Author

diaza commented Nov 15, 2025

I've noticed an issue. Even before this PR, it looks like single blobs of charge are depositing light on the wrong side of then detector (see image below). I'll merge regardless since this PR fixes an unrelated issue, but this issue should be looked at (maybe it's a plotting bug?).

Unknown_1

@diaza diaza merged commit d7ba4fe into develop Nov 15, 2025
2 checks passed
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.

2 participants