Skip to content

Commit ab93ffe

Browse files
authored
[Trigger] feat: Update OTS object upload process (#12563)
1 parent 93e063b commit ab93ffe

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

EventFiltering/macros/uploadOTSobjects.C

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@
3131

3232
constexpr uint32_t chunkSize = 1000000;
3333

34-
void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien, bool chunkedProcessing)
34+
void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien, bool chunkedProcessing = true)
3535
{
36-
const std::string kBaseCCDBPath = "Users/m/mpuccio/EventFiltering/OTS/";
36+
const std::string kBaseCCDBPath = "EventFiltering/Zorro/";
3737
std::string baseCCDBpath = passName.empty() ? kBaseCCDBPath : kBaseCCDBPath + passName + "/";
38-
if (chunkedProcessing) {
39-
baseCCDBpath += "Chunked/";
40-
}
4138
if (useAlien) {
4239
TGrid::Connect("alien://");
4340
}
@@ -141,9 +138,9 @@ void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien
141138
}
142139
}
143140

144-
void uploadOTSobjects(std::string periodName, bool chunkedProcessing)
141+
void uploadOTSobjects(std::string periodName)
145142
{
146143
int year = 2000 + std::stoi(periodName.substr(3, 2));
147144
gSystem->Exec(Form("alien_find /alice/data/%i/%s/ ctf_skim_full/AnalysisResults_fullrun.root | sed 's:/AnalysisResults_fullrun\\.root::' > list_%s.txt", year, periodName.data(), periodName.data()));
148-
uploadOTSobjects(Form("list_%s.txt", periodName.data()), "", true, chunkedProcessing);
145+
uploadOTSobjects(Form("list_%s.txt", periodName.data()), "", true, true);
149146
}

0 commit comments

Comments
 (0)