Analysis Software
Documentation for sPHENIX simulation software
|
Combine multiple selectors with a configurable combine function. More...
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Selectors/detail/combine_selectors.hpp>
Public Member Functions | |
template<typename... Ts> | |
bool | operator() (const Ts &...things) const |
template<size_t I> | |
std::tuple_element_t< I, std::tuple< Selectors...> > & | get () |
Access a specific selector by index. | |
template<typename Selector > | |
Selector & | get () |
Access a specific selector by type. | |
Private Member Functions | |
template<std::size_t... Is, typename... Ts> | |
bool | impl (std::index_sequence< Is...>, const Ts &...things) const |
Private Attributes | |
std::tuple< Selectors...> | m_selectors |
Combine multiple selectors with a configurable combine function.
Definition at line 20 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 20 of file combine_selectors.hpp
|
inline |
Access a specific selector by index.
Definition at line 42 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 42 of file combine_selectors.hpp
References I, and ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::m_selectors.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Access a specific selector by type.
Definition at line 47 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 47 of file combine_selectors.hpp
References ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::m_selectors.
|
inlineprivate |
Definition at line 55 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 55 of file combine_selectors.hpp
References ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::m_selectors, utils::status, and value.
Referenced by ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::operator()().
|
inline |
Call all configured selectors and combine the result.
[in] | things | the inputs that will be selected |
Ts | the types of the selected inputs |
Definition at line 32 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 32 of file combine_selectors.hpp
References ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::impl().
|
private |
Definition at line 52 of file combine_selectors.hpp.
View newest version in sPHENIX GitHub at line 52 of file combine_selectors.hpp
Referenced by ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::get(), and ActsFatras::detail::CombineSelectors< Initial, Combine, Selectors >::impl().