14 const std::string& name,
15 const IInterface* parent) :
16 base_class(
type, name, parent) {
35 return StatusCode::SUCCESS;
44 CHECK(tobs.isValid());
49 std::make_unique<IOBitwise::ICommonTOBContainer>(tobs->size());
51 std::copy_if(std::cbegin(*tobs),
53 std::back_inserter(*out_tobs),
55 return selector->select(*tob);});
58 <<
" " << out_tobs->size());
61 out_tobs->resize(std::min(maxTOBs, out_tobs->size()));
65 [](
const auto& l,
const auto&
r) {
66 return l->et_bits().to_ulong() <
r->et_bits().to_ulong();
72 CHECK(h_out.record(std::move(out_tobs)));
74 return StatusCode::SUCCESS;
80 <<
"CommonSortSelectAlgTool read, select, and sort CommonTOBS\n"
#define CHECK(...)
Evaluate an expression and check for errors.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.