diff options
author | Anthony LaTorre <devnull@localhost> | 2013-11-08 20:53:19 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
commit | 4d81f5272d94c6e3d7932d5e06146ec1fcc99450 (patch) | |
tree | 5b55bc29e1884d9307cefc0be8d33e939cfd797b | |
parent | 790a6774c75756dedf69eb7bf9e0a448206aeee2 (diff) | |
download | chroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.tar.gz chroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.tar.bz2 chroma-4d81f5272d94c6e3d7932d5e06146ec1fcc99450.zip |
fix ACLiC problem with root
-rw-r--r-- | chroma/io/root.py | 3 |
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+'+') |