Skip to content

Commit e6a7a9e

Browse files
committed
AOD Writer: correct reserve for cpvClusters
1 parent 5bf00ff commit e6a7a9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/AOD/src/AODProducerWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2585,7 +2585,7 @@ void AODProducerWorkflowDPL::run(ProcessingContext& pc)
25852585
// fill cpvcluster table
25862586
if (mInputSources[GIndex::CPV]) {
25872587
float posX, posZ;
2588-
cpvClustersCursor.reserve(cpvTrigRecs.size());
2588+
cpvClustersCursor.reserve(cpvClusters.size());
25892589
for (auto& cpvEvent : cpvTrigRecs) {
25902590
uint64_t bc = cpvEvent.getBCData().toLong();
25912591
auto item = bcsMap.find(bc);

0 commit comments

Comments
 (0)