ATLAS Offline Software
|
Classes | |
class | RangedItr |
utility class that acts wraps a bidirectional iterator. More... | |
Functions | |
template<typename T > | |
bool | insertIntoSortedVector (std::vector< T > &vec, const T &ele) |
Helper function for inserting an element into a sorted vector. More... | |
template<typename T > | |
std::vector< typename T::value_type > | sorted (T begin, T end) |
Helper function to create a sorted vector from an unsorted one. More... | |
template<typename T > | |
std::vector< std::vector< T > > | getAllDistinctCombinations (std::vector< RangedItr< typename std::vector< T >::const_iterator >> &inputs) |
Get all valid, unique combinations of distinct elements from the input ranges. More... | |
std::vector<std::vector<T> > DerivationFramework::TriggerMatchingUtils::getAllDistinctCombinations | ( | std::vector< RangedItr< typename std::vector< T >::const_iterator >> & | inputs | ) |
Get all valid, unique combinations of distinct elements from the input ranges.
inputs | The ranges over vectors of possible elements. |
bool DerivationFramework::TriggerMatchingUtils::insertIntoSortedVector | ( | std::vector< T > & | vec, |
const T & | ele | ||
) |
Helper function for inserting an element into a sorted vector.
T | The type stored in the vector |
[out] | vec | The vector to insert into |
ele | The element to insert |
std::vector<typename T::value_type> DerivationFramework::TriggerMatchingUtils::sorted | ( | T | begin, |
T | end | ||
) |
Helper function to create a sorted vector from an unsorted one.
T | The type of the iterator |
begin | The start of the unsorted range |
end | The end of the unsorted range |