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

Negative times #40

Merged
merged 4 commits into from
Sep 8, 2023
Merged

Negative times #40

merged 4 commits into from
Sep 8, 2023

Conversation

lobis
Copy link
Member

@lobis lobis commented Sep 1, 2023

lobis Ok: 7 Powered by Pull Request Badge

I noticed that when using the TRestDetectorSignalToRawSignalProcess wit the option firstDeposit with simulation data produced using restG4 which contains some hit with a large time (such as 1E8) something glitches and the signal minimum time is returned as negative.

I added a check here that exits if this error is present so it never happens in the future, but I could not find the exact cause of the problem. Perhaps @jgalan has some idea what is going on.

@lobis lobis added the bug Something isn't working label Sep 1, 2023
@lobis lobis requested review from jgalan and DavidDiezIb September 1, 2023 18:12
@lobis lobis marked this pull request as ready for review September 7, 2023 21:32
@lobis lobis enabled auto-merge September 7, 2023 21:32
@lobis lobis merged commit eea8608 into master Sep 8, 2023
@lobis lobis deleted the lobis-time-start branch September 8, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants