From 944fa9b2d0dace02180d9fad18ced9c7375fe1a4 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Thu, 4 Aug 2011 11:54:25 -0400 Subject: Import the fill_event() method from ROOT into the root.py namespace. --- io/root.py | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit