From b3e836f1d9e7791fb797f6d2738441d392f8ce30 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Tue, 9 Aug 2011 18:57:56 -0400 Subject: Bug fix that caused sim.py to only record hits on the first 3 PMTs --- sim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim.py b/sim.py index c8f9fdb..0d775f4 100755 --- a/sim.py +++ b/sim.py @@ -72,7 +72,7 @@ def write_event(T, ev, event_id, hits, photon_start=None, photon_stop=None): photons['wavelength'], photons['t0'], photons['histories'], photons['last_hit_triangles']) - root.fill_hits(ev, len(hits), hits['t'], hits['q'], hits['history']) + root.fill_hits(ev, len(hits['t']), hits['t'], hits['q'], hits['history']) T.Fill() #@profile -- cgit