UI improvment for eventbuilder

This commit is contained in:
splitPoleDAQ 2024-01-11 18:05:18 -05:00
parent 0686ad67e6
commit c9675bc77d
2 changed files with 7 additions and 5 deletions

View File

@ -68,7 +68,7 @@ int main(int argc, char **argv) {
printf(" Number of Files : %d \n", nFile);
for( int i = 0; i < nFile; i++) printf("%2d | %s \n", i, inFileName[i].Data());
printf("=====================================\n");
printf(" Time Window = %u \n", timeWindow);
printf(" Time Window = %u ns = %.1f us\n", timeWindow, timeWindow/1000.);
printf(" Buffer size = %.0f event/channel\n", MaxNData * bufferSize);
printf("===================================== input files:\n");
printf("Scanning files.....\n");

View File

@ -286,10 +286,12 @@ void MultiBuilder::BuildEvents(bool isFinal, bool skipTrace, bool verbose){
// //if there is a time jump, say, bigger than TimeJump. break
if( earlistTime - lastEventTime > timeJump ) {
if( verbose ){
printf("%6lu, %16llu\n", eventIndex, earlistTime);
printf("%5s - %16llu \n", "", lastEventTime);
printf("%5s > %16llu \n", "", timeJump);
printf("!!!!!!!! Time Jump detected stop event building. stop event buinding and get more data.\n");
}
return;
}