From 560d4b7b26dde755fdaf1f8ab6b78b2821ecaf46 Mon Sep 17 00:00:00 2001 From: MRiganSUSX Date: Mon, 23 Sep 2024 16:23:41 +0200 Subject: [PATCH] fix config load in tam --- include/triggeralgs/TriggerActivityMaker.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/triggeralgs/TriggerActivityMaker.hpp b/include/triggeralgs/TriggerActivityMaker.hpp index d5044cf..f1cb6d5 100644 --- a/include/triggeralgs/TriggerActivityMaker.hpp +++ b/include/triggeralgs/TriggerActivityMaker.hpp @@ -115,8 +115,8 @@ class TriggerActivityMaker if (config.contains("prescale")) m_prescale = config["prescale"]; - if (config.contains("max_tot")) - m_max_time_over_threshold = config["max_tot"]; + if (config.contains("max_time_over_threshold")) + m_max_time_over_threshold = config["max_time_over_threshold"]; TLOG() << "[TAM]: max tot : " << m_max_time_over_threshold; TLOG() << "[TAM]: prescale : " << m_prescale;