From ff5d6c6ad71e7fb220fc09d59e9a8da02e32b08f Mon Sep 17 00:00:00 2001 From: "Ryan@WorkStation" Date: Thu, 10 Feb 2022 16:52:00 -0500 Subject: [PATCH] change the condition for time window from < to <= --- armory/pxi-fsu-time-order.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armory/pxi-fsu-time-order.cpp b/armory/pxi-fsu-time-order.cpp index 6d9a22a..27728bd 100644 --- a/armory/pxi-fsu-time-order.cpp +++ b/armory/pxi-fsu-time-order.cpp @@ -430,7 +430,7 @@ int main(int argc, char **argv) { }else{ - if( subevents[min_id][iptr[min_id]].timestamp - fillevents[0].timestamp < eventWindow ) { + if( subevents[min_id][iptr[min_id]].timestamp - fillevents[0].timestamp <= eventWindow ) { saveBuffer(nFill, min_id); if( fillevents[nFill].detID < 100 ) FillFlag = true;