Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 5400)
+++ trunk/MagicSoft/Mars/Changelog	(revision 5401)
@@ -21,9 +21,27 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2004/11/15: Thomas Bretz
+
+   * mcalib/MCalibrationChargeCalc.cc:
+     - reset logging stream to CORRECT one after redirection
+     - do not redirect the logging stream if no output file is
+       selected
+
+   * mhist/MHHadronness.cc:
+     - fixed a type in the class description
+
+   * mjobs/MJCalibration.cc:
+     - do not write miracle appearance files by MCalivrationChargeCalc
+
+
+
  2004/11/13: Hendrik Bartko
-   * msignal/cosmics_weights.dat implemented low gain weights from pulpo
-     data
-   * msignal/cosmics_weights4.dat implemented low gain weights from 
-     pulpo data
+
+   * msignal/cosmics_weights.dat:
+     - implemented low gain weights from pulpo data
+
+   * msignal/cosmics_weights4.dat:
+     - implemented low gain weights from pulpo data
+
 
  2004/11/12: Thomas Bretz
Index: trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc	(revision 5400)
+++ trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc	(revision 5401)
@@ -825,7 +825,12 @@
   // Re-direct the output to an ascii-file from now on:
   //
+  MLog *oldlog = fLog;
   MLog asciilog;
-  asciilog.SetOutputFile(GetOutputFile(),kTRUE);
-  SetLogStream(&asciilog);
+  if (!fOutputFile.IsNull())
+  {
+      asciilog.SetOutputFile(GetOutputFile(),kTRUE);
+      SetLogStream(&asciilog);
+  }
+
   //
   // Finalize calibration statistics
@@ -874,5 +879,6 @@
                     "Pixels with unsuccesful Gauss fit to the Lo Gain: ");
 
-  SetLogStream(&gLog);
+  if (!fOutputFile.IsNull())
+      SetLogStream(oldlog);
 
   return kTRUE;
Index: trunk/MagicSoft/Mars/mhist/MHHadronness.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHHadronness.cc	(revision 5400)
+++ trunk/MagicSoft/Mars/mhist/MHHadronness.cc	(revision 5401)
@@ -48,5 +48,5 @@
 //    Naive quality factor: Ag/sqrt(Ah)
 //  * Bottom Right Corner:
-//    - black: Acceprtance Gammas vs. Acceptance Hadrons
+//    - black: Acceptance Gammas vs. Acceptance Hadrons
 //    - blue cross: minimum of distance to (0, 1)
 //
Index: trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJCalibration.cc	(revision 5400)
+++ trunk/MagicSoft/Mars/mjobs/MJCalibration.cc	(revision 5401)
@@ -1623,4 +1623,5 @@
     MCalibrationChargeCalc   calcalc;
     MCalibrationRelTimeCalc  timecalc;
+    calcalc.SetOutputFile("");
 
     if (!fSequence.IsValid())
