From 7feb49bf768c76ce1d0caf62e68fb30617e0bc94 Mon Sep 17 00:00:00 2001 From: Marco Muzio Date: Tue, 11 Nov 2025 17:38:18 -0600 Subject: [PATCH] Fix error message for A1. --- AraEvent/AraQualCuts.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AraEvent/AraQualCuts.cxx b/AraEvent/AraQualCuts.cxx index 97c4fe2..cd2f9d9 100644 --- a/AraEvent/AraQualCuts.cxx +++ b/AraEvent/AraQualCuts.cxx @@ -527,6 +527,8 @@ int AraQualCuts::getLivetimeConfiguration(const int runNumber, int stationId) if(end <= start) { char *utilEnv=getenv("ARA_UTIL_INSTALL_DIR"); + if(stationId == 100) // set to value actually loaded + stationId = 1; char configLogFileName[256]; sprintf(configLogFileName,"%s/share/livetimeConfigs/a%d_livetimeConfigs.txt",utilEnv,stationId); throw std::runtime_error("Something is wrong in the livetime configuration log \