Skip to content

Commit 4b834df

Browse files
committed
Merge in dev
1 parent ce5b9b4 commit 4b834df

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,22 +2066,20 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
20662066
}
20672067

20682068
// filling BC table
2069-
std::vector<uint64_t> masks;
20702069
bcCursor.reserve(bcsMap.size());
20712070
for (auto& item : bcsMap) {
20722071
uint64_t bc = item.first;
2072+
std::pair<uint64_t, uint64_t> masks{0, 0};
20732073
if (mInputSources[GID::CTP]) {
20742074
auto bcClassPair = bcToClassMask.find(bc);
20752075
if (bcClassPair != bcToClassMask.end()) {
20762076
masks = bcClassPair->second;
2077-
} else {
2078-
masks = {0, 0};
20792077
}
20802078
}
20812079
bcCursor(runNumber,
20822080
bc,
2083-
masks[0],
2084-
masks[1]);
2081+
masks.first,
2082+
masks.second);
20852083
}
20862084

20872085
bcToClassMask.clear();

0 commit comments

Comments
 (0)