root-1.00/10 bugs ?

From: Nikolay I. Root (N.I.Root@inp.nsk.su)
Date: Fri May 23 1997 - 04:56:26 MEST


   Dear ROOT.

Today I unload latest available versions (1.00/10 and 1.01/02) of root
executables
for IRIX-5.3 (native C++) via WWW and found some strange differencies
with previos version that I had (1.00/06).

1. I convert with h2root my CWN. In CWN I have variable length
array EPHOT[NPHOT].
In v.1.00/06, when I plot:
tree->Draw("Ephot[1]");
I got expected result - histogram for events with Nphot>=2.
But in both new versions I got some junk peak with zero width
at unpredictable position. (Position depend on array index)
But when I explicitly plot:
tree->Draw("Ephot[1]","Nphot>1");
result was OK.
This is a bug or new feature?
Sure, I convert my CWN with h2root that come with corresponding
version. (compression ratio increased with new versions - I assume
it's OK) 

2. In v.1.00/06 I can browse TTree object variables (with TBrowser),
but in new versions when I double-click on TTree object,
I can see on very short moment the variables gallery and after that
the picture tree icon restored (in right browser window).
The same story with hsimple demo - you can only look on
TH1 / TH2 objects, but not TTree variables.

3. In all three versions that I try (1.00/06, 1.00/10, 1.01/02) -
I can not plot fixed length array variables.
It's possible or not?
I try do it with TBroser (for 1.00/06) and with:
tree->Draw("x[0]");
and got the same diagnostic:
Unknown name x[0]       <-- or smth. like this.
Is it only SGI versions problem?
May be the reason, that CWN has not constant value
with array dimension befor array variables?

And let me one newble Q.:
When I select TTree::Draw menu from Browser,
what I need to fill in fields:
(class TCut) varexp
(Class TCut) selection
...
all my naive expectation fails:
I try to supplay variable name
and selection like in Draw method,
but get
(unknown)
char
int
int
Error: Incorrect referencing of $NPHOT  FILE: LINE:0
Error: No symbol NPHOT in current scope  FILE: LINE:0
Error: No symbol NPHOT in current scope  FILE: LINE:0
Error: class,struct,union or type (unknown) not defined  FILE: LINE:0

 *** Break *** segmentation violation

Unfortunatly, I delete previous 1.00/06 version and can not
check this for it. 
And related Q: Is it possible to unload v.1.00/06 ?
(I can not find link on old versions in WWW page)

Best regards, Nikolay.
                               Nikolay Root
                               BINP, Novosibirsk
                               email : nroot@inp.nsk.su



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET