Index: /trunk/Mars/fact/processing/numevents.C
===================================================================
--- /trunk/Mars/fact/processing/numevents.C	(revision 15480)
+++ /trunk/Mars/fact/processing/numevents.C	(revision 15481)
@@ -55,4 +55,5 @@
     Float_t fNumSigEvts         = 0;
     Float_t fNumExcEvts         = 0;
+    Float_t fNumIslandsMean     = 0;
 
     //loop over the data files
@@ -115,5 +116,11 @@
             }
 
+            //the number of events after cleaning
             fNumEvtsAfterCleaning = star_tree->GetEntries();
+
+            //get the mean number of islands in the _I.root file on runbasis
+            star_tree->Draw("MImagePar.fNumIslands>>IslandHisto","","");
+            TH1F *HistJo = (TH1F*)gDirectory->Get("IslandHisto");
+            fNumIslandsMean = HistJo->GetMean();
         }
 
@@ -199,10 +206,12 @@
                     " fNumBgEvts=%5.1f, "
                     " fNumSigEvts=%5.1f, "
-                    " fNumExcEvts=%5.1f ",
+                    " fNumExcEvts=%5.1f "
+                    " fNumIslandsMean=%5.4f ",
                     fNumEvtsAfterQualCuts,
                     fNumEvtsAfterBgCuts,
                     fNumBgEvts,
                     fNumSigEvts,
-                    fNumExcEvts
+                    fNumExcEvts,
+                    fNumIslandsMean
                    );
         if (!pernight)
