Skip to content
Snippets Groups Projects

Fix HltDecReportWriter when TaskID > 0

Merged Gerhard Raven requested to merge bug-fix-in-decreport-writer into master
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -101,8 +101,8 @@ namespace LHCb::Hlt::DAQ {
// order according to the values, essentially orders by intDecisionID
// this is important since it will put "*Global" reports at the beginning of the bank
// NOTE: we must skip the first two words (configuredTCK, taskID)
std::sort( std::next( std::begin( bankBody ), 2 ), std::end( bankBody ) );
// NOTE: we must skip the first three words (encoding key, configuredTCK, taskID)
std::sort( std::next( std::begin( bankBody ), 3 ), std::end( bankBody ) );
// shift bits in sourceID for the same convention as in HltSelReports
outputrawevent.addBank( shift<SourceIDMasks::Process>( m_sourceID ), RawBank::HltDecReports, kVersionNumber,
Loading