Re: [ROOT] How to list files

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Mon Jul 28 2003 - 17:07:52 MEST


 Hi Satoru,

TIter next(gROOT->GetListOfFiles());
TObject *obj;
while ((obj=next())) obj->ls();

HTH. Regards. Valeriy

> Dear ROOT developers and users,
> 
> is there any way to list currently opened files?
> I found gROOT->GetListOfFiles()->Print() prints file names,
> but I want to know also associated TFile object instance names
> as "ldir //" command of PAW shows file name and LUN.
> 
> 
>    Best regards,
>    Satoru Kameoka
>    
> 



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