-
Stephen A. Wood authored
THcTimeSyncEvtHandler can correct runs where the 1190's in a crate go out of sync because of a large event. (This would happen in the spring of 2018. Should be fixed in the DAQ now.) It a previous version this sync problem was detected by looking for 1190 banks that were too large. In this update, the first event is used to make a list of which slots have TDCs in them. For subsequent events, it checks that every TDC slot has a header and trailer word in the bank. If any TDCs are found to be missing, and the bank size is above a threshold, subsequent events are presumed to be out of sync and corrected for in the filtered run output file.
Stephen A. Wood authoredTHcTimeSyncEvtHandler can correct runs where the 1190's in a crate go out of sync because of a large event. (This would happen in the spring of 2018. Should be fixed in the DAQ now.) It a previous version this sync problem was detected by looking for 1190 banks that were too large. In this update, the first event is used to make a list of which slots have TDCs in them. For subsequent events, it checks that every TDC slot has a header and trailer word in the bank. If any TDCs are found to be missing, and the bank size is above a threshold, subsequent events are presumed to be out of sync and corrected for in the filtered run output file.