getting values of leaves from ntuples

From: Jason Seely (seely@MIT.EDU)
Date: Fri Sep 06 2002 - 13:02:05 EDT


hi eveyone,

how's it going?  i'm trying to figure out how to get the numerical value of a leaf in a chain for a particular event.  This seems like it should be straightforward, but i can't find a member that does it.  i would like to be able to do something like this:

  TChain *t = new TChain("ntp");
  t->Add("rootfile.root");

  Float_t p = t->GetValue("leafp",eventindex);

does any one know an easy way to do this?
thanks,
jason
-- 
--------------------------------------------------------------------
jason seely
26.650.b
massachusetts institute of technology
77 massachusetts avenue
cambridge, ma 02139-4307

email:  seely@mit.edu
phone:  617.253.4772/6734
 html:  web.mit.edu/seely/www
--------------------------------------------------------------------
 



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:28 EST