diff --git a/src/modules/AnalysisTracks/AnalysisTracks.cpp b/src/modules/AnalysisTracks/AnalysisTracks.cpp index 85754f1b71763d4312253eb8b2b4b77d4bef494d..97de18902d2bd76ccd4e59f1c64fad6f992b4c23 100644 --- a/src/modules/AnalysisTracks/AnalysisTracks.cpp +++ b/src/modules/AnalysisTracks/AnalysisTracks.cpp @@ -69,7 +69,7 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) { auto j = i + 1; while(j < val.size()) { auto p = val.at(i) - val.at(j); - _distance_between_tracks_.at(key)->Fill((p.Mag2())); + _distance_between_tracks_.at(key)->Fill(sqrt(p.Mag2())); j++; } }