ATLAS Offline Software
Classes | Namespaces | Typedefs | Functions
TrigCompositeUtils/TrigCompositeUtils/Combinators.h File Reference
#include <vector>
#include <set>
#include <functional>
Include dependency graph for TrigCompositeUtils/TrigCompositeUtils/Combinators.h:

Go to the source code of this file.

Classes

class  HLT::CombinationGenerator
 
class  HLT::UniqueCombinationGenerator
 Generator of unique combinations (no indices are repeated) API description. More...
 
class  HLT::NestedUniqueCombinationGenerator
 An ensemble of UniqueCombinationGenerator API description. More...
 
class  HLT::CombinationIterator< Collections >
 

Namespaces

 HLT
 It used to be useful piece of code for replacing actual SG with other store of similar functionality In fact it used to be more like interface adapter for ARA objects access, nevertheless since the ARA project is gone it is only an unnecessary extra layer.
 

Typedefs

typedef std::vector< size_t > HLT::Index1DVec
 Unique combinations for case when one can not repeat the index (i.e. More...
 
typedef std::vector< Index1DVec > HLT::Index2DVec
 

Functions

void HLT::elementsInUniqueCombinations (const Index2DVec &indices, std::set< size_t > &participants, std::function< bool(const Index1DVec &)> &&filter)
 
void HLT::findUniqueCombinations (const Index2DVec &indices, std::vector< std::vector< size_t > > &combinations, std::function< bool(const Index1DVec &)> &&filter=[](const Index1DVec &){ return true;})
 Creates unique combinations of elements. More...