Problem Draw()ing sum of certain branches on a h2root Tree

Hi Rooters

I have a file containing a Root Tree which was derived from a PAW ntuple using
h2root. There seems to be a problem with a certain set of branches of this Tree.
The following command works fine:

tv__tree->Draw(“sshl1e”,"","", 46, 0);

as does the sum of most sets of branches:

tv__tree->Draw(“ebeam + W”,"","", 2134, 0);

however, when I try a sum which includes certain branches

tv__tree->Draw(“sshl1e + sshl2e”,"","", 46, 0);

CINT produces the following error.

*ERROR 26 :
Unknown name : “sshl1e+sshl2e”

I am at a loss to explain this. I guessed that there was something wrong
with the file itself, but don’t know what it could be. Everything else seems
to work fine with this Tree. I have included a small file which contains a
sample of this Tree. Please would someone shed some light on this matter …

Thanks
Mark

Red Hat Linux release 8.0 (Psyche)
Kernel 2.4.18-17.8.0 on an i686

Root Version 3.05/06
coin46415.root (22.5 KB)

Hi,

In

("sshl1e + sshl2e")TFormula (hence TTree::Draw) is confused by the 1e+...(It thinks it should be an exponent notation :frowning:

To work around the problem use

Cheers,
Philippe

Hi,

This problem is now fixed.

Cheers,
Philippe.