Skip to content

Ensure unique ROB IDs in L1TriggerByteStreamDecoderAlg

Rafal Bielski requested to merge rbielski/athena:l1bsdecoder-unique-robids into 22.0

Simply add two lines to ensure the list of retrieved ROB IDs is unique:

std::sort(m_robIds.begin(),m_robIds.end());
m_robIds.erase(std::unique(m_robIds.begin(),m_robIds.end()), m_robIds.end());

which fixes ATR-26041.

The other changes in this MR only facilitate testing and debugging this issue, namely:

  • add option to decode jFex xTOBs in the test script
  • print the list of ROB IDs in L1TriggerByteStreamDecoderAlg::initialize()
Edited by Rafal Bielski

Merge request reports

Loading