Index: trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyEst.cc
===================================================================
--- trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyEst.cc	(revision 1978)
+++ trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyEst.cc	(revision 1982)
@@ -92,4 +92,5 @@
 
   MFCT1SelFinal filterhadrons;
+  filterhadrons.SetHadronnessName(fHadronnessName);
   filterhadrons.SetCuts(fMaxHadronness, fMaxAlpha, fMaxDist);
   filterhadrons.SetInverted();
Index: trunk/MagicSoft/Mars/mmontecarlo/Makefile
===================================================================
--- trunk/MagicSoft/Mars/mmontecarlo/Makefile	(revision 1978)
+++ trunk/MagicSoft/Mars/mmontecarlo/Makefile	(revision 1982)
@@ -22,5 +22,5 @@
 #  connect the include files defined in the config.mk file
 #
-INCLUDES = -I. -I../mbase -I../mmc -I../mhist -I../mhistmc
+INCLUDES = -I. -I../mbase -I../mmc -I../mhist -I../mhistmc -I../mgeom -I../manalysis -I../mtools -I../mfileio -I../mfilter -I../mdata
 
 #------------------------------------------------------------------------------
@@ -32,5 +32,6 @@
            MMcTimeGenerate.cc \
 	   MMcTriggerRateCalc.cc \
-	   MMcCT1CollectionAreaCalc.cc
+	   MMcCT1CollectionAreaCalc.cc \
+	   MMcEnergyEst.cc
 
 SRCS    = $(SRCFILES)
Index: trunk/MagicSoft/Mars/mmontecarlo/MonteCarloLinkDef.h
===================================================================
--- trunk/MagicSoft/Mars/mmontecarlo/MonteCarloLinkDef.h	(revision 1978)
+++ trunk/MagicSoft/Mars/mmontecarlo/MonteCarloLinkDef.h	(revision 1982)
@@ -10,4 +10,4 @@
 #pragma link C++ class MMcTriggerRateCalc+;
 #pragma link C++ class MMcCT1CollectionAreaCalc+;
-
+#pragma link C++ class MMcEnergyEst+;
 #endif
