diff --git a/src/modules/ClusteringAnalog/ClusteringAnalog.cpp b/src/modules/ClusteringAnalog/ClusteringAnalog.cpp index 19c9bc523ca631e3313574a3683ab714e89b53ec..0e85dd0f4756ed8fe75b8c6218a5521aee5bc9b0 100644 --- a/src/modules/ClusteringAnalog/ClusteringAnalog.cpp +++ b/src/modules/ClusteringAnalog/ClusteringAnalog.cpp @@ -637,7 +637,8 @@ StatusCode ClusteringAnalog::run(const std::shared_ptr<Clipboard>& clipboard) { << cluster->charge(); // Set uncertainty on position from intrinsic detector spatial resolution: - cluster->setError(m_detector->getSpatialResolution()); + cluster->setError(m_detector->getSpatialResolution(cluster->column(), cluster->row())); + cluster->setErrorMatrixGlobal(m_detector->getSpatialResolutionMatrixGlobal(cluster->column(), cluster->row())); // Create object with local cluster position auto positionLocal = m_detector->getLocalPosition(cluster->column(), cluster->row());