From b381045708c24f3c370fe37ea5de6751e555c774 Mon Sep 17 00:00:00 2001 From: Fabrizio Grosa Date: Wed, 22 Apr 2026 22:59:33 +0200 Subject: [PATCH] Update macro to upload zorro objects for 2026 --- EventFiltering/macros/uploadOTSobjects.C | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/EventFiltering/macros/uploadOTSobjects.C b/EventFiltering/macros/uploadOTSobjects.C index b1703a6ba45..a44583ea618 100644 --- a/EventFiltering/macros/uploadOTSobjects.C +++ b/EventFiltering/macros/uploadOTSobjects.C @@ -75,8 +75,11 @@ void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien if (!hCounterTVX) { hCounterTVX = static_cast(scalersFile->Get("lumi-task/hCounterTVX")); if (!hCounterTVX) { - std::cout << "No hCounterTVX histogram found in the file, skipping upload for run " << runString << std::endl; - continue; + hCounterTVX = static_cast(scalersFile->Get("eventselection-run3/luminosity/hCounterTVX")); + if (!hCounterTVX) { + std::cout << "No hCounterTVX histogram found in the file, skipping upload for run " << runString << std::endl; + continue; + } } } api.storeAsTFile(hCounterTVX, baseCCDBpath + "InspectedTVX", metadata, duration.first, duration.second + 1);