Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8975)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8976)
@@ -18,4 +18,11 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2008/06/19 Thomas Bretz
+
+   * mjobs/MJSpectrum.cc:
+     - small improvement to output
+
+
 
  2008/06/19 Thomas Bretz
Index: /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
===================================================================
--- /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8975)
+++ /trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8976)
@@ -238,5 +238,5 @@
     if (arr.Read()<=0)
     {
-        *fLog << "MStatusDisplay not found in file... abort." << endl;
+        *fLog << err << dbginf << "ERROR - MStatusDisplay not found in file... abort." << endl;
         return -1;
     }
@@ -245,6 +245,19 @@
     TH1D *size   = (TH1D*)arr.FindObjectInCanvas("Excess",     "TH1D", "Hist");
     TH1D *time   = (TH1D*)arr.FindObjectInCanvas("ExcessTime", "TH1D", "Hist");
-    if (!vstime || !size || !time)
+    if (!vstime)
+    {
+        *fLog << err << dbginf << "ERROR - Theta [TH1D] not found in OnTime-tab... abort." << endl;
         return -1;
+    }
+    if (!size)
+    {
+        *fLog << err << dbginf << "ERROR - Excess [TH1D] not found in Hist-tab... abort." << endl;
+        return -1;
+    }
+    if (!size)
+    {
+        *fLog << err << dbginf << "ERROR - ExcessTime [TH1D] not found in Hist-tab... abort." << endl;
+        return -1;
+    }
 
     vstime->Copy(h1);
@@ -939,5 +952,5 @@
 
     // Get spill-over corrections from energy estimation
-    hest.GetWeights(weights);
+    hest.GetWeights(weights);  // E_mc/E_est
 
     // Print effective on-time
