[ROOT] TBranch

From: Giuseppe Lo Re (giuseppe.lore@ct.infn.it)
Date: Tue Sep 18 2001 - 13:24:28 MEST


Hi Rooters,
I have a tree with several branches (branch1, branch2, ..).
Currently I use just 1 branch as follows:


TBranch *mybranch=mytree->GetBranch("branch1");

for (j=0; j<N; j++) {						
       myclass *obj=new myclass;				
       mybranch->SetAddress(&obj);
       mytree->GetEvent(j); 
        .......
	.......  					
}

Now I want to use the data contained both in branches1 and branches2.
How could I do?
Thanks for any help,
	Giuseppe



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