From 41bd264cf8d2853f795761d46cb1211725bdeeb0 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Wed, 2 Dec 2026 16:42:15 +0100 Subject: [PATCH] TPC: PadBitMap should be sized in bits not bytes --- GPU/GPUTracking/DataTypes/CalibdEdxContainer.h | 2 +- GPU/GPUTracking/DataTypes/TPCPadBitMap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GPUTracking/DataTypes/CalibdEdxContainer.h b/GPU/GPUTracking/DataTypes/CalibdEdxContainer.h index 4e7c47b25d86c..197f0448458a5 100644 --- a/GPU/GPUTracking/DataTypes/CalibdEdxContainer.h +++ b/GPU/GPUTracking/DataTypes/CalibdEdxContainer.h @@ -280,7 +280,7 @@ class CalibdEdxContainer : public o2::gpu::FlatObject CalDet processThresholdMap(const CalDet& thresholdMap, const float maxThreshold, const int32_t nPadsInRowCl = 2, const int32_t nPadsInPadCl = 2) const; #endif - ClassDefNV(CalibdEdxContainer, 2); + ClassDefNV(CalibdEdxContainer, 3); }; } // namespace o2::tpc diff --git a/GPU/GPUTracking/DataTypes/TPCPadBitMap.h b/GPU/GPUTracking/DataTypes/TPCPadBitMap.h index 9c9fe56336945..ebdec09267532 100644 --- a/GPU/GPUTracking/DataTypes/TPCPadBitMap.h +++ b/GPU/GPUTracking/DataTypes/TPCPadBitMap.h @@ -71,7 +71,7 @@ struct TPCPadBitMap { { public: using T = uint32_t; - static GPUglobalconstexpr() int32_t NWORDS = (tpccf::TPC_REAL_PADS_IN_SECTOR + sizeof(T) * 8 - 1) / sizeof(T); + static GPUglobalconstexpr() int32_t NWORDS = (tpccf::TPC_REAL_PADS_IN_SECTOR + sizeof(T) * 8 - 1) / (sizeof(T) * 8); GPUdi() SectorBitMap() { reset();