Re: [ROOT] how to get the list of Root variables

From: Brett Viren (bv@bnl.gov)
Date: Mon Mar 10 2003 - 18:44:53 MET


Silvia Tentindo-Repond writes:
 > 
 > Hi Rooters,
 > 
 > what is the command to get the list of variables contained in a
 > Root file?  If I type :
 > 
 > f1->ls();  where f1 is my .root file, I get the list of histos and
 > titles; if I type
 > f1->Print(); I just get a general info about the file.
 > 

Use a browser:

root [0] TBroswer b

Then double click: 

	"ROOT Files"->"somefile.root"->"treename"->"classname"

-Brett.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET