summaryrefslogtreecommitdiff
path: root/test/test_io.py
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-10-08 16:55:25 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:10 -0700
commit8802fbcb15273017a674f68f9e8f0d27dd4231be (patch)
tree3c1b14c482cec548b9e0d4511c408e993c41f6a3 /test/test_io.py
parentda368858314c1aba32a7d6a08b963351afc49925 (diff)
downloadchroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.tar.gz
chroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.tar.bz2
chroma-8802fbcb15273017a674f68f9e8f0d27dd4231be.zip
Write t0 for primary vertex to ROOT file and fix unit test to catch this.
Diffstat (limited to 'test/test_io.py')
-rw-r--r--test/test_io.py2
1 files changed, 1 insertions, 1 deletions
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)