From 09e042b8888342ed8fc7a8c5b05ea1caa47a3842 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 8 Aug 2011 15:29:57 -0400 Subject: Modify data structure to hold photon start and stop vertices separately. Add --save-photon-start and --save-photon-stop options to sim.py to save these vertices. Otherwise, only hit information is recorded. --- io/root.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'io/root.py') diff --git a/io/root.py b/io/root.py index d970d1d..e43f5d4 100644 --- a/io/root.py +++ b/io/root.py @@ -5,7 +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 +fill_photons = ROOT.fill_photons +fill_hits = ROOT.fill_hits def make_tree(name, desc=''): '''Create a ROOT tree for holding event information. -- cgit