Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Common/Tools/EventSelectionModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ class BcSelectionModule
return;
}
bcselbuffer.clear();
bcselbuffer.reserve(bcs.size());
for (const auto& bc : bcs) {
uint64_t timestamp = timestamps[bc.globalIndex()];
par = ccdb->template getForTimeStamp<EventSelectionParams>("EventSelection/EventSelectionParams", timestamp);
Expand Down Expand Up @@ -453,6 +454,7 @@ class BcSelectionModule

int run = bcs.iteratorAt(0).runNumber();

bcselbuffer.reserve(bcs.size());
// bc loop
for (auto bc : bcs) { // o2-linter: disable=const-ref-in-for-loop (use bc as nonconst iterator)
uint64_t timestamp = timestamps[bc.globalIndex()];
Expand Down
Loading