Hadd with big file result size limit

Hi rooters,

I am using hadd to merge multiple root files containing TTrees. The resulting root file is expected to be quite large and I think there is a size limit for the resulting root file at about 100 GB.
This means that I end up at the end with several root files.

I was wondering whether there was a way of changing this size limit so I could have a single result root file.

Thanks a lot.

Hi,

hadd does not let you see the limit however you can write a simple macro (inpired from http://root.cern.ch/viewvc/trunk/main/src/hadd.cxx?revision=44507&view=markup if needed) using the TFileMerger and call TTree::SetMaxTreeSize with a very large value.

Cheers,
Philippe.