[ROOT] Draw command using branches located separate trees.

From: Malcolm Davidson (davidson@cesbio.cnes.fr)
Date: Wed Apr 04 2001 - 19:16:25 MEST


Hello,

What would be the recommended way for drawing a variable in one tree vs. a 
variable in another tree (assuming that the number of entries is the same 
for each branch) ?

For instance I have the following file with trees "IEM_EXP_Valid_Tree" 
located in both subdirectory "inc20" and "inc40". I would like issue a 
command similar to Draw("t1.rms":"t2.rms") where t1 is tree 
"inc20/IEM_EXP_Valid_Tree" and t2 is tree "inc40/IEM_EXP_Valid_Tree".
--------------file listing 
-------------------------------------------------------------------------
TFile**         IEM2.root
  TFile*         IEM2.root
   TDirectory*           inc20   inc20
    OBJ: TTree   IEM_EXP_Valid_Tree      Validity Domain - Exponential IEM : 0
    KEY: TTree   IEM_EXP_Valid_Tree;1    Validity Domain - Exponential IEM
   TDirectory*           inc40   inc40
    OBJ: TTree   IEM_EXP_Valid_Tree      Validity Domain - Exponential IEM : 0
    KEY: TTree   IEM_EXP_Valid_Tree;1    Validity Domain - Exponential IEM

Thanks in advance for any help.

Malcolm


<>------------------------------------------------<>
Malcolm W. J. Davidson
CESBIO - UMR 5639 CNES-CNRS-UPS
18 Avenue Edouard Belin
BP 2801
F-31401 Toulouse Cedex 4  France
e-mail : davidson@cesbio.cnes.fr
phone (33)(0)5.61.55.85.84
fax   (33)(0)5.61.55.85.00
<>------------------------------------------------<>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:41 MET