Hi!
Oh yes, thank you for the obvious solution ;-)
Cheers,
Ingo
Fons Rademakers wrote:
>
> Hi Ingo,
>
> once you have the chain you could do:
>
> TIter next(myfiles->GetListOfFiles());
> TFile *f;
> while ((f = (TFile*)next()))
> f->UseCache();
>
> Cheers, Fons.
>
> On Mon, 2002-07-22 at 16:41, Ingo Strauch wrote:
> > Hi ROOTers!
> >
> > Is there a way to call TFile::UseCache for all files in a TChain?
> >
> > I want to do something like this:
> >
> > TChain myfiles("MyTree");
> > myfiles.Add("/path/to/myfiles*.root");
> > myfiles.UseCache();
> > ...
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET