Commit b0b64dc6 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

remove use of unnecessary relation

parent 1092600b
......@@ -206,7 +206,7 @@ namespace Jug::Reco {
// shower radius estimate (eta-phi plane)
double radius = 0.;
for (auto hit : cluster.hits()) {
for (auto hit : hits) {
radius += std::sqrt(pow2(hit.eta() - cluster.eta()) + pow2(hit.polar().phi - cluster.polar().phi));
}
cluster.radius(radius / cluster.nhits());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment