MINT2
Mint
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
"
7
#include "
Mint/DalitzEventPattern.h
"
8
#include "
Mint/PolymorphVector.h
"
9
10
#include <vector>
11
#include <iostream>
12
13
class
Permutator
:
public
MINT::PolymorphVector
<Permutation> {
14
DalitzEventPattern
_pat
;
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
//
Permutator::_pat
DalitzEventPattern _pat
Definition:
Permutator.h:14
Permutator::Permutator
Permutator()
Definition:
Permutator.cpp:9
Permutator::setPattern
void setPattern(const DalitzEventPattern &pat)
Definition:
Permutator.cpp:23
Permutator::findAllPermutations
int findAllPermutations()
Definition:
Permutator.cpp:29
PolymorphVector.h
DalitzEventPattern.h
Permutator
Definition:
Permutator.h:13
DalitzEventPattern
Definition:
DalitzEventPattern.h:17
Permutation.h
operator<<
std::ostream & operator<<(std::ostream &os, const Permutator &p)
MINT::PolymorphVector
Definition:
PolymorphVector.h:8
Permutator::print
void print(std::ostream &os=std::cout) const
Definition:
Permutator.cpp:59
Generated by
1.8.15