permutation
More...
#include <AnalysisPermutation.h>
template<class COLL>
class AnalysisUtils::Permutation< COLL >
permutation
Definition at line 23 of file AnalysisPermutation.h.
◆ Permutation() [1/2]
◆ ~Permutation()
◆ Permutation() [2/2]
◆ get()
template<class COLL >
template<class OUT >
get a permutation.
This method changes the sequence in increasing order and return true if succeeds. If the current sequence is the last permutation, return false
- Parameters
-
perm | a vector for permutation |
Definition at line 59 of file AnalysisPermutation.h.
82 std::vector<unsigned int *>::const_iterator
it =
m_index.begin();
83 std::vector<unsigned int *>::const_iterator
itE =
m_index.end();
◆ goodOnes()
template<class COLL >
template<class CALLER , class OUT , class CRITERIA >
get a permutation which passes a selection criteria
- Parameters
-
perm | a vector for permutation |
criteria | a function pointer of selection criteria |
Definition at line 95 of file AnalysisPermutation.h.
100 if (criteria(caller,perm))
return true;
103 return goodOnes(caller, perm, criteria);
◆ operator=()
◆ m_coll
◆ m_comb
◆ m_first
◆ m_index
◆ m_index_for_comb
The documentation for this class was generated from the following file:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.