Skip to content
Snippets Groups Projects
Commit 7db78adc authored by Zineb Aly's avatar Zineb Aly
Browse files

test tracks reco

parent bc617bd3
No related branches found
No related tags found
1 merge request!8outsource reconstruction data in separate arrays
Pipeline #7890 passed with warnings
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
......@@ -325,6 +325,14 @@ class TestOfflineTracks(unittest.TestCase):
list(tracks[_slice].E[:,0])
)
def test_reco_data(self):
reco = self.tracks.reco
self.assertEqual(10, reco.size)
E = reco['JENERGY_ENERGY']
self.assertListEqual([99.10458562488608, 99.10458562488608, 99.10458562488608],
E[:3].tolist())
class TestOfflineTrack(unittest.TestCase):
def setUp(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment