Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 9413)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 9414)
@@ -30,4 +30,6 @@
      - added an additional sanity check
 
+   * mhbase/MH.cc:
+     - added "temp" to palette
 
 
Index: /trunk/MagicSoft/Mars/NEWS
===================================================================
--- /trunk/MagicSoft/Mars/NEWS	(revision 9413)
+++ /trunk/MagicSoft/Mars/NEWS	(revision 9414)
@@ -2,4 +2,9 @@
 
 == <cvs> ==
+
+ ;general:
+
+   * Added a new palette "temp" to MH::SetPalette which should resample
+     a temperature
 
  ;showplot:
Index: /trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc	(revision 9413)
+++ /trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc	(revision 9414)
@@ -135,5 +135,5 @@
     if (!run)
     {
-        *fLog << warn << dbginf << "Warning - cannot check file type, MRawRunHeader not found." << endl;
+        *fLog << warn << dbginf << "WARNING - cannot check file type, MRawRunHeader not found." << endl;
         return kTRUE;
     }
@@ -143,5 +143,5 @@
     //
     fGeom = 0;
-    if (run->IsMonteCarloRun())
+    if (!run->IsMonteCarloRun())
     {
         *fLog << inf << "This is no MC file... skipping." << endl;
Index: /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc
===================================================================
--- /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9413)
+++ /trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc	(revision 9414)
@@ -89,4 +89,4 @@
     for (Short_t x=0; x<nx; x++)
         for (Short_t y=0; y<ny; y++)
-            SetAt(x*ny+y, MGeomRectangle((0.5*nx-x)*diameter, (0.5*ny-y)*diameter, diameter));
+            SetAt(x*ny+y, MGeomRectangle((0.5*nx-x-0.5)*diameter, (0.5*ny-y-0.5)*diameter, diameter));
 }
Index: /trunk/MagicSoft/Mars/mhbase/MH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH.cc	(revision 9413)
+++ /trunk/MagicSoft/Mars/mhbase/MH.cc	(revision 9414)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.48 2009-03-23 13:13:42 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.49 2009-03-30 08:06:41 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -1700,4 +1700,13 @@
         double b[5] = {0.2, 0.7, 0.0, 0.3, 0.9 };
         CreateGradientColorTable(5, s, r, g, b, ncol);
+        found=kTRUE;
+    }
+    if (paletteName.Contains("temp"))
+    {
+        Double_t s[7] = { 0.00, 0.30, 0.45, 0.75, 0.88, 0.95, 1.00 };
+        Double_t r[7] = { 0.00, 0.00, 0.30, 0.60, 1.00, 1.00, 1.00 };
+        Double_t g[7] = { 0.00, 0.00, 0.00, 0.00, 0.20, 1.00, 1.00 };
+        Double_t b[7] = { 0.10, 0.60, 0.30, 0.00, 0.20, 0.00, 1.00 };
+        CreateGradientColorTable(7, s, r, g, b, ncol);
         found=kTRUE;
     }
