39 std::array<bool, 5> requestStation = {
true,
true,
true,
true,
true},
40 bool moreCandidates =
false)
42 return [items, requestStation, moreCandidates](
const ROFRecord& rof) {
43 std::array<int, 10> nofItemsPerChamber =
perChamber(items.subspan(rof.getFirstIdx(), rof.getNEntries()));
44 return isTrackable(nofItemsPerChamber, requestStation, moreCandidates);
65 gsl::span<const T2> subitems,
66 std::array<bool, 5> requestStation = {
true,
true,
true,
true,
true},
67 bool moreCandidates =
false)
69 return [items, subitems, requestStation, moreCandidates](
const ROFRecord& rof) {
70 std::array<int, 10> nofItemsPerChamber =
perChamber(items.subspan(rof.getFirstIdx(), rof.getNEntries()), subitems);
71 return isTrackable(nofItemsPerChamber, requestStation, moreCandidates);
bool isTrackable(std::array< int, 10 > itemsPerChamber, std::array< bool, 5 > requestStation={true, true, true, true, true}, bool moreCandidates=false)
ROFFilter createTrackableFilter(gsl::span< const T > items, std::array< bool, 5 > requestStation={true, true, true, true, true}, bool moreCandidates=false)