Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7424)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7425)
@@ -65,4 +65,10 @@
      - updated output
      - made it work properly
+
+   * mjobs/MJCut.cc:
+     - added ClacDisp task to output
+
+   * mjobs/MJPedestal.cc:
+     - removed an obsolete include
 
 
Index: trunk/MagicSoft/Mars/mjobs/MJCut.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJCut.cc	(revision 7424)
+++ trunk/MagicSoft/Mars/mjobs/MJCut.cc	(revision 7425)
@@ -650,4 +650,6 @@
     if (taskenv2.GetTask())
         cont.Add(taskenv2.GetTask());
+    if (taskenv3.GetTask())
+        cont.Add(taskenv3.GetTask());
 
     if (!WriteTasks(set.GetNumAnalysis(), cont))
Index: trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
===================================================================
--- trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 7424)
+++ trunk/MagicSoft/Mars/mjobs/MJPedestal.cc	(revision 7425)
@@ -62,5 +62,4 @@
 
 #include "MStatusDisplay.h"
-#include "MFEventSelector.h"
 
 // Other basic classes
Index: trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc	(revision 7424)
+++ trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc	(revision 7425)
@@ -134,17 +134,17 @@
     // --- Produce some text information ---
     fRules.AddText("");
-    fRules.AddText(Form("%d trees trained with %d events", fRanForest->GetNumTrees(),
+    fRules.AddText(Form("%s w/ %d trees of node size %d trained by %d events",
+                        fRanForest->IsClassify()?"Classification":"Regression",
+                        fRanForest->GetNumTrees(),
+                        fRanForest->GetNdSize(),
                         fRanForest->GetNumData()));
-    fRules.AddText("---");
+    fRules.AddText("---");//Form("---> %s", fRanForest->GetTargetRule().Data()));
+
     const MDataArray &arr = *fRanForest->GetRules();
+
     int i;
     for (i=0; i<arr.GetNumEntries(); i++)
-    {
-        TString s;
-        s += i+1;
-        s += ") ";
-        s += arr.GetRule(i);
-        fRules.AddText(s);
-    }
+        fRules.AddText(Form("%d) %s", i+1, arr.GetRule(i).Data()));
+
     for (; i<20; i++)
         fRules.AddText("");
Index: trunk/MagicSoft/Mars/mranforest/MRanForest.cc
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForest.cc	(revision 7424)
+++ trunk/MagicSoft/Mars/mranforest/MRanForest.cc	(revision 7425)
@@ -201,4 +201,9 @@
 }
 
+MRanTree *MRanForest::GetTree(Int_t i) const
+{
+    return static_cast<MRanTree*>(fForest->UncheckedAt(i));
+}
+
 Int_t MRanForest::GetNumDim() const
 {
@@ -372,5 +377,5 @@
         return kFALSE;
     }
-    fRanTree->SetName(target_rule);
+    //fRanTree->SetName(target_rule); // Is not stored anyhow
 
     const Int_t tryest = TMath::Nint(TMath::Sqrt(dim));
Index: trunk/MagicSoft/Mars/mranforest/MRanForest.h
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForest.h	(revision 7424)
+++ trunk/MagicSoft/Mars/mranforest/MRanForest.h	(revision 7425)
@@ -97,5 +97,5 @@
     TObjArray  *GetForest() const      { return fForest; }
     MRanTree   *GetCurTree() const     { return fRanTree; }
-    MRanTree   *GetTree(Int_t i) const { return static_cast<MRanTree*>(fForest->UncheckedAt(i)); }
+    MRanTree   *GetTree(Int_t i) const;
     MDataArray *GetRules() const       { return fRules; }
 
@@ -104,8 +104,10 @@
     Int_t      GetNumData()  const;
     Int_t      GetNumDim()   const;
+    Int_t      GetNdSize() const { return fNdSize; }
     Int_t      GetNclass()   const;
     Double_t   GetTreeHad(Int_t i) const { return fTreeHad.At(i); }
     Double_t   GetUserVal() const { return fUserVal; }
- 
+    Bool_t     IsClassify() const { return fClassify; }
+
     // use forest to calculate hadronness of event
     Double_t CalcHadroness(const TVector &event);
Index: trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc	(revision 7424)
+++ trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc	(revision 7425)
@@ -311,5 +311,5 @@
     if (fEForests.GetEntriesFast()==1)
     {
-        MRanForest *rf = static_cast<MRanForest*>fEForests.UncheckedAt(0);
+        MRanForest *rf = static_cast<MRanForest*>(fEForests.UncheckedAt(0));
         fRFOut->SetVal(rf->CalcHadroness(event));
         fRFOut->SetReadyToSave();
Index: trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h	(revision 7424)
+++ trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h	(revision 7425)
@@ -71,5 +71,5 @@
 
     // TObject
-    void Print(Option_t *o="") const;
+    void Print(Option_t *o="") const; //*MENU*
 
     // Setter for estimation
