21 template <
typename first,
typename... others>
23 template <
typename T,
typename detector_t,
typename particle_t>
24 static bool select(
const T &slector_tuple,
const detector_t &
detector,
25 const particle_t &
particle,
bool inclusive) {
27 const auto &this_selector = std::get<first>(slector_tuple);
28 bool selected = this_selector(detector, particle);
34 slector_tuple, detector, particle, inclusive));
36 slector_tuple, detector, particle, inclusive));
42 template <
typename T,
typename detector_t,
typename particle_t>
43 static bool select(
const T &slector_tuple,
const detector_t &detector,
44 const particle_t &particle,
bool) {
46 const auto &this_selector = std::get<last>(slector_tuple);
47 return this_selector(detector, particle);
53 template <
typename T,
typename detector_t,
typename particle_t>
54 static bool select(
const T &,
const detector_t &,
const particle_t &,
bool) {