Skip to content

Commit ed36b44

Browse files
authored
[Trigger] Update macro to upload zorro objects for 2026 (#15926)
1 parent dce1b7e commit ed36b44

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

EventFiltering/macros/uploadOTSobjects.C

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien
7575
if (!hCounterTVX) {
7676
hCounterTVX = static_cast<TH1*>(scalersFile->Get("lumi-task/hCounterTVX"));
7777
if (!hCounterTVX) {
78-
std::cout << "No hCounterTVX histogram found in the file, skipping upload for run " << runString << std::endl;
79-
continue;
78+
hCounterTVX = static_cast<TH1*>(scalersFile->Get("eventselection-run3/luminosity/hCounterTVX"));
79+
if (!hCounterTVX) {
80+
std::cout << "No hCounterTVX histogram found in the file, skipping upload for run " << runString << std::endl;
81+
continue;
82+
}
8083
}
8184
}
8285
api.storeAsTFile(hCounterTVX, baseCCDBpath + "InspectedTVX", metadata, duration.first, duration.second + 1);

0 commit comments

Comments
 (0)