Add safety in case of a corrupted EOM message
Compare changes
Files
3+ 11
− 7
@@ -162,13 +162,17 @@ void run_unpack_tsa(std::string infile = "test.tsa", UInt_t runid = 0, const cha
In the data from mcbm2021 the possibility that the bits of the number of samples indicator in EOMs can be corrupted. This commit implements a safety which prevents the unpacker to go into a broken state in case of corrupted bits.
In addition the handling of the tof in run_unpack_tsa is synched with the handling of the other subsystems.