[ROOT] UseCache with TChain

From: Ingo Strauch (strauch@mail.desy.de)
Date: Mon Jul 22 2002 - 16:41:48 MEST


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();
  ...

Cheers,
Ingo

P.S.: I'm using ROOT 3.02/07 (on Linux)

-- 
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
                                     --Rincewind, Terry Pratchett "Eric"



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET