46 auto ordering = [](
const auto& lhs,
const auto& rhs) {
47 return (lhs.getDetector() < rhs.getDetector()) ||
48 (lhs.getDetector() == rhs.getDetector() && lhs.getPadRow() < rhs.getPadRow()) ||
49 (lhs.getDetector() == rhs.getDetector() && lhs.getPadRow() == rhs.getPadRow() && lhs.getPadCol() < rhs.getPadCol());
51 std::sort(mTracklets.begin(), mTracklets.end(), ordering);
55 std::sort(mDigits.begin(), mDigits.end(), ordering);
DataAllocator & outputs()
The data allocator is used to allocate memory for the output data.