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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 26 2002 - 23:40:15 MEST


Hi Ingo,

This feature is currently not implemented in TFile.
Recently, I implemented this feature in TChain::Merge. 
The same logic could be implemented in TFile.

Rene Brun



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.



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