Skip to content

Negative times#40

Merged
lobis merged 4 commits intomasterfrom
lobis-time-start
Sep 8, 2023
Merged

Negative times#40
lobis merged 4 commits intomasterfrom
lobis-time-start

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 DavidDiezIb and jgalan 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