[ROOT] Automatically start a new file when a given size limit is reached

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


Hi ROOTers!

Is there a way in ROOT to automatically start a new file when the size
of a file to be written (or the TTree therein) exceeds a certain
threshold?

Problem is in a few cases the files I'm writing out can be larger than
the maximum file size of the underlying OS. To be on the safe side I'd
like to specify a maximum size for the TFile where ROOT then starts a
second file, so that the sum can be bigger than the OS limit.

Cheers,
Ingo

-- 
"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