Index: trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mmain/MEventDisplay.cc	(revision 2550)
+++ trunk/MagicSoft/Mars/mmain/MEventDisplay.cc	(revision 2557)
@@ -446,18 +446,5 @@
     // Add Geometry tab
     //
-    MGeomCam *geom = (MGeomCam*)plist->FindObject("MGeomCam");
-
-    TCanvas &c=AddTab("Geometry");
-
-    c.SetFillColor(16);
-
-    MHCamera *cam = new MHCamera(*geom);
-    cam->SetBit(TH1::kNoStats|MHCamera::kNoLegend);
-    cam->Draw();
-    cam->DrawPixelIndices();
-    fList->Add(cam);
-
-    c.Modified();
-    c.Update();
+    AddGeometryTabs();
 
     //
@@ -485,5 +472,5 @@
 //  Adds the geometry tab 
 //
-void MEventDisplay::AddGeometryTab()
+void MEventDisplay::AddGeometryTabs()
 {
     MGeomCam *geom = (MGeomCam*)fEvtLoop->GetParList()->FindObject("MGeomCam");
@@ -491,14 +478,23 @@
         return;
 
-    TCanvas &c=AddTab("Geometry");
+    TCanvas &c1=AddTab("Geometry");
 
     MHCamera *cam = new MHCamera(*geom);
-    cam->SetBit(TH1::kNoStats);
-    cam->Draw();
-    cam->DrawPixelIndices();
+    cam->SetBit(TH1::kNoStats|MHCamera::kNoLegend|kCanDelete);
+    cam->Draw("pixelindex");
     fList->Add(cam);
 
-    c.Modified();
-    c.Update();
+    c1.Modified();
+    c1.Update();
+
+    TCanvas &c2=AddTab("Sectors");
+
+    cam = new MHCamera(*geom);
+    cam->SetBit(TH1::kNoStats|MHCamera::kNoLegend|kCanDelete);
+    cam->Draw("sectorindex");
+    fList->Add(cam);
+
+    c2.Modified();
+    c2.Update();
 }
 
