I'v two files: "tree1.root" and "tree2.root", which contain TTree object
"T" with varible "aa1" and "aa2", respectively. When typing:
** TChain chain("T");
** chain.Add("tree1.root");
** chain.Add("tree2.root");
** chain.Draw("aa1");
** chain.Draw("aa2");
It will draw varible "aa1" successfully but shows the
following messages:
** *ERROR 26 :
** Unknown name : "aa2"
If I change the sequence of adding "tree1.root" and "tree2.root", i.e.
** ...........
** chain.Add("tree2.root");
** chain.Add("tree1.root");
** chain.Draw("aa1");
** chain.Draw("aa2");
It'll shows:
** *ERROR 26 :
** Unknown name : "aa1"
As I understand the TChain should deal with the variable from all the
files in the chain. Is it true that I misunderstand its meaning ?
Sincerely yours
Xie
* * * * *
* *
Mail:
Department of Particle Physics
Weizmann Institute of Science
Rehovot 76100 ISRAEL
W__W ---------------------------------- W__W
/ \ PHONE : 972 8 9343372 (o) 9471872 (h) / \
( 0 _ 0) FAX : 972 8 9344106 (0 _ 0 )
\_ V_/ E-mail: xiewei@ceres.weizmann.ac.il \_^ _/
/ \ / \
=OOOo=======oOOO====================================OOOo=======oOOO======