TTree Draw/Scan/Project

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Tue, 6 Oct 2009 22:05:51 +0200


Hello,

i would have naive question

Let's consider 2 TTree

TTree *tree1;
TTree *tree2;

tree1 contains variable1
tree2 contains variable2

How to do (in the easiest way) something like :

tree1.Draw("variable1:variable2","easy condition on variable2")

if i do this last command, variable2 is not known whereas i don't do : tree2.Draw("variable2")

i mean how to access from a tree a variable that is in another tree

thank you Received on Tue Oct 06 2009 - 22:06:01 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 14 2009 - 11:50:05 CEST