Event status monitoring
I recommend to have an event status enum, as in pyBAR. Each hit gets this enum to be able to cut on issues (e.g. trigger error, event data structure wrong, multiple TDC words, user-k words, ...). No issue is event_status = 0
. Also a histogram with the errors should be created. This allows for quick checks at the end of scans if errors occurred. E.g.: pyBAR has the following:
Related issue: #47 (closed)