1 #ifndef RecoParticleFlow_PFProducer_CommutativePairs_h 2 #define RecoParticleFlow_PFProducer_CommutativePairs_h 22 if ((
a ==
p.first &&
b ==
p.second) || (
b ==
p.first &&
a ==
p.second)) {
32 if (
a ==
p.first ||
a ==
p.second) {
void concatenate(CommutativePairs< T > const &other)
Add the pairs from another CommutativePairs to this.
bool contains(T const &a, T const &b) const
void insert(T const &a, T const &b)
bool contains(T const &a) const
std::vector< std::pair< T, T > > pairs_