Skip to content
Snippets Groups Projects

Synchronize master branch with 2024-patches

Merged Marco Clemencic requested to merge 2024-patches-sync into master
Files
37
@@ -200,16 +200,11 @@ int main( int argc, char* argv[] ) {
std::vector<unsigned> number_of_banks( static_cast<unsigned>( LHCb::RawBank::LastType ), 0u );
const std::unordered_set<LHCb::RawBank::BankType> daq_errors = {
LHCb::RawBank::DaqErrorFragmentThrottled, // 89
LHCb::RawBank::DaqErrorBXIDCorrupted, // 90
LHCb::RawBank::DaqErrorSyncBXIDCorrupted, // 91
LHCb::RawBank::DaqErrorFragmentMissing, // 92
LHCb::RawBank::DaqErrorFragmentTruncated, // 93
LHCb::RawBank::DaqErrorIdleBXIDCorrupted, // 94
LHCb::RawBank::DaqErrorFragmentMalformed, // 95
LHCb::RawBank::DaqErrorEVIDJumped, // 96
};
std::unordered_set<LHCb::RawBank::BankType> daq_errors;
for ( int i = 0; i < LHCb::RawBank::LastType; ++i ) {
auto bt = static_cast<LHCb::RawBank::BankType>( i );
if ( LHCb::RawBank::typeName( bt ).rfind( "DaqError", 0 ) == 0 ) { daq_errors.emplace( bt ); }
}
unsigned daq_error_offset = *std::min_element( daq_errors.begin(), daq_errors.end() );
std::array<std::vector<unsigned>, SourceIdSys::SourceIdSys_TDET> sd_daq_errors;
Loading