Skip to content

Commit 8d38e3b

Browse files
committed
Fix: CTPinputs from prev BC were filled for BCs w/o CTP input
1 parent 92c61a6 commit 8d38e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,10 +2124,10 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
21242124
}
21252125

21262126
// filling BC table
2127-
std::pair<uint64_t, uint64_t> masks{0, 0};
21282127
bcCursor.reserve(bcsMap.size());
21292128
for (auto& item : bcsMap) {
21302129
uint64_t bc = item.first;
2130+
std::pair<uint64_t, uint64_t> masks{0, 0};
21312131
if (mInputSources[GID::CTP]) {
21322132
auto bcClassPair = bcToClassMask.find(bc);
21332133
if (bcClassPair != bcToClassMask.end()) {

0 commit comments

Comments
 (0)