[ROOT] delimiter in branch name

From: Dave Morrison (dave@bnl.gov)
Date: Tue Mar 05 2002 - 21:30:21 MET


Hi everyone,

I've attached a little project that illustrates a problem I'm having. 
 Just untar and type make to generate a ROOT file containing a branch 
which has a non-alphanumeric in the name (in this case it's a '/', but I 
see the same behavior for other characters).  The object on the branch 
has a TClonesArray of Int_t's.  Nothing too complicated.  In ROOT 
3.01/06, the following:

root [1] T.Draw("f[].i")                        

produces what you'd expect - a histogram of all the values of 'i' for 
all the events in the file.  In ROOT 3.02/07 (or 3.03/02), I get the 
following:

root [1] 
T.Draw("f[].i")                                                    

*ERROR 26 :
 Unknown name : "f[].i"

I've tried stepping through TTreeFormula::DefinedVariable - the change 
in behavior seems to be localized there, or perhaps in something called 
from there - but that's fairly convoluted code.  This is a hugely 
simplified cartoon of some of our code, so I'm interested in a 
continuation of the original behavior.  Any pointers would be welcome.

Dave









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