ATLAS Offline Software
Loading...
Searching...
No Matches
BuildCombinations.h File Reference
#include "RangedItr.h"
#include "BuildCombinations.icc"
Include dependency graph for BuildCombinations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DerivationFramework
 THE reconstruction tool.
namespace  DerivationFramework::TriggerMatchingUtils

Functions

template<typename T, typename PROJ = std::identity>
bool DerivationFramework::TriggerMatchingUtils::insertIntoSortedVector (std::vector< T > &vec, const T &ele, PROJ proj={})
 Helper function for inserting an element into a sorted vector.
template<typename R, typename PROJ = std::identity>
std::vector< typename R::value_type > DerivationFramework::TriggerMatchingUtils::sorted (const R &r, PROJ proj={})
 Helper function to create a sorted vector from an unsorted range.
template<typename T, typename INNERPROJ = std::identity, typename OUTERPROJ = std::identity>
std::vector< std::vector< T > > DerivationFramework::TriggerMatchingUtils::getAllDistinctCombinations (std::vector< RangedItr< typename std::vector< T >::const_iterator > > &inputs, INNERPROJ innerproj={}, OUTERPROJ outerproj={})
 Get all valid, unique combinations of distinct elements from the input ranges.