|
31 | 31 |
|
32 | 32 | constexpr uint32_t chunkSize = 1000000; |
33 | 33 |
|
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) |
35 | 35 | { |
36 | | - const std::string kBaseCCDBPath = "Users/m/mpuccio/EventFiltering/OTS/"; |
| 36 | + const std::string kBaseCCDBPath = "EventFiltering/Zorro/"; |
37 | 37 | std::string baseCCDBpath = passName.empty() ? kBaseCCDBPath : kBaseCCDBPath + passName + "/"; |
38 | | - if (chunkedProcessing) { |
39 | | - baseCCDBpath += "Chunked/"; |
40 | | - } |
41 | 38 | if (useAlien) { |
42 | 39 | TGrid::Connect("alien://"); |
43 | 40 | } |
@@ -141,9 +138,9 @@ void uploadOTSobjects(std::string inputList, std::string passName, bool useAlien |
141 | 138 | } |
142 | 139 | } |
143 | 140 |
|
144 | | -void uploadOTSobjects(std::string periodName, bool chunkedProcessing) |
| 141 | +void uploadOTSobjects(std::string periodName) |
145 | 142 | { |
146 | 143 | int year = 2000 + std::stoi(periodName.substr(3, 2)); |
147 | 144 | 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); |
149 | 146 | } |
0 commit comments