Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:20

0001 #ifndef LMS3D_H
0002 #define LMS3D_H
0003 
0004 #include "RecoVertex/VertexTools/interface/ModeFinder3d.h"
0005 #include "RecoVertex/VertexTools/interface/SMS.h"
0006 
0007 /** Least Median sum of squares mode finder. Works coordinate wise.
0008  */
0009 class SmsModeFinder3d : public ModeFinder3d {
0010 public:
0011   SmsModeFinder3d(const SMS& algo = SMS());
0012   GlobalPoint operator()(const std::vector<PointAndDistance>& values) const override;
0013   SmsModeFinder3d* clone() const override;
0014 
0015 private:
0016   SMS theAlgo;
0017 };
0018 
0019 #endif