summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-08-04 11:54:25 -0400
committerStan Seibert <stan@mtrr.org>2011-08-04 11:54:25 -0400
commit944fa9b2d0dace02180d9fad18ced9c7375fe1a4 (patch)
tree41aec91402e8ad2d84429921e833470f4317d6d1
parent69a78faaf5a11e01893dc0d9b8289f1ea0cbd2fb (diff)
downloadchroma-944fa9b2d0dace02180d9fad18ced9c7375fe1a4.tar.gz
chroma-944fa9b2d0dace02180d9fad18ced9c7375fe1a4.tar.bz2
chroma-944fa9b2d0dace02180d9fad18ced9c7375fe1a4.zip
Import the fill_event() method from ROOT into the root.py namespace.
-rw-r--r--io/root.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/io/root.py b/io/root.py
index 382905a..d970d1d 100644
--- a/io/root.py
+++ b/io/root.py
@@ -5,6 +5,8 @@ ROOT.gROOT.ProcessLine('.L '+os.path.join(os.path.dirname(__file__), 'root.C+g')
from ROOT import Event
+fill_event = ROOT.fill_event
+
def make_tree(name, desc=''):
'''Create a ROOT tree for holding event information.