TTree::Draw and functions

Hi,

The functions used by TTree::Draw have to take simple numerical arguments and return simple numerical arguments. I.e. only int, floats, double, etc. and no array or objects.

To use function works on arrays, you should use the new TTree Proxy mechanism released in ROOT 4.00/08 where you can run a function in context where the branchname can be used as variables.

Cheers,
Philippe.