Skip to content
Snippets Groups Projects
Commit 734555aa authored by Dominik Smith's avatar Dominik Smith Committed by Florian Uhlig
Browse files

Minor cleanup in cbm::algo::tof::Clusterizer.

parent 17d33507
No related branches found
No related tags found
1 merge request!1475Channel-partitioned TOF hits for tracking. Separate digi index output for cbm::tof::Hitfind.
Pipeline #25428 passed
......@@ -31,7 +31,7 @@ namespace cbm::algo::tof
CbmTofDigi* pDigi = digisIn[iDigi].first;
const int32_t index = digisIn[iDigi].second;
const double chan = pDigi->GetChannel();
result[chan].push_back(std::make_pair(new CbmTofDigi(*pDigi), index));
result[chan].emplace_back(pDigi, index);
}
/// Sort channel-wise by time
......@@ -176,7 +176,6 @@ namespace cbm::algo::tof
clustersOut.push_back(cluster);
chanSizes.back()++;
}
return result;
}
......
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