Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8901)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8902)
@@ -19,4 +19,20 @@
                                                  -*-*- END OF LINE -*-*-
 
+
+ 2008/05/31 Thomas Bretz
+
+   * callisto.cc, star.cc:
+     - added new option "--null" to suppress run-wise output files
+
+   * mjobs/MJob.h:
+     - added new data-member fNullOut to flag suppression of
+       run-wise output files
+
+   * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc:
+     - use new option IsNullOut from base class
+
+
+
+
  2008/05/27 Stefan Ruegamer
 
@@ -58,4 +74,16 @@
        we now deny any bit in the pattern, but require the calibration
        bit to choose calibration events
+
+   * mbase/MClone.[h,cc]:
+     - instead of cloning the object again and again we now clone
+       it once and then just copy the contents. A new option has
+       been introduced to switch back to the old behaviour
+
+   * mbase/MStatusDisplay.[h,cc]:
+     - changed the argument of GetEmbeddedCanvas from a pointer 
+       to a reference
+
+   * macros/rootlogon.C:
+     - switched on optimization (-O3) for ACLIC
 
 
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 8901)
+++ trunk/MagicSoft/Mars/NEWS	(revision 8902)
@@ -84,7 +84,13 @@
       If the trigger pattern is corrupted events won't pass anymore.
 
+    * Added a new command line option --null to suppress output of
+      Y-files (this is useful for test cases)
+
  ;star
 
     * the star file now contains also the sequence information
+
+    * Added a new command line option --null to suppress output of
+      I-files (this is useful for test cases)
 
  ;ganymed/sponde
Index: trunk/MagicSoft/Mars/callisto.cc
===================================================================
--- trunk/MagicSoft/Mars/callisto.cc	(revision 8901)
+++ trunk/MagicSoft/Mars/callisto.cc	(revision 8902)
@@ -78,4 +78,5 @@
     gLog << "   --path=path               Path to write the all results to [def=local path]" << endl;
     gLog << "                             (overwrites --iny, --outc and --outy)" << endl;
+    gLog << "   --null                    Suppress output of Y-files (for test purpose)" << endl;
     gLog << "   --print-seq               Print Sequence information" << endl;
     gLog << "   --print-files             Print Files taken from Sequence" << endl;
@@ -174,4 +175,5 @@
     const Bool_t  kMovie      = arg.HasOnlyAndRemove("--movie");
     const Bool_t  kDebugMem   = arg.HasOnlyAndRemove("--debug-mem");
+    const Bool_t  kNullOut    = arg.HasOnlyAndRemove("--null");
 //          Bool_t  kMoon       = arg.HasOnlyAndRemove("--moon");
     Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0;
@@ -619,4 +621,5 @@
         job4.SetPathOut(kOutpathY);
         job4.SetMovieMode(kMovie);
+        job4.SetNullOut(kNullOut);
         if (!seq.IsMonteCarlo())
             job4.SetExtractor(job2.GetExtractor());
Index: trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc	(revision 8901)
+++ trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc	(revision 8902)
@@ -917,5 +917,5 @@
     if (fSequence.IsMonteCarlo())
     {
-        if (!fIsMovieMode)
+        if (!fIsMovieMode && !IsNullOut())
             tlist.AddToList(&writemc);
         tlist.AddToList(&contmc);
@@ -929,5 +929,5 @@
     //  tlist.AddToList(&pcalc, "Drive");
 
-    if (!fIsMovieMode)
+    if (!fIsMovieMode && !IsNullOut())
         tlist.AddToList(&write);
 
Index: trunk/MagicSoft/Mars/mjobs/MJStar.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJStar.cc	(revision 8901)
+++ trunk/MagicSoft/Mars/mjobs/MJStar.cc	(revision 8902)
@@ -469,5 +469,6 @@
         tlist.AddToList(&filldt,  "CC");
     }
-    tlist.AddToList(&write);
+    if (!IsNullOut())
+        tlist.AddToList(&write);
 
     // Create and setup the eventloop
Index: trunk/MagicSoft/Mars/mjobs/MJob.h
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJob.h	(revision 8901)
+++ trunk/MagicSoft/Mars/mjobs/MJob.h	(revision 8902)
@@ -33,4 +33,6 @@
     Bool_t    fOverwrite;     // Allow overwriting output files
     Int_t     fMaxEvents;     // Maximum number of events
+
+    Bool_t    fNullOut;       // Suppress output files
 
     // FIXME: Split into MJobSequence and MJobDataSet
@@ -74,4 +76,6 @@
     void   SetSequence(const MSequence &seq) { fSequence = seq; }
 
+    void   SetNullOut(Bool_t b=kTRUE) { fNullOut=b; }
+
     // Getter
     TString GetPathOut() const  { return fPathOut; }
@@ -79,4 +83,6 @@
 
     Bool_t HasWritePermission(TString fname) const;
+
+    Bool_t HasNullOut() const { return fNullOut; }
 
     // Others
Index: trunk/MagicSoft/Mars/star.cc
===================================================================
--- trunk/MagicSoft/Mars/star.cc	(revision 8901)
+++ trunk/MagicSoft/Mars/star.cc	(revision 8902)
@@ -68,4 +68,5 @@
     gLog << "   --out=path                Path to write the all results to [def=local path]" << endl;
     gLog << "                             (overwrites --outc and --outy)" << endl;
+    gLog << "   --null                    Suppress output of I-files (for test purpose)" << endl;
     gLog << "   --no-muons                Switch off Muon analysis (for fast tests)" << endl;
     gLog << "   --print-seq               Print Sequence information" << endl;
@@ -121,4 +122,5 @@
     const Bool_t  kPrintFound = arg.HasOnlyAndRemove("--print-found");
     const Bool_t  kDebugMem   = arg.HasOnlyAndRemove("--debug-mem");
+    const Bool_t  kNullOut    = arg.HasOnlyAndRemove("--null");
     Int_t  kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0;
     kDebugEnv = arg.GetIntAndRemove("--debug-env=", kDebugEnv);
@@ -244,4 +246,5 @@
         job.SetOverwrite(kOverwrite);
         job.SetPathOut(kOutpath);
+        job.SetNullOut(kNullOut);
         // job.SetPathIn(kInpath); // not yet needed
         if (kNoMuons)
