Skip to content

Commit 052579d

Browse files
committed
Please consider the following formatting changes
1 parent 4246f5e commit 052579d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

GPU/GPUTracking/TPCClusterFinder/ClusterAccumulator.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ GPUd() void ClusterAccumulator::finalize(const ChargePos& pos, Charge q, TPCTime
116116
if (CfUtils::isAtEdge(pos, geo.NPads(pos.row()))) {
117117
bool leftEdge = (pad < 2);
118118
bool correct = (leftEdge) ? (pad < mPadMean) : (pad > mPadMean);
119-
if (leftEdge && pad == 1) { // only check charge at boundary if maximum is at least one pad away from boundary
119+
if (leftEdge && pad == 1) { // only check charge at boundary if maximum is at least one pad away from boundary
120120
correct = correct && (padBoundaryCharges[0] > 0); // Only correct if cluster is asymmetric with charge > 0 towards sector boundary, otherwise all charge is found
121121
} else if (!leftEdge && pad == (geo.NPads(pos.row()) - 1)) {
122122
correct = correct && (padBoundaryCharges[1] > 0);

GPU/GPUTracking/TPCClusterFinder/GPUTPCCFClusterizer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ GPUdii() void GPUTPCCFClusterizer::computeClustersImpl(int32_t nBlocks, int32_t
5858
ChargePos pos = filteredPeakPositions[CAMath::Min(idx, clusternum - 1)];
5959
Charge charge = chargeMap[pos].unpack();
6060

61-
Charge padBoundaryCharges[2] = {chargeMap[pos.delta({-1,0})].unpack(), chargeMap[pos.delta({1,0})].unpack()};
61+
Charge padBoundaryCharges[2] = {chargeMap[pos.delta({-1, 0})].unpack(), chargeMap[pos.delta({1, 0})].unpack()};
6262

6363
ClusterAccumulator pc;
6464
CPU_ONLY(labelAcc->collect(pos, charge));

0 commit comments

Comments
 (0)