From d43dacf7a1410094e41f45319666e1fd6a6fba29 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 6 Aug 2026 15:28: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/DFOModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DFOModule.cpp b/plugins/DFOModule.cpp index 6c66e37e..a7eba76b 100644 --- a/plugins/DFOModule.cpp +++ b/plugins/DFOModule.cpp @@ -359,7 +359,7 @@ DFOModule::generate_opmon_data() opmon::TriggerInfo ti; ti.set_received(counts.received.exchange(0)); ti.set_completed(counts.completed.exchange(0)); - auto name = dunedaq::trgdataformats::get_trigger_candidate_type_names()[type]; + auto name = dunedaq::trgdataformats::trigger_candidate_type_to_string(type); publish( std::move(ti), {{"type", name}} ); } }