[ROOT] RE: TSelectorDraw::ProcessFillObject

From: Philippe Canal (pcanal@fnal.gov)
Date: Sat Nov 22 2003 - 18:10:32 MET


Hi Thomas,

To just 'remove' the warning, you would need to add code to
TSelectorDraw::ProcessFillObject to support TArrayD (and other Objects).
However the large draw back is that it really considers the object as a
unique entity and TTreeFormula does not know it is a compound value (in
particular this means that fancy expression with [] are not handled in a
'natural' way).

To implement it properly, in the context of upgrade the support for STL
containers, I am currently working on an abstract interface that will
'teach' TTreeFormula how to handle any type of containers (as long as there
is an implementation of the abstract interface).   This interface will be
used not only for the STL containers but also for the ROOT containers and
could be for any user containers.  

If you are interested in helping develop/test this addition, please let me
know :)

Cheers,
Philippe.

---------- Forwarded message ----------
Date: Sat, 22 Nov 2003 14:07:31 +0100 (MET)
From: Thomas Bretz <Thomas_Bretz@ph.tum.de>
To: roottalk@pcroot.cern.ch

Dear all,

Opening a stored class in the TBrowser containing a fixed size array
(double array[12]) and clicking on it results in a nice plot of all values
contained. Doing the same for a variable size array (TArrayD) I get
Warning in <TSelectorDraw::ProcessFillObject>: Not implemented for TArrayD
Is it difficult to implement this? Can you provide this feature for the
next root version or can you point me to the place in the code which I
would have to change?

Thanks in advance,
Thomas.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET