]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Removed again wrong bugfix for subevent sync (nice try...).
authorhadaq <hadaq>
Wed, 10 Aug 2011 11:55:41 +0000 (11:55 +0000)
committerhadaq <hadaq>
Wed, 10 Aug 2011 11:55:41 +0000 (11:55 +0000)
Disabled bailing out when too many subevents are popped in one queue for a warning message.
Provided default value of 30% to ensure that a reasonable critical event discarding condition is used if not specified in command line.

hadaq/evtbuild.c

index d53079b4b049bb19b127aba4ae1d2ec2d0340087..77fab6bb0dcf0ea5f58b6267321f7aac9ceff337 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.150 2011-08-10 11:45:07 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.151 2011-08-10 11:55:41 hadaq Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #define SYSLOG_NAMES
@@ -294,8 +294,8 @@ int isMismatchCritical(TheArgs *theArgs, TheStats *my)
        int retVal = 0;
 
        if (theArgs->maxTrigMismatch == -1) {
-               theArgs->maxTrigMismatch = 0.3; /* JAM: set reasonable default if not specified */
-               sprintf(msglog, "<I> Critical trigger mismatch ratio takes default of %f", theArgs->maxTrigMismatch);
+               theArgs->maxTrigMismatch = 30;  /* JAM: set reasonable default if not specified */
+               sprintf(msglog, "<I> Critical trigger mismatch ratio takes default of %d % ", theArgs->maxTrigMismatch);
                storeLogInfo(theArgs, msglog);
                /*return retVal; */
        }