template<typename Comparator, typename Arbitrator>
class pat::GenericDuplicateRemover< Comparator, Arbitrator >
Definition at line 11 of file GenericDuplicateRemover.h.
template<typename Comparator , typename Arbitrator >
template<typename Collection >
Indices of duplicated items to remove Comparator is used to check for duplication, Arbiter to pick the best one e.g. comparator(x1, x2) should return true if they are duplicates arbitrator(x1, x2) should return true if x1 is better, that is we want to keep x1 and delete x2 Collection can be vector, View, or anything with the same interface
Definition at line 36 of file GenericDuplicateRemover.h.
References mps_fire::i, runTheMatrix::ret, and findQualityFiles::size.
Referenced by pat::DuplicatedPhotonRemover::duplicatesBySeed(), pat::DuplicatedPhotonRemover::duplicatesBySuperCluster(), pat::DuplicatedElectronRemover::duplicatesToRemove(), edmIntegrityCheck.IntegrityCheck::report(), edmIntegrityCheck.IntegrityCheck::structured(), and edmIntegrityCheck.IntegrityCheck::test().
40 std::vector<bool>
bad(size,
false);
42 for (
size_t ie = 0; ie <
size; ++ie) {
46 for (
size_t je = ie + 1; je <
size; ++je) {
57 auto ret = std::make_unique<std::vector<size_t>>();
59 for (
size_t i = 0;
i <
size; ++
i) {
tuple ret
prodAgent to be discontinued
tuple size
Write out results.