Index: trunk/MagicSoft/Mars/macros/mccalibrate.C
===================================================================
--- trunk/MagicSoft/Mars/macros/mccalibrate.C	(revision 6493)
+++ trunk/MagicSoft/Mars/macros/mccalibrate.C	(revision 6496)
@@ -282,5 +282,7 @@
 
   tlist.AddToList(&write1);
-  tlist.AddToList(&write2); 
+
+  if (OutFilename2)
+    tlist.AddToList(&write2); 
   // Add tasks to write the Events and RunHeaders trees to output.
 
