summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony LaTorre <devnull@localhost>2013-11-08 20:53:19 -0600
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:39 -0700
commit4d81f5272d94c6e3d7932d5e06146ec1fcc99450 (patch)
tree5b55bc29e1884d9307cefc0be8d33e939cfd797b
parent790a6774c75756dedf69eb7bf9e0a448206aeee2 (diff)
downloadchroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.tar.gz
chroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.tar.bz2
chroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.zip
fix ACLiC problem with root
-rw-r--r--chroma/io/root.py3
1 files changed, 3 insertions, 0 deletions
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+'+')