Skip to content
Snippets Groups Projects
Commit e650950c authored by Dominik Smith's avatar Dominik Smith Committed by Dominik Smith
Browse files

Reintroduced stort step into cbm::algo::Calibrate, for backwards compatibility of index matching.

parent 9e3b283e
No related branches found
No related tags found
1 merge request!1462Various small optimizations to online TOF code.
......@@ -96,6 +96,10 @@ namespace cbm::algo::tof
calDigiOut.push_back(pCalDigi);
}
/// Sort the buffers of hits due to the time offsets applied
std::sort(calDigiOut.begin(), calDigiOut.end(),
[](const CbmTofDigi& a, const CbmTofDigi& b) -> bool { return a.GetTime() < b.GetTime(); });
monitor.fTime = xpu::pop_timer();
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