CMS 3D CMS Logo

ModeFinder3d.h
Go to the documentation of this file.
1 #ifndef ModeFinder3d_H
2 #define ModeFinder3d_H
3 
4 #include <functional>
5 #include <vector>
7 
14 class ModeFinder3d : public std::unary_function <
15  std::vector< std::pair < GlobalPoint , float > > , GlobalPoint > {
16 public:
17  typedef std::pair < GlobalPoint, float > PointAndDistance;
18  virtual GlobalPoint operator () ( const std::vector< PointAndDistance > & ) const=0;
19 
20  virtual ~ModeFinder3d() {};
21  virtual ModeFinder3d * clone () const =0;
22 };
23 
24 #endif
virtual ~ModeFinder3d()
Definition: ModeFinder3d.h:20
std::pair< GlobalPoint, float > PointAndDistance
Definition: ModeFinder3d.h:17
virtual ModeFinder3d * clone() const =0
virtual GlobalPoint operator()(const std::vector< PointAndDistance > &) const =0