MINT2
Permutator.h
Go to the documentation of this file.
1 #ifndef PERMUTATOR_HH
2 #define PERMUTATOR_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:13 GMT
5 
6 #include "Mint/Permutation.h"
8 #include "Mint/PolymorphVector.h"
9 
10 #include <vector>
11 #include <iostream>
12 
13 class Permutator : public MINT::PolymorphVector<Permutation> {
15 
16  int findAllPermutations();
17  public:
18  Permutator();
19  Permutator(const DalitzEventPattern& pat);
20  void setPattern(const DalitzEventPattern& pat);
21  void print(std::ostream& os = std::cout) const;
22 };
23 
24 std::ostream& operator<<(std::ostream& os, const Permutator& p);
25 
26 #endif
27 //
DalitzEventPattern _pat
Definition: Permutator.h:14
void setPattern(const DalitzEventPattern &pat)
Definition: Permutator.cpp:23
int findAllPermutations()
Definition: Permutator.cpp:29
std::ostream & operator<<(std::ostream &os, const Permutator &p)
void print(std::ostream &os=std::cout) const
Definition: Permutator.cpp:59