some debug lines

This commit is contained in:
Ryan@Home 2024-09-25 17:49:01 -04:00
parent d5f5ee232d
commit 76582e2a51

View File

@ -16,7 +16,7 @@ inline unsigned int getTime_us(){
#include "TMacro.h"
#define MAX_TRACE_LENGTH 2000
#define MAX_MULTI 1000
#define MAX_MULTI 500
#define NMINARG 5
#define debug 0 // for > 1 number of hit to debug
@ -306,6 +306,9 @@ int main(int argc, char **argv) {
multi = events.size() ;
if( events.size() >= MAX_MULTI ) {
printf("\033[31m event %lld has size = %d > MAX_MULTI = %d \033[0m\n", evID, multi, MAX_MULTI);
// for( int k = 0 ; k < multi; k++){
// printf("%d | %d %2d %llu | %llu , %llu , %llu\n", k, events[k].BoardID, events[k].Channel, events[k].TimeStamp, (long int)( events[k].TimeStamp - t0), t0, timeWindow);
// }
multi = MAX_MULTI;
}
if( debug ) printf("=================================== filling data | %u \n", multi);