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:
- 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;
- 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!
=== CODE ===
TCanvas c03 = new TCanvas(“c03”,“c03”,0,300,500,500);
e1 = new TEllipse(XC,YC,RMin,RMin,Phi1/Pi180.0,Phi2/Pi180.0,0.0);
e2 = new TEllipse(XC,YC,RMax,RMax,Phi1/Pi180.0,Phi2/Pi*180.0,0.0);