From 8802fbcb15273017a674f68f9e8f0d27dd4231be Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Sat, 8 Oct 2011 16:55:25 -0400 Subject: Write t0 for primary vertex to ROOT file and fix unit test to catch this. --- test/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_io.py b/test/test_io.py index 3553058..15daab6 100644 --- a/test/test_io.py +++ b/test/test_io.py @@ -6,7 +6,7 @@ import numpy as np class TestRootIO(unittest.TestCase): def test_file_write_and_read(self): ev = event.Event(1, event.Vertex('e-', pos=(0,0,1), dir=(1,0,0), - ke=15.0, pol=(0,1,0))) + ke=15.0, pol=(0,1,0), t0=40.0)) photons_beg = root.make_photon_with_arrays(1) photons_beg.pos[0] = (1,2,3) -- cgit