Index: /trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
===================================================================
--- /trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 8921)
+++ /trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 8922)
@@ -31,8 +31,4 @@
 // a single pixel together with the information about next neighbors.
 //
-// The BIT(22) and BIT(23) is used to flag the pixels in the outer
-// and outermost ring. Please don't use this bits in conjuction with
-// MGeomPix.
-//
 //
 // Version 1:
@@ -47,4 +43,8 @@
 // ----------
 //  - added fAidx
+//
+// Version 4:
+// ----------
+//  - added fUserBits
 //
 //
@@ -103,5 +103,5 @@
     fNumNeighbors = i;
 
-    fNumNeighbors<5 ? SetBit(kIsInOutermostRing) : ResetBit(kIsInOutermostRing);
+    fNumNeighbors<5 ? SETBIT(fUserBits, kIsInOutermostRing) : CLRBIT(fUserBits, kIsInOutermostRing);
 }
 
@@ -116,10 +116,10 @@
         return;
 
-    ResetBit(kIsInOuterRing);
+    CLRBIT(fUserBits, kIsInOuterRing);
 
     for (int i=0; i<fNumNeighbors; i++)
         if (cam[fNeighbors[i]].IsInOutermostRing())
         {
-            SetBit(kIsInOuterRing);
+            SETBIT(fUserBits, kIsInOuterRing);
             return;
         }
