UI improvment for eventbuilder
This commit is contained in:
parent
0686ad67e6
commit
c9675bc77d
|
@ -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");
|
||||
|
|
|
@ -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 ) {
|
||||
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");
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user