Commit c10e2500 authored by Lennart Huth's avatar Lennart Huth
Browse files

adding a cast to double

parent 8f0d5931
......@@ -56,7 +56,8 @@ StatusCode AnalysisTracks::run(const std::shared_ptr<Clipboard>& clipboard) {
if(d->isAuxiliary())
continue;
clusters_vs_tracks_.at(d->getName())
->Fill(tracks.size(), static_cast<double>(clipboard->getData<Cluster>(d->getName()).size()));
->Fill(static_cast<double>(tracks.size()),
static_cast<double>(clipboard->getData<Cluster>(d->getName()).size()));
}
// Loop over all tracks and get clusters assigned to tracks as well as the intersections
std::map<std::string, std::map<std::pair<double, double>, int>> track_clusters;
......
Markdown is supported
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