Skip to content
Snippets Groups Projects
Commit c04eb2bc authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Fixed hit time little endian

parent 81b7a37c
No related branches found
No related tags found
No related merge requests found
Pipeline #7799 passed with warnings
......@@ -140,11 +140,11 @@ class DAQTimeslices:
if len(headers) == 0:
continue
superframes = tree[b'vector<KM3NETDAQ::JDAQSuperFrame>']
hits_dtype = np.dtype([("pmt", "u1"), ("tdc", "<u4"),
("tot", "u1")])
hits_buffer = superframes[
b'vector<KM3NETDAQ::JDAQSuperFrame>.buffer'].lazyarray(
uproot.asjagged(uproot.astable(
uproot.asdtype([("pmt", "u1"), ("tdc", "u4"),
("tot", "u1")])),
uproot.asjagged(uproot.astable(uproot.asdtype(hits_dtype)),
skipbytes=6),
basketcache=uproot.cache.ThreadSafeArrayCache(
TIMESLICE_FRAME_BASKET_CACHE_SIZE))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment