CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoPixelVertexing/PixelVertexFinding/interface/PVClusterComparer.h

Go to the documentation of this file.
00001 #ifndef RecoPixelVertexing_PVClusterComparer_h
00002 #define RecoPixelVertexing_PVClusterComparer_h
00003 
00015 #include "RecoPixelVertexing/PixelVertexFinding/interface/PVCluster.h"
00016 #include "DataFormats/VertexReco/interface/Vertex.h"
00017 
00018 class PVClusterComparer {
00019  public:
00021   PVClusterComparer();
00022    
00024   double pTSquaredSum(const PVCluster &v) const;
00025   double pTSquaredSum(const reco::Vertex &v) const;
00026 
00028   bool operator() (const PVCluster &v1, const PVCluster &v2) const;
00029   bool operator() (const reco::Vertex &v1, const reco::Vertex &v2) const;
00030 };
00031 #endif