Commit in hps-java/src/main/java/org/lcsim/hps/evio on MAIN
TestRunEvioToLcio.java+5-61.15 -> 1.16
totally dumb

hps-java/src/main/java/org/lcsim/hps/evio
TestRunEvioToLcio.java 1.15 -> 1.16
diff -u -r1.15 -r1.16
--- TestRunEvioToLcio.java	23 May 2012 18:22:17 -0000	1.15
+++ TestRunEvioToLcio.java	23 May 2012 23:48:35 -0000	1.16
@@ -206,15 +206,14 @@
 						calibListener.endRun(seconds, nevents);
 					} else if (eventBuilder.isPhysicsEvent(evioEvent)) {
 						EventHeader lcioEvent = eventBuilder.makeLCSimEvent(evioEvent);
-						if (runControl.process(lcioEvent)) {
+						if (runControl == null || runControl.process(lcioEvent)) {
 							jobManager.processEvent(lcioEvent);
-						}
-						if (writer != null) {
-							writer.write(lcioEvent);
-							writer.flush();
+							if (writer != null) {
+								writer.write(lcioEvent);
+								writer.flush();
+							}
 						}
 					}
-
 				} catch (Exception e) {
 					// Catch all event processing errors and continue.
 					e.printStackTrace();
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1