36 for(
unsigned int i=0; i <
_pat.
size()-1; i++){
37 for(
unsigned int j=i+1; j <
_pat.
size(); j++){
39 unsigned int n = this->
size();
40 for(
unsigned int k = 0; k < n; k++){
51 std::vector<Permutation>::iterator
52 lastUnique = unique(this->
begin(), this->
end());
54 this->
erase(lastUnique, this->
end());
60 for(
unsigned int i=0; i< this->
size(); i++){
61 os <<
" " << i <<
")\n" << (*this)[i] << endl;
void setPattern(const DalitzEventPattern &pat)
int findAllPermutations()
std::vector< Permutation >::iterator end()
void push_back(const Permutation &c)
void swap(int x1, int x2, int sgn=1)
void erase(typename std::vector< Permutation >::iterator pos)
std::vector< Permutation >::iterator begin()
unsigned int size() const
ostream & operator<<(ostream &os, const Permutator &p)
void print(std::ostream &os=std::cout) const