CMS 3D CMS Logo

GenericOverlapFinder.h File Reference

#include "DataFormats/Math/interface/deltaR.h"
#include <memory>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  pat

Classes

class  pat::GenericOverlapFinder< Distance >
struct  pat::OverlapByDeltaR
 Distance with deltaR metrics and a fixed maximum for the overlap deltaR dist(x,y) = deltaR2(x,y) / deltaR2cut;. More...
struct  pat::OverlapDistance< Comparator >
 Turn a comparator in a distance for uses of overlap comparator(x,y) = true <-> x and y overlap the associated distance would work as dist(x,y) = 1.0 - comparator(x,y) [0 if overlap, 1 otherwise] if the constructor of your Comparator does not need parameters, then the associated distance will not need parameters too. More...

Typedefs

typedef std::vector< std::pair
< size_t, size_t > > 
pat::OverlapList
 A vector of pairs of indices <i1,i2>, for each i1 that overlaps, i2 is the "best" overlap match.


Generated on Tue Jun 9 17:54:54 2009 for CMSSW by  doxygen 1.5.4