This Merge requests fixes an issue in ITkPixV1 analysis, where some data was discarded during a threshold scan, due toe the beginning of a new stream. Appended you see one of the artifacts the bug introduced: