Philippe Canal wrote:
> Hi Walter,
>
> Can you give me access to your ROOT file so that I can reproduce the
> problem?
>
>> tree->Draw("pct.t.amp[0]:pct.t.xo");
>>works, but of course displays a different correlation (usually
>>not the intended one).
>
> This should be the same as tree->Draw("pct.t.amp[0][]:pct.t.xo"); (which is
> different for the other call you mentioned). How is it different from what
> you expect?
The problem I wanted to address is that ROOT crashes when one enters
tree->Draw("pct.amp[0]:pct.xo")
or
tree->Draw("pct.t.amp[0]:pct.xo")
while it works fine for
tree->Draw("pct.t.amp[0]:pct.t.xo")
It is true (and I checked) that
tree->Draw("pct.t.amp[0][]:pct.t.xo")
tree->Draw("pct.t.amp[0]:pct.t.xo")
give the same result. My remark "usually not the intended one" was a
little misleading and just refected that sometimes people type "amp[0]"
when they want to see "amp[][0]", so they get "amp[0][]" which is a
different thing.
Cheers, Walter
--
Walter F.J. Mueller Mail: W.F.J.Mueller@gsi.de
GSI, Abteilung KP3 Phone: +49-6159-71-2766
D-64291 Darmstadt FAX: +49-6159-71-2989
WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET