slic/src
diff -u -r1.65 -r1.66
--- LcioManager.cc 3 Oct 2005 22:25:54 -0000 1.65
+++ LcioManager.cc 6 Oct 2005 08:58:13 -0000 1.66
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.65 2005/10/03 22:25:54 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/LcioManager.cc,v 1.66 2005/10/06 08:58:13 jeremy Exp $
#include "LcioManager.hh"
// slic
@@ -227,8 +227,14 @@
// create new LCRunHeader
createRunHeader( aRun );
- /* Make autoname from stored fields. This way get correct run and event numbers. */
- makeAutoname();
+ /*
+ * Make autoname from stored fields.
+ * Needs to be delayed until this point
+ * so that run and event IDs are correct.
+ */
+ if ( m_usingAutoname ) {
+ makeAutoname();
+ }
// open the Lcio output file for writing
openLcioFile();