Index: /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc	(revision 2004)
+++ /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc	(revision 2005)
@@ -49,6 +49,4 @@
 #include "MGeomCamMagic.h"
 #include "MCamDisplay.h"
-
-#include "MCluster.h"
 
 #include "MMcTrig.hxx"
@@ -260,10 +258,4 @@
 {
 
-  // MCluster temp;
-  //MCluster &clust = (temp).FindCluster();
-  //  temp=*clust;
-
-  // Reads the number of NN that define a compact pixel
-
   // Find the Lut and cell with the higher LutPseudoSize. 
   int lutcell = CalcBiggerLutPseudoSize(); 
@@ -275,5 +267,5 @@
 
   fSizeBiggerCell = GetCellNumberFired(CalcBiggerFiredCell());
- 
+
 }
 
@@ -347,7 +339,4 @@
     }
 
-  //fCam->Draw(); 
-  //fCam->Reset();
-
   //
   // Set the array of colors for each pixel (that will be painted after 
@@ -358,5 +347,5 @@
   for(int i=0; i<577; i++)
     {
-      color = (fMcTrig->IsPixelFired(i,0)) ? 5 : 3;
+      color = (fMcTrig->IsPixelFired(i,0)) ? 1 : 2;
       fCam->SetPix( i, color, 1, 5 );
     }
@@ -709,5 +698,5 @@
 void MMcTriggerLvl2::CalcPseudoSize()
 {
-      *fLog <<" In CalcPseudoSize  ";
+  // Fill the fCompactPixel array with the compact pixels
   CalcCompactPixels(fGeomCam);
 
@@ -727,4 +716,5 @@
       int pixcell =gsPixelsInLut[maxlut][pixlut];
       startpix = gsPixelsInCell[pixcell][maxcell]-1;
+      *fLog << "pix, compact:" << startpix << "@"<<fCompactPixel[startpix];
       if (fCompactPixel[startpix]) // a starting pixel was found
 	break;
@@ -815,4 +805,7 @@
 	  
 	  fCompactPixel[pixid]=1; // pixel is compact
+
+	  *fLog << ","<<pixid;
+
 	  break;
 	}      
Index: /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h
===================================================================
--- /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h	(revision 2004)
+++ /trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.h	(revision 2005)
@@ -13,6 +13,4 @@
 class MGeomCam;
 class MGeomPix;
-
-class MCluster;
 
 class MMcTriggerLvl2 : public MParContainer
