File SelectorHelpers.hpp

namespace ActsFatras

Typedefs

using CombineAnd = detail::CombineSelectors<true, std::logical_and<bool>, selectors_t...>

Select objects that fullfil all selectors.

using CombineOr = detail::CombineSelectors<false, std::logical_or<bool>, selectors_t...>

Select objects that fullfil at least one selector.

template<typename cast_t>
struct Max
#include <ActsFatras/Selectors/SelectorHelpers.hpp>

Select all objects with an extracted value below the cut.

Public Functions

template<typename T>
inline bool operator()(const T &thing) const

Public Members

double valMax = std::numeric_limits<double>::max()
template<typename cast_t>
struct Min
#include <ActsFatras/Selectors/SelectorHelpers.hpp>

Select all objects with an extracted value equal or larger than the cut.

Public Functions

template<typename T>
inline bool operator()(const T &thing) const

Public Members

double valMin = 0.
template<typename cast_t>
struct Range
#include <ActsFatras/Selectors/SelectorHelpers.hpp>

Select all objects with an extracted value within the range.

The range is defined as the left, half-open interval within the cuts.

Public Functions

template<typename T>
inline bool operator()(const T &thing) const

Public Members

double valMax = std::numeric_limits<double>::max()
double valMin = std::numeric_limits<double>::lowest()