Skip to content

Commit

Permalink
Comment by M. Nguyen
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocos committed Nov 27, 2022
1 parent 812db3e commit b314558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ FTLCluster MTDThresholdClusterizer::make_cluster(const FTLCluster::FTLHitPos& hi
sumXW2 += acluster.energy[index] * acluster.energy[index] * pixel_errx2[index];
}
cluster.setClusterPosX(sumXW / sumW);
cluster.setClusterErrorX(std::sqrt(sumXW2 / sumW / sumW));
cluster.setClusterErrorX(std::sqrt(sumXW2) / sumW);
}

return cluster;
Expand Down

0 comments on commit b314558

Please sign in to comment.