15 const std::string& name,
16 const IInterface* parent) :
17 base_class(
type, name, parent) {
36 return StatusCode::SUCCESS;
45 CHECK(tobs.isValid());
50 std::make_unique<IOBitwise::CommonTOBContainer>(tobs->size());
54 std::vector<IOBitwise::CommonTOB*>(tobs->size());
56 std::transform(std::begin(*tobs),
58 std::back_inserter(tmp_tobs),
59 [](
const auto& tobptr) {
63 std::copy_if(std::begin(tmp_tobs),
65 std::back_inserter(*out_tobs),
67 return selector->select(*tob);});
71 <<
" " << out_tobs->size());
74 out_tobs->resize(std::min(maxTOBs, out_tobs->size()));
78 [](
const auto& l,
const auto&
r) {
79 return l->et_bits().to_ulong() <
r->et_bits().to_ulong();
85 CHECK(h_out.record(std::move(out_tobs)));
87 return StatusCode::SUCCESS;
93 <<
"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.