Revision of data format
Current situation
- ROD fragment data contains just channelId, moduleType
- Number of words in payload inconsistent or non-existent
- RCDRawEvent searches for markers which can appear everywhere in the data stream
Suggestion
- ROD fragment header for all modules: channelId, moduleType, moduleId, Number of words in payload
Result
- RCDRawEvent can easily validate the structure of the data stream as it expects certain tokens at defined positions rather than searching for them
- Processing of ROD fragments can be parallelised (some day)
TODO
- Rewrite parts of
rcd_*/DataChannel.cpp
- Adapt RCDRawEvent to new structure and implement checks