Stephen_Eichblatt wrote: > Hi, > > Perhaps this question has been adressed many times, but i often find myself confused > as to which root objects i have loaded and what they are called. > Is there something like in PAW "units" or in unix a "cd / ; ls" that will tell me > what i have loaded? If you have connected one file (say file1), you can do: Root > .ls // will list all objects in current directory/file Root > gDirectory->ls(); // same as above Root > file1->ls(); //same as above If you have many files, you can do: Root > gROOT->GetListOfFiles()->ls(); // will list all objects in all files Another way is to use the browser: Root > TBrowser b; then click on item "Root files",etc Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET