Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8670)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8671)
@@ -39,4 +39,13 @@
    * mjobs/MJCut.cc:
      - show distribution of observation time for on and off data
+
+   * mjoptim/MJOptimizeCuts.cc, mjoptim/MJOptimizeDisp.cc,
+     mjoptim/MJOptimizeEnergy.cc:
+     - added display to output 
+
+   * macros/optim/optimenergy.C, macros/optim/optimonoff.C,
+     macros/optim/optimwobble.C:
+     - added example how to write output file
+
 
 
Index: /trunk/MagicSoft/Mars/NEWS
===================================================================
--- /trunk/MagicSoft/Mars/NEWS	(revision 8670)
+++ /trunk/MagicSoft/Mars/NEWS	(revision 8671)
@@ -132,11 +132,4 @@
       + PostCleanType: 3
 
-   - star/ganymed: The old spark-cuts have been replaced by new ones.
-     These new spark cuts have been cross checked with the sequences
-     84720 (before splitter), 101041 (after splitter) and 223539 (new
-     FADCs). In all cases they seperate pretty well, but of course not
-     perfect. Monte Carlos have suggested to tighten the cuts a little
-     bit further at low sizes. This has been done.
-
    - ganymed: The old hadronness and size cuts have gotten new indices
      (10, 11). The old indices 8 and 9 now mean an additional condition
@@ -170,6 +163,6 @@
      (Rem: ThetaSqN is no longer needed)
 
-   - ganymed: is now storing the events of all source (on- and off-
-     source positions) even in the case of more than one off-source
+   - ganymed: is now storing the events of all (on- and off-)
+     source positions even in the case of more than one off-source
      position. This should allow sponde to work properly and the
      energy estimation is done correctly in all cases (without any
@@ -195,8 +188,16 @@
      paremtrization set parameter 8 to 0.
 
-   - ganymed: IMPORTANT - The spark cuts have been removed from the
-     resource files because there is currently no proper known
-     cut. Whenever you do an analysis you have to find proper cuts
-     yourself!
+   - star/ganymed: The old spark-cuts have been replaced by new ones.
+     These new spark cuts have been cross checked with the sequences
+     84720 (before splitter), 101041 (after splitter) and 223539 (new
+     FADCs). In all cases they seperate pretty well, but of course not
+     perfect. Monte Carlos have suggested to tighten the cuts a little
+     bit further at low sizes. This has been done.
+
+   - ganymed: IMPORTANT - The spark cuts have been changed to match
+     all available data more or less well. This might mean that for 
+     YOUR data there are still sparks visible. 
+     Whenever you do an analysis you have to make sure that NO sparks
+     survive your cuts!
 
    - ganymed: The distribution of observation time versus zenith
Index: /trunk/MagicSoft/Mars/macros/optim/optimenergy.C
===================================================================
--- /trunk/MagicSoft/Mars/macros/optim/optimenergy.C	(revision 8670)
+++ /trunk/MagicSoft/Mars/macros/optim/optimenergy.C	(revision 8671)
@@ -46,4 +46,5 @@
     */
 
+    // opt.SetPathOut("optimenergy.root");
     opt.RunEnergy("ganymedmcpart.root", r);
 }
Index: /trunk/MagicSoft/Mars/macros/optim/optimonoff.C
===================================================================
--- /trunk/MagicSoft/Mars/macros/optim/optimonoff.C	(revision 8670)
+++ /trunk/MagicSoft/Mars/macros/optim/optimonoff.C	(revision 8671)
@@ -41,4 +41,5 @@
     opt.SetDisplay(d);
 
+    // opt.SetPathOut("optimonoff.root");
     opt.RunOnOff("ganymed00000001-summary.root", &cuts, &fit);
 }
Index: /trunk/MagicSoft/Mars/macros/optim/optimwobble.C
===================================================================
--- /trunk/MagicSoft/Mars/macros/optim/optimwobble.C	(revision 8670)
+++ /trunk/MagicSoft/Mars/macros/optim/optimwobble.C	(revision 8671)
@@ -47,4 +47,5 @@
     opt.SetDisplay(d);
 
+    // opt.SetPathOut("optimwobble.root");
     opt.RunOnOff("wobblelza-abs.root", &cuts, &fit);
 }
Index: /trunk/MagicSoft/Mars/mjoptim/MJOptimizeCuts.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjoptim/MJOptimizeCuts.cc	(revision 8670)
+++ /trunk/MagicSoft/Mars/mjoptim/MJOptimizeCuts.cc	(revision 8671)
@@ -331,4 +331,6 @@
     TObjArray cont;
     cont.Add(&contin);
+    if (fDisplay)
+        cont.Add(fDisplay);
     return WriteContainer(cont, fNameOut);
 }
Index: /trunk/MagicSoft/Mars/mjoptim/MJOptimizeDisp.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjoptim/MJOptimizeDisp.cc	(revision 8670)
+++ /trunk/MagicSoft/Mars/mjoptim/MJOptimizeDisp.cc	(revision 8671)
@@ -216,4 +216,6 @@
     // Store result if requested
     TObjArray cont;
+    if (fDisplay)
+        cont.Add(fDisplay);
     cont.Add(&calc1);
     return WriteContainer(cont, fNameOut);
Index: /trunk/MagicSoft/Mars/mjoptim/MJOptimizeEnergy.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjoptim/MJOptimizeEnergy.cc	(revision 8670)
+++ /trunk/MagicSoft/Mars/mjoptim/MJOptimizeEnergy.cc	(revision 8671)
@@ -156,4 +156,6 @@
     TObjArray cont;
     cont.Add(&est);
+    if (fDisplay)
+        cont.Add(fDisplay);
     return WriteContainer(cont, fNameOut);
 }
