Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 9152)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 9153)
@@ -48,5 +48,9 @@
      mimage/MHHillasSrc.[h,cc], mimage/MHImagePar.[h,cc],
      mimage/MHNewImagePar.[h,cc], mimage/MHNewImagePar2.[h,cc],
-     mimage/MHVsSize.[h,cc], mbadpixels/MHBadPixels.[h,cc]:
+     mimage/MHVsSize.[h,cc], mbadpixels/MHBadPixels.[h,cc],
+     mmuon/MHMuonPar.[h,cc], mmuon/MHSingleMuon.[h,cc],
+     mpedestal/MHPedestalCor.[h,cc], mpointing/MHPointing.[h,cc],
+     mranforest/MHRanForest.[h,cc], mranforest/MHRanForestGini.[h,cc], 
+     mreflector/MHReflector.[h,cc]:
      - changed return type of Fill from bool to int
      - fixed return value where necessary
Index: /trunk/MagicSoft/Mars/manalysis/Makefile
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/Makefile	(revision 9152)
+++ /trunk/MagicSoft/Mars/manalysis/Makefile	(revision 9153)
@@ -34,8 +34,8 @@
            MEventRate.cc \
            MEventRateCalc.cc \
-	   MMcTriggerLvl2.cc \
-	   MMcTriggerLvl2Calc.cc \
            MMcCalibrationUpdate.cc
 
+#           MMcTriggerLvl2.cc \
+#           MMcTriggerLvl2Calc.cc \
 #           MCompProbCalc.cc \
 
Index: /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.cc	(revision 9153)
@@ -170,10 +170,13 @@
 //
 
-Bool_t MHBadPixels::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHBadPixels::Fill(const MParContainer *par, const Stat_t w)
 {
     if (!par)
-        return kFALSE;
-
-    Double_t theta = fPointPos->GetZd();
+    {
+        *fLog << err << "ERROR - par==NULL." << endl;
+        return kERROR;
+    }
+
+    const Double_t theta = fPointPos->GetZd();
 
     const MBadPixelsCam *fBadPixels = (MBadPixelsCam*)par;
Index: /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.h
===================================================================
--- /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.h	(revision 9153)
@@ -44,6 +44,7 @@
 
     void Draw(Option_t* option = "");
+
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     ClassDef(MHBadPixels, 1)  // Histogram of bad pixel Id vs. Theta
Index: /trunk/MagicSoft/Mars/mhbase/MFillH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MFillH.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MFillH.cc	(revision 9153)
@@ -564,10 +564,10 @@
 //        fCanvas->cd();
 
-    const Bool_t rc = fH->Fill(fParContainer, fWeight?fWeight->GetVal():1);
+    const Int_t rc = fH->Fill(fParContainer, fWeight?fWeight->GetVal():1);
     fH->SetNumExecutions(GetNumExecutions()+1);
 
 //    if (save && fCanvas)
 //        save->cd();
-    return rc==kFALSE ? kCONTINUE : kTRUE;
+    return rc;
 } 
 
Index: /trunk/MagicSoft/Mars/mhbase/MH.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MH.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.39 2008-06-14 15:55:52 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.40 2008-11-11 11:42:13 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -112,8 +112,8 @@
 // to your class definition.
 //
-Bool_t MH::Fill(const MParContainer *par, const Stat_t w)
+Int_t MH::Fill(const MParContainer *par, const Stat_t w)
 {
     *fLog << warn << GetDescriptor() << ": Fill not overloaded! Can't be used!" << endl;
-    return kFALSE;
+    return kERROR;
 }
 
Index: /trunk/MagicSoft/Mars/mhbase/MH.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MH.h	(revision 9153)
@@ -47,5 +47,5 @@
     virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; }
     virtual Bool_t ReInit(MParList *pList) { return kTRUE; }
-    virtual Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
+    virtual Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
     virtual Bool_t Finalize() { return kTRUE; }
 
Index: /trunk/MagicSoft/Mars/mhbase/MH3.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MH3.cc	(revision 9153)
@@ -674,5 +674,5 @@
 // Fills the one, two or three data members into our histogram
 //
-Bool_t MH3::Fill(const MParContainer *par, const Stat_t ww)
+Int_t MH3::Fill(const MParContainer *par, const Stat_t ww)
 {
     // Get Information about labels (UInt_t, to supress warning about
Index: /trunk/MagicSoft/Mars/mhbase/MH3.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MH3.h	(revision 9153)
@@ -135,5 +135,5 @@
     // MH
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhbase/MHArray.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHArray.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHArray.cc	(revision 9153)
@@ -466,5 +466,5 @@
 // successfull filled.
 //
-Bool_t MHArray::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHArray::Fill(const MParContainer *par, const Stat_t w)
 {
     const Int_t n = fArray->GetSize();
@@ -474,10 +474,10 @@
         *fLog << warn << "Histogram Index #" << fIdx << " out of bounds (>";
         *fLog << n << ")... skipped." << endl;
-        return kCONTINUE;
+        return kERROR;
     }
 
     if (fIdx==n)
         if (!CreateH())
-            return kFALSE;
+            return kERROR;
 
     return GetH()->Fill(par, w);
Index: /trunk/MagicSoft/Mars/mhbase/MHArray.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHArray.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHArray.h	(revision 9153)
@@ -42,5 +42,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHMatrix.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHMatrix.cc	(revision 9153)
@@ -268,5 +268,5 @@
 // Add the values correspoding to the columns to the new row
 //
-Bool_t MHMatrix::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHMatrix::Fill(const MParContainer *par, const Stat_t w)
 {
     AddRow();
Index: /trunk/MagicSoft/Mars/mhbase/MHMatrix.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHMatrix.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHMatrix.h	(revision 9153)
@@ -55,5 +55,5 @@
     Bool_t SetupFill(const MParList *pList);
 
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhbase/MHn.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHn.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHn.cc	(revision 9153)
@@ -499,9 +499,12 @@
 // Call Fill for all initialized histograms
 //
-Bool_t MHn::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHn::Fill(const MParContainer *par, const Stat_t w)
 {
     for (int i=0; i<fNum; i++)
-        if (!fHist[i]->Fill(par, w))
-            return kFALSE;
+    {
+        const Int_t rc = fHist[i]->Fill(par, w);
+        if (rc!=kTRUE)
+            return rc;
+    }
 
     return kTRUE;
Index: /trunk/MagicSoft/Mars/mhbase/MHn.h
===================================================================
--- /trunk/MagicSoft/Mars/mhbase/MHn.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhbase/MHn.h	(revision 9153)
@@ -67,5 +67,5 @@
     // MH
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc	(revision 9153)
@@ -868,5 +868,5 @@
 // Call FillHists()
 //
-Bool_t MHCalibrationCam::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHCalibrationCam::Fill(const MParContainer *par, const Stat_t w)
 {
   if (fCurrentNumEvts >= fMaxNumEvts)
@@ -878,5 +878,8 @@
 
   if (!IsSizeCheck())
-    return FillHists(par,w);
+  {
+      const Bool_t rc = FillHists(par,w);
+      return rc ? kTRUE : kERROR;
+  }
 
   const Int_t npixels  = fGeom->GetNumPixels();
@@ -890,5 +893,5 @@
     {
       *fLog << err << "ERROR - Size mismatch in number of pixels... abort." << endl;
-      return kFALSE;
+      return kERROR;
     }
   
@@ -898,5 +901,5 @@
         {
           *fLog << err << "ERROR - Size mismatch in number of pixels... abort." << endl;
-          return kFALSE;
+          return kERROR;
         }
     }
@@ -908,5 +911,5 @@
     {
       *fLog << err << "ERROR - Size mismatch in number of areas ... abort." << endl;
-      return kFALSE;
+      return kERROR;
     }
   
@@ -914,5 +917,5 @@
     {
       *fLog << err << "ERROR - Size mismatch in number of sectors ... abort." << endl;
-      return kFALSE;
+      return kERROR;
     }
   
@@ -923,5 +926,5 @@
         {
           *fLog << err << "ERROR - Size mismatch in number of areas ... abort." << endl;
-          return kFALSE;
+          return kERROR;
         }
       
@@ -929,9 +932,11 @@
         {
           *fLog << err << "ERROR - Size mismatch in number of sectors ... abort." << endl;
-          return kFALSE;
+          return kERROR;
         }
     }
-  
-  return FillHists(par, w);
+
+  const Bool_t rc = FillHists(par, w);
+
+  return rc ? kTRUE : kERROR;
 }
 
Index: /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
===================================================================
--- /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h	(revision 9153)
@@ -180,5 +180,5 @@
   Bool_t SetupFill(const MParList *pList);
   Bool_t ReInit   (      MParList *pList);
-  Bool_t Fill     (const MParContainer *par, const Stat_t w=1);
+  Int_t  Fill     (const MParContainer *par, const Stat_t w=1);
   Bool_t Finalize ( );
 
Index: /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc	(revision 9153)
@@ -225,5 +225,5 @@
 // - FillRmsCharge(rms);
 //
-Bool_t MHCalibrationChargePINDiode::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHCalibrationChargePINDiode::Fill(const MParContainer *par, const Stat_t w)
 {
 
@@ -232,5 +232,5 @@
     {
       *fLog << err << "No argument in MExtractedSignalPINDiode::Fill... abort." << endl;
-      return kFALSE;
+      return kERROR;
     }
   
Index: /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.h
===================================================================
--- /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.h	(revision 9153)
@@ -72,5 +72,5 @@
   Bool_t SetupFill(const MParList *pList);
   Bool_t ReInit   (      MParList *pList);
-  Bool_t Fill     (const MParContainer *par, const Stat_t w=1);
+  Int_t  Fill     (const MParContainer *par, const Stat_t w=1);
   Bool_t Finalize ();
   
Index: /trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHAlpha.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHAlpha.cc	(revision 9153)
@@ -463,5 +463,5 @@
 // Fill the histogram. For details see the code or the class description
 // 
-Bool_t MHAlpha::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHAlpha::Fill(const MParContainer *par, const Stat_t w)
 {
     Double_t alpha, energy, theta;
Index: /trunk/MagicSoft/Mars/mhflux/MHAlpha.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHAlpha.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHAlpha.h	(revision 9153)
@@ -95,5 +95,5 @@
     // MH
     Bool_t SetupFill(const MParList *pl);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc	(revision 9153)
@@ -464,5 +464,5 @@
 }
 
-Bool_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight)
 {
     const Double_t energy = fMcEvt->GetEnergy();
Index: /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h	(revision 9153)
@@ -43,5 +43,5 @@
     Bool_t SetupFill(const MParList *pList);
     Bool_t ReInit(MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHDisp.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHDisp.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHDisp.cc	(revision 9153)
@@ -146,5 +146,5 @@
 // Fill the histogram. For details see the code or the class description
 // 
-Bool_t MHDisp::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHDisp::Fill(const MParContainer *par, const Stat_t w)
 {
     const MHillas *hil = dynamic_cast<const MHillas*>(par);
@@ -152,5 +152,5 @@
     {
         *fLog << err << "MHDisp::Fill: No container specified!" << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhflux/MHDisp.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHDisp.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHDisp.h	(revision 9153)
@@ -87,5 +87,5 @@
     // MH
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc	(revision 9153)
@@ -720,5 +720,5 @@
 //  Fill the histogram
 //
-Bool_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w)
 {
     const MTime *time = dynamic_cast<const MTime*>(par);
@@ -726,5 +726,5 @@
     {
         *fLog << err << "ERROR - MHEffectiveOnTime::Fill without argument or container doesn't inherit from MTime... abort." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h	(revision 9153)
@@ -66,5 +66,5 @@
     Bool_t SetupFill(const MParList *pList);
     Bool_t ReInit(MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc	(revision 9153)
@@ -187,5 +187,5 @@
 // Fill the histogram
 //
-Bool_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w)
 {
     const Double_t eest  = fEnergy->GetVal();
Index: /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h	(revision 9153)
@@ -48,5 +48,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.22 2007-06-24 16:31:57 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.23 2008-11-11 11:42:14 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -309,5 +309,5 @@
 // Fill the histogram. For details see the code or the class description
 // 
-Bool_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w)
 {
     const MHillas *hil = dynamic_cast<const MHillas*>(par);
@@ -315,5 +315,5 @@
     {
         *fLog << err << "MHFalseSource::Fill: No container specified!" << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhflux/MHFalseSource.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHFalseSource.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHFalseSource.h	(revision 9153)
@@ -94,5 +94,5 @@
     // MH
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     // TObject
Index: /trunk/MagicSoft/Mars/mhflux/MHPhi.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHPhi.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHPhi.cc	(revision 9153)
@@ -186,5 +186,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHPhi::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHPhi::Fill(const MParContainer *par, const Stat_t weight)
 {
     // Here we calculate an upper phi cut to take a
Index: /trunk/MagicSoft/Mars/mhflux/MHPhi.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHPhi.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHPhi.h	(revision 9153)
@@ -41,5 +41,5 @@
     // MH
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
 public:
Index: /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.9 2007-06-22 15:49:50 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.10 2008-11-11 11:42:14 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -215,5 +215,5 @@
 }
 
-Bool_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)
 {
     const TVector2 norm(GetVec(fHillas->GetNormAxis(), 6));
@@ -272,6 +272,7 @@
         SetVal(dist[i]);
 
-        if (!MHAlpha::Fill(NULL, w))
-            return kFALSE;
+        const Int_t rc = MHAlpha::Fill(NULL, w);
+        if (rc!=kTRUE)
+            return rc;
     }
 
Index: /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h	(revision 9153)
@@ -48,5 +48,5 @@
     // MH
     Bool_t SetupFill(const MParList *pl);
-    Bool_t Fill(const MParContainer *par, const Stat_t weight);
+    Int_t  Fill(const MParContainer *par, const Stat_t weight);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhflux/MHThreshold.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHThreshold.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHThreshold.cc	(revision 9153)
@@ -164,5 +164,5 @@
 }
 
-Bool_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight)
 {
     const Double_t energy = fMcEvt->GetEnergy();
Index: /trunk/MagicSoft/Mars/mhflux/MHThreshold.h
===================================================================
--- /trunk/MagicSoft/Mars/mhflux/MHThreshold.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhflux/MHThreshold.h	(revision 9153)
@@ -23,5 +23,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
 
     void Draw(Option_t *option="");
Index: /trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHCamEvent.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHCamEvent.cc	(revision 9153)
@@ -169,5 +169,5 @@
 // Fill the histograms with data from a MCamEvent-Container.
 //
-Bool_t MHCamEvent::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHCamEvent::Fill(const MParContainer *par, const Stat_t w)
 {
     const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
@@ -175,5 +175,5 @@
     {
         *fLog << err << dbginf << "Got no MCamEvent as argument of Fill()..." << endl;
-        return kFALSE;
+        return kERROR;
     }
     if (fUseThreshold)
Index: /trunk/MagicSoft/Mars/mhist/MHCamEvent.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHCamEvent.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHCamEvent.h	(revision 9153)
@@ -32,5 +32,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
 public:
Index: /trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHCamEventRot.cc	(revision 9153)
@@ -176,5 +176,5 @@
 // Fill the histogram. For details see the code or the class description
 // 
-Bool_t MHCamEventRot::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHCamEventRot::Fill(const MParContainer *par, const Stat_t w)
 {
     const MCamEvent *evt = dynamic_cast<const MCamEvent*>(par);
@@ -182,5 +182,5 @@
     {
         *fLog << err << "MHCamEventRot::Fill: No container specified!" << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhist/MHCamEventRot.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHCamEventRot.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHCamEventRot.h	(revision 9153)
@@ -49,5 +49,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const { return const_cast<TH2D*>(&fHist); }
Index: /trunk/MagicSoft/Mars/mhist/MHEvent.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHEvent.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHEvent.cc	(revision 9153)
@@ -191,5 +191,5 @@
 }
 
-Bool_t MHEvent::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHEvent::Fill(const MParContainer *par, const Stat_t weight)
 {
     if (fHist->IsFreezed())
@@ -197,5 +197,8 @@
 
     if (!par)
-        return kFALSE;
+    {
+        *fLog << err << "ERROR - par==NULL... abort." << endl;
+        return kERROR;
+    }
 
     const MCamEvent *event = dynamic_cast<const MCamEvent*>(par);
@@ -203,5 +206,5 @@
     {
         *fLog << err << par->GetDescriptor() << " doesn't inherit from MCamEvent... abort." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhist/MHEvent.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHEvent.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHEvent.h	(revision 9153)
@@ -52,5 +52,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
 
 public:
Index: /trunk/MagicSoft/Mars/mhist/MHHadronness.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHHadronness.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHHadronness.cc	(revision 9153)
@@ -200,5 +200,5 @@
 // are skipped at the moment.
 //
-Bool_t MHHadronness::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHHadronness::Fill(const MParContainer *par, const Stat_t w)
 {
     // Preliminary Workaround: FIXME!
@@ -206,5 +206,5 @@
     {
         *fLog << err << "MHHadronness::Fill: No MHadronness container specified!" << endl;
-        return kFALSE;
+        return kERROR;
     }
 
@@ -214,5 +214,5 @@
 
     if (!TMath::Finite(h))
-        return kCONTINUE;
+        return kTRUE;  // Use kCONTINUE with extreme care!
 
     const Int_t particleid = fMatrix ? (Int_t)(*fMatrix)[fMap] : fMcEvt->GetPartId();
Index: /trunk/MagicSoft/Mars/mhist/MHHadronness.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHHadronness.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHHadronness.h	(revision 9153)
@@ -49,5 +49,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhist/MHRate.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHRate.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHRate.cc	(revision 9153)
@@ -145,5 +145,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHRate::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHRate::Fill(const MParContainer *par, const Stat_t w)
 {
     const MTime *t = dynamic_cast<const MTime*>(par);
Index: /trunk/MagicSoft/Mars/mhist/MHRate.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHRate.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHRate.h	(revision 9153)
@@ -46,5 +46,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     void Draw(Option_t *opt="");
Index: /trunk/MagicSoft/Mars/mhist/MHStarMap.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHStarMap.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHStarMap.cc	(revision 9153)
@@ -189,5 +189,5 @@
 // Be careful: Only call this with an object of type MHillas
 //
-Bool_t MHStarMap::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHStarMap::Fill(const MParContainer *par, const Stat_t w)
 {
     const MHillas &h = *(MHillas*)par;
Index: /trunk/MagicSoft/Mars/mhist/MHStarMap.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHStarMap.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHStarMap.h	(revision 9153)
@@ -33,5 +33,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     Bool_t ReInit(MParList *pList);
Index: /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.cc	(revision 9153)
@@ -121,5 +121,5 @@
 // Fill the histograms with data from a MCamEvent-Container.
 //
-Bool_t MHTriggerLvl0::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHTriggerLvl0::Fill(const MParContainer *par, const Stat_t w)
 {
     const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
@@ -127,5 +127,5 @@
     {
         *fLog << err << dbginf << "Got no MCamEvent as argument of Fill()..." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.h	(revision 9153)
@@ -21,5 +21,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhist/MHWeather.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHWeather.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHWeather.cc	(revision 9153)
@@ -161,5 +161,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHWeather::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHWeather::Fill(const MParContainer *par, const Stat_t w)
 {
     const MTime *t = dynamic_cast<const MTime*>(par);
Index: /trunk/MagicSoft/Mars/mhist/MHWeather.h
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHWeather.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhist/MHWeather.h	(revision 9153)
@@ -41,5 +41,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     // If this is needed be aware that it would be called twice in star
Index: /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc	(revision 9153)
@@ -169,5 +169,5 @@
 // Fill the histograms with data from a MPixVsTime-Container.
 //
-Bool_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w)
 {
     const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
@@ -175,5 +175,5 @@
     {
         *fLog << err << dbginf << "No MCamEvent found..." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
@@ -182,5 +182,5 @@
     evt->GetPixelContent(val, fIndex, *fCam, fType);
     if (!TMath::Finite(val))
-        return kCONTINUE;
+        return kTRUE;  // Use kCONTINUE with extreme care!
 
     Double_t t = 0;
@@ -196,5 +196,5 @@
         evt->GetPixelContent(rms, fIndex, *fCam, fTypeErr);
         if (!TMath::Finite(rms))
-            return kCONTINUE;
+            return kTRUE;  // Use kCONTINUE with extreme care!
     }
 
Index: /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.h
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.h	(revision 9153)
@@ -39,5 +39,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
 public:
Index: /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.13 2007-02-01 11:24:19 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.14 2008-11-11 11:42:16 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -214,5 +214,5 @@
 // Fill the histograms with data from a MCamEvent
 //
-Bool_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w)
 {
     const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
@@ -220,5 +220,5 @@
     {
         *fLog << err << dbginf << "No MCamEvent found..." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.h
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.h	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-!  $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1.7 2007-02-01 11:24:19 tbretz Exp $
+!  $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1.8 2008-11-11 11:42:16 tbretz Exp $
 \* ======================================================================== */
 #ifndef MARS_MHSectorVsTime
@@ -57,5 +57,5 @@
     // MH
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc	(revision 9153)
@@ -205,5 +205,5 @@
 // Set the next data point. If the graph exceeds fMaxPts remove the first
 //
-Bool_t MHVsTime::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHVsTime::Fill(const MParContainer *par, const Stat_t w)
 {
     Double_t t = 0;
@@ -219,5 +219,5 @@
         {
             *fLog << err << dbginf << "No MTime found..." << endl;
-            return kFALSE;
+            return kERROR;
         }
         // If the time is not valid skip this entry
Index: /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h
===================================================================
--- /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mhvstime/MHVsTime.h	(revision 9153)
@@ -65,5 +65,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TString GetDataMember() const;
Index: /trunk/MagicSoft/Mars/mimage/MHHillas.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillas.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillas.cc	(revision 9153)
@@ -246,10 +246,10 @@
 // Be careful: Only call this with an object of type MHillas
 //
-Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHHillas::Fill(const MParContainer *par, const Stat_t w)
 {
     if (!par)
     {
         *fLog << err << "MHHillas::Fill: Pointer (!=NULL) expected." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHHillas.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillas.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillas.h	(revision 9153)
@@ -39,5 +39,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const;
Index: /trunk/MagicSoft/Mars/mimage/MHHillasExt.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillasExt.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillasExt.cc	(revision 9153)
@@ -178,5 +178,5 @@
 // Be careful: Only call this with an object of type MHillas
 //
-Bool_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w)
 {
     const MHillasSrc *src = (MHillasSrc*)par;
Index: /trunk/MagicSoft/Mars/mimage/MHHillasExt.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillasExt.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillasExt.h	(revision 9153)
@@ -37,5 +37,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const;
Index: /trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc	(revision 9153)
@@ -145,10 +145,10 @@
 // Be careful: Only call this with an object of type MHillas
 //
-Bool_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w)
 {
     if (!par)
     {
         *fLog << err << "MHHillasSrc::Fill: Pointer (!=NULL) expected." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHHillasSrc.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHHillasSrc.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHHillasSrc.h	(revision 9153)
@@ -30,5 +30,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const;
Index: /trunk/MagicSoft/Mars/mimage/MHImagePar.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHImagePar.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHImagePar.cc	(revision 9153)
@@ -163,10 +163,10 @@
 // Fill the histograms with data from a MNewImagePar container.
 //
-Bool_t MHImagePar::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHImagePar::Fill(const MParContainer *par, const Stat_t w)
 {
     if (!par)
     {
         *fLog << err << "MImagePar::Fill: Pointer (!=NULL) expected." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHImagePar.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHImagePar.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHImagePar.h	(revision 9153)
@@ -31,5 +31,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const;
Index: /trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc	(revision 9153)
@@ -224,10 +224,10 @@
 // Fill the histograms with data from a MNewImagePar container.
 //
-Bool_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w)
 {
     if (!par)
     {
         *fLog << err << "MHNewImagePar::Fill: Pointer (!=NULL) expected." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHNewImagePar.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHNewImagePar.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHNewImagePar.h	(revision 9153)
@@ -35,5 +35,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     TH1 *GetHistByName(const TString name) const;
Index: /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.cc	(revision 9153)
@@ -118,5 +118,5 @@
 // Fill the histograms with data from a MNewImagePar2 container.
 //
-Bool_t MHNewImagePar2::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHNewImagePar2::Fill(const MParContainer *par, const Stat_t w)
 {
     const MNewImagePar2 *h = dynamic_cast<const MNewImagePar2*>(par);
@@ -124,5 +124,5 @@
     {
         *fLog << err << "MHNewImagePar2::Fill: Pointer (!=NULL) expected." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHNewImagePar2.h	(revision 9153)
@@ -24,5 +24,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     void SetMmScale(Bool_t mmscale=kTRUE);
Index: /trunk/MagicSoft/Mars/mimage/MHVsSize.cc
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHVsSize.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHVsSize.cc	(revision 9153)
@@ -240,5 +240,5 @@
 // Be careful: Only call this with an object of type MHillas
 //
-Bool_t MHVsSize::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHVsSize::Fill(const MParContainer *par, const Stat_t w)
 {
     const MHillasSrc *src = dynamic_cast<const MHillasSrc*>(par);
@@ -246,5 +246,5 @@
     {
         *fLog << err << "MHVsSize::Fill: Wrong argument... abort." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mimage/MHVsSize.h
===================================================================
--- /trunk/MagicSoft/Mars/mimage/MHVsSize.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mimage/MHVsSize.h	(revision 9153)
@@ -40,5 +40,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     void Draw(Option_t *opt=NULL);
Index: /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc
===================================================================
--- /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mmuon/MHMuonPar.cc	(revision 9153)
@@ -170,5 +170,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHMuonPar::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHMuonPar::Fill(const MParContainer *par, const Stat_t w)
 {
     fHistRadius.Fill(fMm2Deg*fMuonSearchPar->GetRadius(), w);
Index: /trunk/MagicSoft/Mars/mmuon/MHMuonPar.h
===================================================================
--- /trunk/MagicSoft/Mars/mmuon/MHMuonPar.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mmuon/MHMuonPar.h	(revision 9153)
@@ -40,5 +40,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     const TH1F&     GetHistRadius() const    { return fHistRadius; }
Index: /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.cc
===================================================================
--- /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHSingleMuon.cc,v 1.17 2007-12-03 17:44:59 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHSingleMuon.cc,v 1.18 2008-11-11 11:46:25 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -197,5 +197,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHSingleMuon::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHSingleMuon::Fill(const MParContainer *par, const Stat_t w)
 {
     fRelTimeMean  =  0;
Index: /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.h
===================================================================
--- /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mmuon/MHSingleMuon.h	(revision 9153)
@@ -37,5 +37,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     Bool_t CalcPhi(Double_t, Double_t &, Double_t &) const;
Index: /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.3 2007-06-17 20:50:58 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHPedestalCor.cc,v 1.4 2008-11-11 11:49:49 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -103,5 +103,5 @@
 // Fill the histograms with data from a MCamEvent-Container.
 //
-Bool_t MHPedestalCor::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHPedestalCor::Fill(const MParContainer *par, const Stat_t w)
 {
     const MPedestalSubtractedEvt *evt = dynamic_cast<const MPedestalSubtractedEvt*>(par);
@@ -109,5 +109,5 @@
     {
         *fLog << err << dbginf << "Got no MCamEvent as argument of Fill()..." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.h
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpedestal/MHPedestalCor.h	(revision 9153)
@@ -20,5 +20,5 @@
     TProfile fProf;
 
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t Fill(const MParContainer *par, const Stat_t w=1);
 
 public:
Index: /trunk/MagicSoft/Mars/mpointing/MHPointing.cc
===================================================================
--- /trunk/MagicSoft/Mars/mpointing/MHPointing.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpointing/MHPointing.cc	(revision 9153)
@@ -152,5 +152,5 @@
 // MMuonSearchPar container.
 //
-Bool_t MHPointing::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHPointing::Fill(const MParContainer *par, const Stat_t w)
 {
     const MTime *t = dynamic_cast<const MTime*>(par);
@@ -168,5 +168,5 @@
         {
             *fLog << err << "ERROR: fReportSG==NULL... abort." << endl;
-            return kFALSE;
+            return kERROR;
         }
 
@@ -199,5 +199,5 @@
         {
             *fLog << err << "ERROR: fReportCosy==NULL... abort." << endl;
-            return kFALSE;
+            return kERROR;
         }
 
Index: /trunk/MagicSoft/Mars/mpointing/MHPointing.h
===================================================================
--- /trunk/MagicSoft/Mars/mpointing/MHPointing.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpointing/MHPointing.h	(revision 9153)
@@ -44,5 +44,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     void Draw(Option_t *opt="");
Index: /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc
===================================================================
--- /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc	(revision 9153)
@@ -135,5 +135,5 @@
 // deleted.
 //
-Bool_t MHSrcPosCam::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHSrcPosCam::Fill(const MParContainer *par, const Stat_t w)
 {
     const MSrcPosCam *cam = dynamic_cast<const MSrcPosCam*>(par);
@@ -141,5 +141,5 @@
     {
         *fLog << err << dbginf << "Got no MSrcPosCam as argument of Fill()..." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
Index: /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.h
===================================================================
--- /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.h	(revision 9153)
@@ -41,5 +41,5 @@
     // MH
     Bool_t SetupFill(const MParList *pl);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
 
     // MHSrcPosCam
Index: /trunk/MagicSoft/Mars/mranforest/MHRanForest.cc
===================================================================
--- /trunk/MagicSoft/Mars/mranforest/MHRanForest.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mranforest/MHRanForest.cc	(revision 9153)
@@ -111,5 +111,5 @@
 //
 //
-Bool_t MHRanForest::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHRanForest::Fill(const MParContainer *par, const Stat_t w)
 {
     fNumEvent++;
Index: /trunk/MagicSoft/Mars/mranforest/MHRanForest.h
===================================================================
--- /trunk/MagicSoft/Mars/mranforest/MHRanForest.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mranforest/MHRanForest.h	(revision 9153)
@@ -33,5 +33,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc
===================================================================
--- /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.cc	(revision 9153)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHRanForestGini.cc,v 1.8 2008-06-02 08:46:43 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHRanForestGini.cc,v 1.9 2008-11-11 11:46:50 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -94,5 +94,5 @@
     {
         *fLog << err << dbginf << "MRanForest not found... aborting." << endl;
-        return kFALSE;
+        return kERROR;
     }
 
@@ -107,5 +107,5 @@
 //
 //
-Bool_t MHRanForestGini::Fill(const MParContainer *par, const Stat_t w)
+Int_t MHRanForestGini::Fill(const MParContainer *par, const Stat_t w)
 {
     MRanTree *t = fRanForest->GetCurTree();
Index: /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.h
===================================================================
--- /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mranforest/MHRanForestGini.h	(revision 9153)
@@ -37,5 +37,5 @@
 
     Bool_t SetupFill(const MParList *plist);
-    Bool_t Fill(const MParContainer *par, const Stat_t w=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t w=1);
     Bool_t Finalize();
 
Index: /trunk/MagicSoft/Mars/mreflector/MHReflector.cc
===================================================================
--- /trunk/MagicSoft/Mars/mreflector/MHReflector.cc	(revision 9152)
+++ /trunk/MagicSoft/Mars/mreflector/MHReflector.cc	(revision 9153)
@@ -128,5 +128,5 @@
 //
 #include "MRflSinglePhoton.h"
-Bool_t MHReflector::Fill(const MParContainer *par, const Stat_t weight)
+Int_t MHReflector::Fill(const MParContainer *par, const Stat_t weight)
 {
     const Double_t energy = fHeader->GetEnergy();
Index: /trunk/MagicSoft/Mars/mreflector/MHReflector.h
===================================================================
--- /trunk/MagicSoft/Mars/mreflector/MHReflector.h	(revision 9152)
+++ /trunk/MagicSoft/Mars/mreflector/MHReflector.h	(revision 9153)
@@ -30,5 +30,5 @@
 
     Bool_t SetupFill(const MParList *pList);
-    Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
+    Int_t  Fill(const MParContainer *par, const Stat_t weight=1);
     Bool_t Finalize();
 
