Skip to content

Update Cluster.cpp to handle correctly pixel with TOT = 0

Mathieu Benoit requested to merge mbenoit/allpix-squared:patch-1 into master

When calculating the centroid of the cluster, TOT 0 should be shifted to 1 to avoid numerical errors.

+1 is added to all pixel signals.

Merge request reports