Skip to content

Fix hit analysis and analysis enhancements

David-Leon Pohl requested to merge chunking into development

Addressing #41 (closed) #58 (closed) #98 (closed)

Solves bugs:

  • Do not split events if raw data size per scan parameter id exceeds chunk size
  • Do not silently kill python instance if chunk size is smaller than total number of raw data words per scan parameter
  • Event is not aligned at BCID that can easily overflow and bit flip
  • First event is event 0 and not 1

Includes enhancements:

  • Add unit test with small chunk size
  • Reduce RAM usage to < 1 Gb. Analysis speed not affected
  • Event status bits that are set:
    • BCID not increasing properly
    • Trigger id not increasing by 1
    • Unkown word(s) occurred
  • Slight speed up by defining expected chunk size
  • Hits have a trigger tag
  • Hits have an event status bit
  • Event status plot: image
Edited by David-Leon Pohl

Merge request reports

Loading