Re: [ROOT] Event handling or graphing huge datasets

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Mar 08 2002 - 11:38:57 MET


Hi Jacek,

Jacek M. Holeczek wrote:
> 
> My 5 cents.

Not enough !!

The default output of TTree::Draw("y:x") is a TPolyMarker object with as many
points as entries in the Tree. If you know that the number of entries
is such that it DOES NOT MAKE SENSE to draw them on a screen, you should use
the "hist" or "scat" or any other option like "lego", etc.

What MAKES SENSE may depend if you run locally on your desk/laptop,
the resources available (graphics memory), etc. It seems difficult to implement
a logic switching automatically to one of the modes indicated above.
Implementing a logic like the one indicated by Tony Colley for polylines
could be implemented, but it would be only a partial cure to the problem.

Rene Brun


> 
> > I was mistaken... I was accidently testing with 10^6 points and not 10^7
> > points. That extra order of magnitude causes a crash in ROOT with the
> > following message:
> >
> >   *** BREAK *** write on a pipe with no one to read it
> >   Error in <RootX11IOErrorHandler>: fatal X11 error (connection to server
> > lost?)
> >   *** Save data and exit application ***
> 
> Please see my earlier mail :
>         http://root.cern.ch/root/roottalk/roottalk02/0561.html
> I also observed a root crash as soon as more then about 1e7 events were
> used in "SetEstimate". No solution has been offered / found.
> The visual effect was that the "Draw" command exited giving the proper
> number of events (4390625), the canvas was drawn with correct axises (both
> x- and y-axis limits were o.k.), but no points were drawn and a moment
> later the canvas was closed and I got the error that you saw.
> 
> I suspected that there was somewhere a "float" instead of a "double", so
> that "1e7" is the same as "1e7 + 1".
> 
> Best regards,
> Jacek.



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