26 const uint32_t iSectorRow = iBlock * nThreads + iThread;
27 if (iSectorRow >= GPUTPCGeometry::NROWS * GPUTPCGeometry::NSECTORS) {
30 const uint32_t
iSector = iSectorRow / GPUTPCGeometry::NROWS;
31 const uint32_t iRow = iSectorRow % GPUTPCGeometry::NROWS;
42 const uint32_t bin = iBlock * nThreads + iThread;
43 if (bin >= GPUTPCClusterOccupancyMapBin::getNBins(
param)) {
46 int32_t binmin = CAMath::Max<int32_t>(0, bin -
param.rec.tpc.occupancyMapTimeBinsAverage);
47 int32_t binmax = CAMath::Min<int32_t>(GPUTPCClusterOccupancyMapBin::getNBins(
param), bin +
param.rec.tpc.occupancyMapTimeBinsAverage + 1);
49 for (int32_t
i = binmin;
i < binmax;
i++) {
50 for (uint32_t iSectorRow = 0; iSectorRow < GPUTPCGeometry::NSECTORS * GPUTPCGeometry::NROWS; iSectorRow++) {
51 sum += (&map[
i].bin[0][0])[iSectorRow];
54 sum /= binmax - binmin;