Index: trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 7298)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCam.cc	(revision 7342)
@@ -68,12 +68,12 @@
 //
 // Default Constructor
-//
+/*
 MGeomCam::MGeomCam()
-    : fNumPixels(0), fCamDist(0), fConvMm2Deg(0), /*fPixels(1000),*/ fMaxRadius(1), fMinRadius(1)
+    : fNumPixels(0), fCamDist(0), fConvMm2Deg(0),  fMaxRadius(1), fMinRadius(1)
 {
     fName  = "MGeomCam";
     fTitle = "Storage container for a camera geometry";
 }
-
+*/
 // --------------------------------------------------------------------------
 //
@@ -313,5 +313,5 @@
 TObject *MGeomCam::Clone(const char *newname) const
 {
-    if (IsA()==MGeomCam::Class())
+    //if (IsA()==MGeomCam::Class())
     {
         MGeomCam *cam = new MGeomCam(fNumPixels, fCamDist);
Index: trunk/MagicSoft/Mars/mgeom/MGeomCam.h
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomCam.h	(revision 7298)
+++ trunk/MagicSoft/Mars/mgeom/MGeomCam.h	(revision 7342)
@@ -43,6 +43,6 @@
 
 public:
-    MGeomCam();
-    MGeomCam(UInt_t npix, Float_t dist, const char *name=NULL, const char *title=NULL);
+    //MGeomCam();
+    MGeomCam(UInt_t npix=0, Float_t dist=1, const char *name=NULL, const char *title=NULL);
 
     virtual TObject *Clone(const char *newname=NULL) const;
Index: trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 7298)
+++ trunk/MagicSoft/Mars/mgeom/MGeomPix.cc	(revision 7342)
@@ -76,4 +76,5 @@
     //  default constructor
     Set(x, y, r, s, a);
+    SetNeighbors();
 }
 
Index: trunk/MagicSoft/Mars/mgeom/MGeomPix.h
===================================================================
--- trunk/MagicSoft/Mars/mgeom/MGeomPix.h	(revision 7298)
+++ trunk/MagicSoft/Mars/mgeom/MGeomPix.h	(revision 7342)
@@ -32,5 +32,5 @@
 
 public:
-    MGeomPix(Float_t x=0, Float_t y=0, Float_t d=0, UInt_t s=0, UInt_t aidx=0);
+    MGeomPix(Float_t x=0, Float_t y=0, Float_t d=1, UInt_t s=0, UInt_t aidx=0);
 
     void Copy(TObject &obj) const
@@ -50,5 +50,5 @@
     void Print(Option_t *opt=NULL) const;
 
-    void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; }
+    void Set(Float_t x, Float_t y, Float_t d=1, UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; }
 
     void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1,
