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

Add option to ignore z in TRestDetectorHitsReadoutAnalysisProcess #118

Merged
merged 1 commit into from
May 17, 2024

Conversation

lobis
Copy link
Member

@lobis lobis commented May 17, 2024

lobis Ok: 15 Powered by Pull Request Badge

@mariajmz and @JPorron found an error when using this process with experimental data. This is because experimental data has only relative z so it cannot be used to check if a hit is inside readout or not.

This PR introduces a new parameter ignoreZ which when set to true will ignore z when retrieving channel from position. It is disabled by default so the behaviour remains unchanged unless this option is set.

@lobis lobis requested review from JPorron and mariajmz May 17, 2024 09:30
@lobis lobis marked this pull request as ready for review May 17, 2024 09:33
@lobis lobis enabled auto-merge May 17, 2024 09:58
@lobis lobis merged commit e47e9a5 into master May 17, 2024
63 checks passed
@lobis lobis deleted the readout-analysis-z branch May 17, 2024 09:59
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