EventLoaderEUDAQ2: Read Subevents of StandardEvent
With this MR, we introduce a second FIFO cache of events read from the file. This allows to not only keep a buffer of undecoded
eudaq::RawEvent objects around for successive decoding, but also another buffer of
eudaq::StandardEvent that have already been decoded.
This allows to easily treat data where a large blob of data has to be processed by the EUDAQ2 event decoder before it can be split up into subevents. Our use case is a data blob coming from a segmented acquisition of an oscilloscope. Eveny waveform corresponds to one event, but they are stored as one large chunk of data from the full segment acquisition. Now the EUDAQ2 decoder for this data type can disentangle all segments/waveforms and create separate (fully decoded) subevents for them and ship it to Corry.