ITkPixV2 decoder fails to decode a single-hit QCore near the end of the stream
If the last QCore in the stream contains only one hit, and ends close to the end of the last block, that hit is not decoded. The problem is most likely here: https://gitlab.cern.ch/YARR/YARR/-/blob/devel/src/libItkpixv2/Itkpixv2DataProcessor.cpp?ref_type=heads#L319
It seems that as it tries to retrieve the 16 bits to determine the hit map, it collects as well the only present ToT (4 bit) and hits the end of the stream before the 16 bits are all retrieved, and then quietly stops decoding. This is not observed in higher-occupancy events with more ToT bits or in RD53b where this is protected by the orphans.