From c51066f2c4e870da7b074413764a01550f50fd59 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 6 Aug 2026 14:34:00 -0500 Subject: [PATCH] JCF: DUNE-DAQ/trgdataformats#59: use the function trgdataformats provides to convert the trigger candidate type enum into a string --- plugins/MLTModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MLTModule.cpp b/plugins/MLTModule.cpp index 9e2a6151..ebf2c5dc 100644 --- a/plugins/MLTModule.cpp +++ b/plugins/MLTModule.cpp @@ -188,7 +188,7 @@ MLTModule::generate_opmon_data() // per TC type std::lock_guard guard(m_trigger_mutex); for (auto& [type, counts] : m_trigger_counters) { - auto name = dunedaq::trgdataformats::get_trigger_candidate_type_names()[type]; + auto name = dunedaq::trgdataformats::trigger_candidate_type_to_string(type); opmon::TriggerDecisionInfo td_info; td_info.set_received(counts.received.exchange(0)); td_info.set_sent(counts.sent.exchange(0));