Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8746)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8750)
@@ -18,4 +18,23 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2007/10/05 Thomas Bretz
+
+   * sponde.rc, sponde_onoff.rc:
+     - fixed a bug. Must be Spectrum now instead of MJSpectrum
+
+   * mbase/MReadSocket.cc:
+     - do not create an explicit TDatime instance
+
+   * mjobs/MJSpectrum.cc:
+     - fixed a problem with writing the Dataset to the file
+
+   * mpointing/MPointingDevCalc.cc:
+     - added a comment about AMC focussing
+
+   * mtools/MCalendar.[h,cc]:
+     - made DrawImage a static function
+
+
 
  2007/09/17 Thomas Bretz
Index: trunk/MagicSoft/Mars/mbase/MReadSocket.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MReadSocket.cc	(revision 8746)
+++ trunk/MagicSoft/Mars/mbase/MReadSocket.cc	(revision 8750)
@@ -136,6 +136,5 @@
         const TTime timeout = gSystem->Now() + TTime(5000);
 
-        TDatime now;
-        cout << now.AsString() << ": Waiting for connection..." << endl;
+        cout << TDatime().AsString() << ": Waiting for connection..." << endl;
 
         //
Index: trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8746)
+++ trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc	(revision 8750)
@@ -1699,9 +1699,9 @@
     // Write the output
     TObjArray cont;
-    cont.Add((TObject*)GetEnv());
+    cont.Add((TObject*)GetEnv()); // const_cast
+    cont.Add((TObject*)&set);     // const_cast
     cont.Add(&area0);
     cont.Add(&area1);
     cont.Add(&hest);
-    cont.Add(&set);
 
     if (fDisplay)
Index: trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc	(revision 8746)
+++ trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc	(revision 8750)
@@ -166,4 +166,7 @@
 // Lid is closed. (< run 84980)
 //
+// [2007-04-25 23:50:39]
+// Markus is performing AMC focussing.
+//
 // Mirror refocussing around 4.Aug.2007, from the Runbook:
 //
Index: trunk/MagicSoft/Mars/mtools/MCalendar.cc
===================================================================
--- trunk/MagicSoft/Mars/mtools/MCalendar.cc	(revision 8746)
+++ trunk/MagicSoft/Mars/mtools/MCalendar.cc	(revision 8750)
@@ -1391,5 +1391,5 @@
 // DrawImage cd()'s to the new pad.
 //
-TASImage *MCalendar::DrawImage(const TASImage &img, Float_t x1, Float_t y1, Float_t x2, Float_t y2, Bool_t rot) const
+TASImage *MCalendar::DrawImage(const TASImage &img, Float_t x1, Float_t y1, Float_t x2, Float_t y2, Bool_t rot)
 {
     TPad *pad=new TPad("Img", "Image", x1, y1, x2, y2);
Index: trunk/MagicSoft/Mars/mtools/MCalendar.h
===================================================================
--- trunk/MagicSoft/Mars/mtools/MCalendar.h	(revision 8746)
+++ trunk/MagicSoft/Mars/mtools/MCalendar.h	(revision 8750)
@@ -177,5 +177,5 @@
 
     // Calendar sheet interface
-    TASImage *DrawImage(const TASImage &img, Float_t x1, Float_t y1, Float_t x2, Float_t y2, Bool_t rot=kFALSE) const;
+    static TASImage *DrawImage(const TASImage &img, Float_t x1, Float_t y1, Float_t x2, Float_t y2, Bool_t rot=kFALSE);
     TASImage *GetImage(TEnv *env=NULL, const char *path="");
     void      DrawLatex(Float_t x, Float_t y, const char *text, const TAttText &att);
Index: trunk/MagicSoft/Mars/sponde.rc
===================================================================
--- trunk/MagicSoft/Mars/sponde.rc	(revision 8746)
+++ trunk/MagicSoft/Mars/sponde.rc	(revision 8750)
@@ -41,5 +41,5 @@
 # Monte Carlo for determining the collection area there is no theta-
 # histogram involved, thus you need the theta cut switched on
-MJSpectrum.Cut1.ThetaCut: On
+Spectrum.Cut1.ThetaCut: On
 
 # You may want to change the scale region to a different region than
Index: trunk/MagicSoft/Mars/sponde_onoff.rc
===================================================================
--- trunk/MagicSoft/Mars/sponde_onoff.rc	(revision 8746)
+++ trunk/MagicSoft/Mars/sponde_onoff.rc	(revision 8750)
@@ -41,5 +41,5 @@
 # Monte Carlo for determining the collection area there is no theta-
 # histogram involved, thus you need the theta cut switched on
-MJSpectrum.Cut1.ThetaCut: On
+Spectrum.Cut1.ThetaCut: On
 
 # You may want to change the scale region to a different region than
