Re: [ROOT] floating point exception help

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 14 2002 - 14:31:24 MET


Hi Bill,

I do not see a problem with picking TArcs.
Could you send me a copy of your canvas in the form canvas.C and canvas.root ?

Rene Brun

William Hanlon wrote:
> 
> Hi,
> 
> I using the ROOT gui classes (TG*) to write a stand alone display
> program. I have a canvas on which I draw a lot of TArcs to represent a
> detector, then I overlay another set of TArcs to represent elements of
> the detector that have been "hit".
> 
> My problem is that when I move my mouse over a TArc that represents a
> hit element I get "*** Break *** floating point exception" in my shell
> window. This does not happen though when I move my mouse over TArcs
> that are not "hit". I draw my TArcs through a function call using a
> statically allocated TArc then drawing this TArc repeatedly through a
> call of DrawArc for each detector element needed.
> 
> I do not see a difference in the general method by which I implement
> hit and non-hit elements, so I do not understand why I have this
> problem only for TArcs that represent hit elements.
> 
> Does anyone have an idea as to what would cause a floating point
> exception when mousing over a gui element like the one I described?
> 
> Thanks,
> Bill



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET