TEllipse

Hello, I am using the TEllipse class to draw on a 2D histogram a sort region-of-interest.
This region is the part between two concentric rings. Below I attach the code.
I would like to have some help from you:

  1. to remove the “white” lines connecting the fraction of the rings to their centre. At the moment I ask “e1->SetNoEdges(kTRUE);” but apparently the superposition is too strong and I get “white” lines as heritage of the radii;
  2. is there a simple way to “close” the region-of-interest? Or I have to draw two short lines by hand?
    Thanks a lot in advance for your help!
    Regards, Davide

=== CODE ===
TCanvas c03 = new TCanvas(“c03”,“c03”,0,300,500,500);
c03->SetFillColor(10);
c03->Modified();
c03->SetGrid();
HPD1->Draw(“colz”);
e1 = new TEllipse(XC,YC,RMin,RMin,Phi1/Pi
180.0,Phi2/Pi180.0,0.0);
e1->SetFillStyle(4000);
e1->SetLineWidth(4);
e1->SetLineColor(kMagenta);
e1->SetNoEdges(kTRUE);
e1->Draw(“same”);
e2 = new TEllipse(XC,YC,RMax,RMax,Phi1/Pi
180.0,Phi2/Pi*180.0,0.0);
e2->SetFillStyle(4000);
e2->SetLineWidth(4);
e2->SetLineColor(kMagenta);
e2->SetNoEdges(kTRUE);
e2->Draw(“same”);
c03->Update();
c03->Print(“hpd3_image.gif”);

Use class TCrown instead of two ellipses. See:
root.cern.ch/root/html/TCrown.html

Rene

Dear Rene, thanks a lot!
Davide