Commit 57bf6483 authored by Dominik Smith's avatar Dominik Smith Committed by Volker Friese
Browse files

TimeClusterTrigger: Fixed treatment of edge case where new digi has exactly...

TimeClusterTrigger: Fixed treatment of edge case where new digi has exactly the seperation 'deadTime' from last trigger.
parent 559efb87
......@@ -36,7 +36,7 @@ namespace cbm::algo
// Start new window after dead time
winStart = current + 1;
while (winStart != dataVec.end() && *winStart - *current < deadTime)
while (winStart != dataVec.end() && *winStart - *current <= deadTime)
winStart++;
current = winStart;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment