RE: [ROOT] how to store the branch of a tree in an array

From: Philippe Canal (pcanal@fnal.gov)
Date: Wed Mar 17 2004 - 19:25:39 MET


Hi,

This simpliest is probably for you to use MakeClass or MakeSelector
to setup the addresses.   
You can also call your TTree::SetBranchAddress or use a TTreeFormula.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Deepali Sharma
Sent: Wednesday, March 17, 2004 9:11 AM
To: roottalk@cern.ch
Subject: [ROOT] how to store the branch of a tree in an array


hii all,
i am a beginner and i have a problem that is simple. actually i have a
tree and i am reading it using
tree->GetEntry(i);  method.i have aloop over all the entries.now i want to
store one particular branch in an
array as for different entries i have the same value of that variable.how
can i do it.
thanks
deepali
deepali.sharma@weizmann.ac.il



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET