Skip to content
Snippets Groups Projects
Commit 19e3673d authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'fix_analysis_tracks' into 'master'

Minor fix in AnalysisTracks

See merge request corryvreckan/corryvreckan!626
parents ee107a29 c787bae5
No related branches found
No related tags found
No related merge requests found
Pipeline #5454381 passed
...@@ -69,7 +69,7 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) { ...@@ -69,7 +69,7 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) {
auto j = i + 1; auto j = i + 1;
while(j < val.size()) { while(j < val.size()) {
auto p = val.at(i) - val.at(j); 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++; j++;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment