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);
|
printf(" Number of Files : %d \n", nFile);
|
||||||
for( int i = 0; i < nFile; i++) printf("%2d | %s \n", i, inFileName[i].Data());
|
for( int i = 0; i < nFile; i++) printf("%2d | %s \n", i, inFileName[i].Data());
|
||||||
printf("=====================================\n");
|
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(" Buffer size = %.0f event/channel\n", MaxNData * bufferSize);
|
||||||
printf("===================================== input files:\n");
|
printf("===================================== input files:\n");
|
||||||
printf("Scanning 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 there is a time jump, say, bigger than TimeJump. break
|
||||||
if( earlistTime - lastEventTime > timeJump ) {
|
if( earlistTime - lastEventTime > timeJump ) {
|
||||||
printf("%6lu, %16llu\n", eventIndex, earlistTime);
|
if( verbose ){
|
||||||
printf("%5s - %16llu \n", "", lastEventTime);
|
printf("%6lu, %16llu\n", eventIndex, earlistTime);
|
||||||
printf("%5s > %16llu \n", "", timeJump);
|
printf("%5s - %16llu \n", "", lastEventTime);
|
||||||
printf("!!!!!!!! Time Jump detected stop event building. stop event buinding and get more data.\n");
|
printf("%5s > %16llu \n", "", timeJump);
|
||||||
|
printf("!!!!!!!! Time Jump detected stop event building. stop event buinding and get more data.\n");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user