ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsFatras::Max< cast_t > Struct Template Reference

Select all objects with an extracted value below the cut. More...

#include <ActsFatras/Selectors/SelectorHelpers.hpp>

Public Member Functions

template<typename T>
bool operator() (const T &thing) const
 Check if object meets maximum value requirement.

Public Attributes

double valMax = std::numeric_limits<double>::max()
 Maximum value threshold for selection.

Detailed Description

template<typename cast_t>
struct ActsFatras::Max< cast_t >

Select all objects with an extracted value below the cut.

Member Function Documentation

◆ operator()()

template<typename cast_t>
template<typename T>
bool ActsFatras::Max< cast_t >::operator() ( const T & thing) const

Check if object meets maximum value requirement.

Parameters
thingThe object to evaluate using cast_t
Returns
true if extracted value is below valMax, false otherwise

Member Data Documentation

◆ valMax

template<typename cast_t>
double ActsFatras::Max< cast_t >::valMax = std::numeric_limits<double>::max()

Maximum value threshold for selection.