Hi, Stelios, When ROOT raches 2Gb limit (== signed int == 2**31 - 1) it automatically closes current file end creates new one with old name extended by _1, _2, etc. before suffix .root. To close final file you can use for your tree tree->GetCurrentFile()->Write(); tree->GetCurrentFile()->Close(); Cheers, Andrei. On Fri, 25 Jun 2004, Stilianos Kesisoglou wrote: > Hi, > > Is there any limit for the size that a ROOT file can have? > I was running a selection macro on a number of files and my macro > terminated normally (i.e without errors) when the size of the output file > reached 1.7 GB. I know that this isn't the end since the original files > have around 600000 events, and I went through only the first 200000. > Can I force ROOT to make multiple output files? > > Thanks, > > Stelios. >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET