Go to the documentation of this file.00001 #ifndef ModeFinder3d_H
00002 #define ModeFinder3d_H
00003
00004 #include <functional>
00005 #include <vector>
00006 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00007
00014 class ModeFinder3d : public std::unary_function <
00015 std::vector< std::pair < GlobalPoint , float > > , GlobalPoint > {
00016 public:
00017 typedef std::pair < GlobalPoint, float > PointAndDistance;
00018 virtual GlobalPoint operator () ( const std::vector< PointAndDistance > & ) const=0;
00019
00020 virtual ~ModeFinder3d() {};
00021 virtual ModeFinder3d * clone () const =0;
00022 };
00023
00024 #endif