Commit in lcsim/src/org/lcsim/util/lcio on MAIN
LCIOWriter.java+21.12 -> 1.13
JM: fix bug where LCIOWriter was not writing RunHeader after first input file

lcsim/src/org/lcsim/util/lcio
LCIOWriter.java 1.12 -> 1.13
diff -u -r1.12 -r1.13
--- LCIOWriter.java	2 Sep 2008 21:38:15 -0000	1.12
+++ LCIOWriter.java	3 Sep 2008 23:52:42 -0000	1.13
@@ -142,6 +142,8 @@
       {
          writer = new SIOWriter(new FileOutputStream(file));
       }
+      // Reset lastRunNumber to force creation of a new RunHeader.  --JM
+      lastRunNumber = -1;
    }
    private void writeData(EventHeader event, boolean headerOnly) throws IOException
    {
CVSspam 0.2.8