+ // char * name = AliMUONSegmentPosition::Name(x,y);
+
+// if (GetIndexFromPosition( AliMUONSegmentPosition::Name(x,y)) )
+// return GetIndexFromPosition( AliMUONSegmentPosition::Name(x,y) );
+
+// Float_t xl= ((Int_t) x*10 )/10.;
+// Float_t yl= ((Int_t) y*10 )/10.;
+// Int_t ix,iy, ixp;
+
+// for(ix=1; ix<4; ix++) {
+// xl = ((Int_t) 0.5+10.*(x + ((Float_t) ix )*0.1))/10.;
+// for(iy=-ix; iy<ix+1; iy++) {
+// printf("A %d and %d and %f and %f \n",ix,iy,xl,yl);
+// yl = ((Int_t) 10.*(y + ((Float_t) iy )*0.1))/10. ;
+// sprintf(name,"%5.1f-%5.1f",xl, yl);
+// if (GetIndexFromPosition(name)) break;
+// }
+// if (GetIndexFromPosition(name)) break;
+
+
+// for(ixp=ix-1; ixp>-ix-1; ixp--) {
+// xl = ((Int_t) 0.5+10.*(x + ((Float_t) ixp )*0.1))/10. ;
+// printf("B %d and %d and %f and %f \n",ixp,ix, xl, yl);
+// sprintf(name,"%5.1f-%5.1f",xl, yl);
+// if (GetIndexFromPosition(name)) break;
+// }
+// if (GetIndexFromPosition(name)) break;
+
+// for(iy=ix-1; iy>-ix-1; iy--) {
+// yl = ((Int_t) 0.5+10.*(y + ((Float_t) iy )*0.1))/10. ;
+// printf("C %d and %d and %f and %f \n",-ix,iy,xl,yl);
+// sprintf(name,"%5.1f-%5.1f",xl, yl);
+// if (GetIndexFromPosition(name)) break;
+// }
+// if (GetIndexFromPosition(name)) break;
+
+// for(ixp=-ix+1; ixp<ix+1; ixp++) {
+// xl = ((Int_t) 0.5+10.*(x + ((Float_t) ixp )*0.1))/10. ;
+// printf("D %d and %d and %f and %f \n",ixp,-ix,xl,yl);
+// sprintf(name,"%5.1f-%5.1f",xl, yl);
+// if (GetIndexFromPosition(name)) break;
+// }
+// if (GetIndexFromPosition(name)) break;
+// }
+// return GetIndexFromPosition(name);
+ return 0x0;
+}