From 12ac2059e938adba8d831510258bfb027050bf63 Mon Sep 17 00:00:00 2001
From: Eric Pooser <pooser@jlab.org>
Date: Thu, 9 Mar 2017 05:37:28 -0500
Subject: [PATCH] Increase max root file size to 100GB.

So files don't split.
Seems to be working, hcana has not crashed yet with file sizes
upto 2.6 GB.
---
 src/THcInterface.cxx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/THcInterface.cxx b/src/THcInterface.cxx
index 247dadb..dd75912 100644
--- a/src/THcInterface.cxx
+++ b/src/THcInterface.cxx
@@ -95,7 +95,9 @@ This class is copy of THaInterface with the addition of of the global
   //  putting it to 1.5 GB, down from the default 1.9 GB since something odd
   //  happens for larger files
   //FIXME: investigate
-  TTree::SetMaxTreeSize(1500000000);
+  //TTree::SetMaxTreeSize(1500000000);
+  // Jure update: 100 GB
+  TTree::SetMaxTreeSize(100000000000LL);
 
   // Make the Podd header directory(s) available so scripts don't have to
   // specify an explicit path.
-- 
GitLab