Skip to content
Snippets Groups Projects

Fix non-merged epoch handling in BMon and TOF online unpackers

Merged Pierre-Alain Loizeau requested to merge p.-a.loizeau/cbmroot:fix_tof_unpackers_epoch into master
4 files
+ 22
6
Compare changes
  • Side-by-side
  • Inline

Files

+ 8
1
@@ -89,7 +89,14 @@ namespace cbm::algo::bmon
break;
}
case critof001::MSG_EPOCH: {
ProcessEpochMessage(message[messageNr], time);
if (critof001::kuChipIdMergedEpoch == message[messageNr].getGet4Idx()) {
ProcessEpochMessage(message[messageNr], time);
} // if this epoch message is a merged one valid for all chips
else {
/// FIXME: Should be checked in/forwarded to <some> monitor <task?>, here we just jump it
std::get<1>(result).fNumErrInvalidAsicEpochs++;
continue;
} // if single chip epoch message
break;
}
case critof001::MSG_SLOWC: {
Loading