Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,14 @@ GPUd() void GPUTPCCFHIPClusterizer::Thread<0>(int32_t nBlocks, int32_t nThreads,
// Use the middle of the saturated plateau, averaged over all tails of the cluster that were triggered by saturation on their own pad.
// Computed only here: chains consisting only of tails inherited from neighboring pads have no saturated plateau,
// but these never contain a saturated charge and are dropped by the qMax cut.
const float clusterTime = frag.start + satTimeSum / nSatTails - clusterer.Param().rec.tpc.clustersShiftTimebinsClusterizer;
const float fragmentTime = satTimeSum / nSatTails;
if (frag.isOverlap((tpccf::TPCFragmentTime)fragmentTime)) { // The neighboring fragment creates this cluster
if (clusterPosInRow) {
clusterPosInRow[iTail] = clusterer.mNMaxClusterPerRow;
}
continue;
}
const float clusterTime = frag.start + fragmentTime - clusterer.Param().rec.tpc.clustersShiftTimebinsClusterizer;
assert(!CAMath::IsNaN(clusterTime));

const uint8_t flags = singlePad ? tpc::ClusterNative::flagSingle : 0;
Expand Down