List of floating point values

This is a bit of a silly post. I’m fishing for ideas.

It is often convienient for me to read lists of xy or xyz data points. I am very lazy,
and don’t really want to be bothered with finding the number of points ahead of time
and then dynamically allocating the space necessary.

I’m a really big fan of using TList and the TList iterators for this. I have used a wrapper around TPoints such that the new class is a TObject and can be a TList.

I was wondering if I’m missing some better way of doing this. Would it be worthwhile
to make TPoints a TObject or just continue the way I am working?

Comments most welcome!
Chris

Use the TGraph constructor reading from a file, or if more than 2 variables to read, use TNtuple::ReadFile

Rene