12 #ifndef MATCHCOMPARE_H
13 #define MATCHCOMPARE_H
31 template<
class TruthCollection>
33 bool operator()(
typename TruthCollection::const_iterator,
typename TruthCollection::const_iterator)
const;
45 template<
class TruthCollection>
47 operator()(
typename TruthCollection::const_iterator
a,
typename TruthCollection::const_iterator
b)
const {
49 (
a->second.probability() <
b->second.probability() ) ||
50 ((
a->second.probability() ==
b->second.probability() )
52 && (
b->second.particleLink() <
a->second.particleLink() ));