Skip to content

Commit ac76a27

Browse files
iarseneIonut Cristian Arsene
andauthored
[PWGDQ] Small fixes for data type of collision indices (AliceO2Group#8837)
Co-authored-by: Ionut Cristian Arsene <[email protected]>
1 parent 03c8eb2 commit ac76a27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,11 @@ struct TableMaker {
541541
fOccup.oContribShortA.clear();
542542
fOccup.oContribShortC.clear();
543543

544-
std::map<int32_t, int64_t> oBC; // key: collision index; value: global BC
544+
std::map<int64_t, int64_t> oBC; // key: collision index; value: global BC
545545
std::map<int64_t, std::vector<int64_t>> oBCreversed; // key: global BC, value: list of collisions attached to this BC
546-
std::map<int32_t, float> oVtxZ; // key: collision index; value: vtx-z position
547-
std::map<int32_t, int32_t> collMultPos; // key: collision index; value: tpc multiplicity on the A side
548-
std::map<int32_t, int32_t> collMultNeg; // key: collision index; value: tpc multiplicity on the C side
546+
std::map<int64_t, float> oVtxZ; // key: collision index; value: vtx-z position
547+
std::map<int64_t, int32_t> collMultPos; // key: collision index; value: tpc multiplicity on the A side
548+
std::map<int64_t, int32_t> collMultNeg; // key: collision index; value: tpc multiplicity on the C side
549549

550550
const double bcUS = o2::constants::lhc::LHCBunchSpacingNS / 1000.0; // BC spacing in micro-seconds
551551
const double vdrift = 2.5; // cm / mus

0 commit comments

Comments
 (0)