Index: trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc	(revision 6797)
+++ trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc	(revision 6893)
@@ -49,5 +49,5 @@
 #include "MRanForest.h"
 
-#include "MHadronness.h"
+#include "MParameters.h"
 
 #include "MEvtLoop.h"
@@ -143,5 +143,5 @@
     }
 
-    fHadroness = (MHadronness*)plist->FindCreateObj("MHadronness", fHadronnessName);
+    fHadroness = (MParameterD*)plist->FindCreateObj("MParameterD", fHadronnessName);
     if (!fHadroness)
         return kFALSE;
@@ -160,5 +160,5 @@
 
     Double_t hadroness=fRanForest->CalcHadroness(event);
-    fHadroness->SetHadronness(hadroness);
+    fHadroness->SetVal(hadroness);
 
     return kTRUE;
Index: trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h
===================================================================
--- trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h	(revision 6797)
+++ trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h	(revision 6893)
@@ -11,5 +11,5 @@
 
 class MParList;
-class MHadronness;
+class MParameterD;
 class MDataArray;
 class MRanTree;
@@ -23,5 +23,5 @@
     TString fHadronnessName;  // Name of container storing hadronness
 
-    MHadronness *fHadroness;  //! Output container for calculated hadroness
+    MParameterD *fHadroness;  //! Output container for calculated hadroness
     MDataArray  *fData;       //! Used to store the MDataChains to get the event values
     MRanForest  *fRanForest;
