12#ifndef O2_MCH_TRACKABLE_H
13#define O2_MCH_TRACKABLE_H
34bool isTrackable(std::array<int, 10> itemsPerChamber,
35 std::array<bool, 5> requestStation = {
true,
true,
true,
true,
true},
36 bool moreCandidates =
false);
53template <
typename T1,
typename T2>
54std::array<int, 10>
perChamber(gsl::span<const T1> items, gsl::span<const T2> subitems);
60 std::array<int, 5>
st{};
62 for (
auto i = 0;
i <
st.size(); ++
i) {
63 st[
i] = ch[2 *
i] + ch[2 *
i + 1];
bool isTrackable(std::array< int, 10 > itemsPerChamber, std::array< bool, 5 > requestStation={true, true, true, true, true}, bool moreCandidates=false)
std::array< int, 10 > perChamber(gsl::span< const T > items)
std::array< int, 5 > perStation(gsl::span< const T > items)