Commit 805c6f84 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'master' into moduletypes

parents 6991ce8f 5cf787a3
Pipeline #575568 failed with stages
in 2 minutes and 11 seconds
......@@ -235,7 +235,7 @@ StatusCode Tracking4D::run(Clipboard* clipboard) {
avg_track_time += (Units::convert(trackCluster->timestamp(), "ns"));
avg_track_time -= (Units::convert(trackCluster->globalZ(), "mm") / (299.792458));
}
track->setTimestamp(avg_track_time / track->nClusters());
track->setTimestamp(avg_track_time / static_cast<double>(track->nClusters()));
}
// Save the tracks on the clipboard
......
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