Skip to content

Commit 276f927

Browse files
authored
[PWGDQ] Fix vector type (#8825)
1 parent 1064657 commit 276f927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ struct TableMaker {
542542
fOccup.oContribShortC.clear();
543543

544544
std::map<int32_t, int64_t> oBC; // key: collision index; value: global BC
545-
std::map<int64_t, std::vector<int32_t>> oBCreversed; // key: global BC, value: list of collisions attached to this BC
545+
std::map<int64_t, std::vector<int64_t>> oBCreversed; // key: global BC, value: list of collisions attached to this BC
546546
std::map<int32_t, float> oVtxZ; // key: collision index; value: vtx-z position
547547
std::map<int32_t, int32_t> collMultPos; // key: collision index; value: tpc multiplicity on the A side
548548
std::map<int32_t, int32_t> collMultNeg; // key: collision index; value: tpc multiplicity on the C side
@@ -564,7 +564,7 @@ struct TableMaker {
564564

565565
// if more than one collision per bunch, add that collision to the list for that bunch
566566
if (oBCreversed.find(bc) == oBCreversed.end()) {
567-
std::vector<int32_t> evs = {collision.globalIndex()};
567+
std::vector<int64_t> evs = {collision.globalIndex()};
568568
oBCreversed[bc] = evs;
569569
} else {
570570
auto& evs = oBCreversed[bc];

0 commit comments

Comments
 (0)