Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 6955)
+++ trunk/MagicSoft/Mars/Changelog	(revision 6956)
@@ -26,4 +26,7 @@
    * mjobs/MJCut.cc:
      - fixed a problem when not enabling "--res"
+
+   * mimage/MHVsSize.[h,cc]:
+     - added more displayed variables
 
 
Index: trunk/MagicSoft/Mars/mimage/MHVsSize.cc
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHVsSize.cc	(revision 6955)
+++ trunk/MagicSoft/Mars/mimage/MHVsSize.cc	(revision 6956)
@@ -45,4 +45,5 @@
 #include "MHillas.h"
 #include "MHillasSrc.h"
+#include "MHillasExt.h"
 #include "MNewImagePar.h"
 #include "MGeomCam.h"
@@ -58,5 +59,5 @@
 //
 MHVsSize::MHVsSize(const char *name, const char *title)
-    : fHillas(NULL), fNewImagePar(NULL), fMm2Deg(1), fUseMmScale(kTRUE)
+    : fHillas(NULL), fHillasExt(NULL), fNewImagePar(NULL), fMm2Deg(1), fUseMmScale(kTRUE)
 {
     //
@@ -70,4 +71,6 @@
     fDist.SetNameTitle(  "Dist",   "Dist vs. Size");
     fConc1.SetNameTitle( "Conc1",  "Conc1 vs. Size");
+    fArea.SetNameTitle(  "Area",   "Area vs. Size");
+    fM3Long.SetNameTitle("M3Long", "M3Long vs. Size");
 
     fLength.SetDirectory(NULL);
@@ -75,4 +78,6 @@
     fDist.SetDirectory(NULL);
     fConc1.SetDirectory(NULL);
+    fArea.SetDirectory(NULL);
+    fM3Long.SetDirectory(NULL);
 
     fLength.SetXTitle("Size [phe]");
@@ -80,4 +85,6 @@
     fDist.SetXTitle("Size [phe]");
     fConc1.SetXTitle("Size [phe]");
+    fArea.SetXTitle("Size [phe]");
+    fM3Long.SetXTitle("Size [phe]");
 
     fLength.SetYTitle("Length [mm]");
@@ -85,10 +92,14 @@
     fDist.SetYTitle("Distance [mm]");
     fConc1.SetYTitle("Conc1 [ratio]");
-
-    MBinning binse, binsl, binsd, binsc;
-    binse.SetEdgesLog(50, 10, 1e5);
-    binsl.SetEdges(100,  0, 296.7/2);
-    binsd.SetEdges(100,  0, 445);
-    binsc.SetEdgesLog(100,  1e-5, 5e-3);
+    fArea.SetYTitle("Conc1 [mm^{2}]");
+    fM3Long.SetYTitle("M3Long [mm]");
+
+    MBinning binse, binsl, binsd, binsc, binsa, binsm;
+    binse.SetEdgesLog( 50,   10, 1e5);
+    binsl.SetEdges(   100,    0, 296.7/2);
+    binsd.SetEdges(   100,    0, 600);
+    binsc.SetEdgesLog(100, 1e-5, 5e-3);
+    binsa.SetEdges(   100,    0, 445*45);
+    binsm.SetEdges(   100, -445, 445);
 
     MH::SetBinning(&fLength, &binse, &binsl);
@@ -96,4 +107,6 @@
     MH::SetBinning(&fDist,   &binse, &binsd);
     MH::SetBinning(&fConc1,  &binse, &binsc);
+    MH::SetBinning(&fArea,   &binse, &binsa);
+    MH::SetBinning(&fM3Long, &binse, &binsm);
 
     fLength.UseCurrentStyle();
@@ -101,4 +114,6 @@
     fDist.UseCurrentStyle();
     fConc1.UseCurrentStyle();
+    fArea.UseCurrentStyle();
+    fM3Long.UseCurrentStyle();
 }
 
@@ -131,4 +146,11 @@
     }
 
+    fHillasExt = (MHillasExt*)plist->FindObject("MHillasExt");
+    if (!fHillasExt)
+    {
+        *fLog << err << "MHillasExt not found... abort." << endl;
+        return kFALSE;
+    }
+
     fNewImagePar = (MNewImagePar*)plist->FindObject("MNewImagePar");
     if (!fNewImagePar)
@@ -205,4 +227,6 @@
     MH::ScaleAxis(&fWidth,  1, scale);
     MH::ScaleAxis(&fDist,   1, scale);
+    MH::ScaleAxis(&fM3Long, 1, scale);
+    MH::ScaleAxis(&fArea,   1, scale*scale);
 
     if (mmscale)
@@ -211,4 +235,6 @@
         fWidth.SetYTitle("Width [mm]");
         fDist.SetYTitle("Distance [mm]");
+        fArea.SetYTitle("Area [mm^{2}]");
+        fM3Long.SetYTitle("M3Long [mm]");
     }
     else
@@ -217,4 +243,6 @@
         fWidth.SetYTitle("Width [\\circ]");
         fDist.SetYTitle("Distance [\\circ]");
+        fArea.SetYTitle("Area [\\circ^{2}]");
+        fM3Long.SetYTitle("M3Long [\\circ]");
     }
 
@@ -232,5 +260,5 @@
     if (!src)
     {
-        *fLog << err << "MHVsSize::Fill: Pointer (!=NULL) expected." << endl;
+        *fLog << err << "MHVsSize::Fill: Wrong argument... abort." << endl;
         return kFALSE;
     }
@@ -242,4 +270,6 @@
     fDist.Fill(  fHillas->GetSize(), scale*src->GetDist(),           w);
     fConc1.Fill( fHillas->GetSize(), scale*fNewImagePar->GetConc1(), w);
+    fArea.Fill(  fHillas->GetSize(), scale*scale*fHillas->GetArea(), w);
+    fM3Long.Fill(fHillas->GetSize(), scale*fHillasExt->GetM3Long()*TMath::Sign(src->GetCosDeltaAlpha(),1.0f), w);
 
     return kTRUE;
@@ -266,5 +296,5 @@
 
     if (!same)
-        pad->Divide(2,2);
+        pad->Divide(3,2);
     else
     {
@@ -273,8 +303,12 @@
         fDist.SetName("DistSame");
         fConc1.SetName("Conc1Same");
+        fArea.SetName("AreaSame");
+        fM3Long.SetName("M3LongSame");
         fDist.SetMarkerColor(kBlue);
         fConc1.SetMarkerColor(kBlue);
         fWidth.SetMarkerColor(kBlue);
         fLength.SetMarkerColor(kBlue);
+        fArea.SetMarkerColor(kBlue);
+        fM3Long.SetMarkerColor(kBlue);
     }
 
@@ -298,4 +332,16 @@
 
     pad->cd(4);
+    gPad->SetBorderMode(0);
+    gPad->SetLogx();
+    RemoveFromPad("AreaSame");
+    fArea.Draw(same?"same":"");
+
+    pad->cd(5);
+    gPad->SetBorderMode(0);
+    gPad->SetLogx();
+    RemoveFromPad("M3LongSame");
+    fM3Long.Draw(same?"same":"");
+
+    pad->cd(6);
     gPad->SetBorderMode(0);
     gPad->SetLogx();
@@ -304,8 +350,2 @@
     fConc1.Draw(same?"same":"");
 }
-
-void MHVsSize::Paint(Option_t *opt)
-{
-    //SetColors();
-    //MH::Paint();
-}
Index: trunk/MagicSoft/Mars/mimage/MHVsSize.h
===================================================================
--- trunk/MagicSoft/Mars/mimage/MHVsSize.h	(revision 6955)
+++ trunk/MagicSoft/Mars/mimage/MHVsSize.h	(revision 6956)
@@ -11,4 +11,5 @@
 
 class MHillas;
+class MHillasExt;
 class MNewImagePar;
 
@@ -16,5 +17,6 @@
 {
 private:
-    MHillas      *fHillas;  //!
+    MHillas      *fHillas;      //!
+    MHillasExt   *fHillasExt;   //!
     MNewImagePar *fNewImagePar; //!
 
@@ -25,8 +27,9 @@
     TH2F fConc1;   // Angle between Length axis and x-axis
 
+    TH2F fM3Long;  // 
+    TH2F fArea;    // 
+
     Float_t fMm2Deg;
     Bool_t  fUseMmScale;
-
-    void Paint(Option_t *opt="");
 
 public:
