From 4d81f5272d94c6e3d7932d5e06146ec1fcc99450 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 8 Nov 2013 20:53:19 -0600 Subject: fix ACLiC problem with root --- chroma/io/root.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chroma/io/root.py b/chroma/io/root.py index 438da01..bb04c54 100644 --- a/chroma/io/root.py +++ b/chroma/io/root.py @@ -21,6 +21,9 @@ if not hasattr(ROOT, 'Vertex') or not hasattr(ROOT, 'Channel'): if not os.path.exists(home_root_C) or \ os.stat(package_root_C).st_mtime > os.stat(home_root_C).st_mtime: shutil.copy2(src=package_root_C, dst=home_root_C) + # ACLiC problem with ROOT + # see http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=14280&start=15 + ROOT.gSystem.Load('libCint') # Import this C file for access to data structure ROOT.gROOT.ProcessLine('.L '+home_root_C+'+') -- cgit