CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/RecoVertex/VertexTools/interface/FsmwModeFinder3d.h

Go to the documentation of this file.
00001 #ifndef _FsmwModeFinder3d_H_
00002 #define _FsmwModeFinder3d_H_
00003 
00004 #include "RecoVertex/VertexTools/interface/ModeFinder3d.h"
00005 
00012 class FsmwModeFinder3d : public ModeFinder3d
00013 {
00014 public:
00027     FsmwModeFinder3d( float fraction = .5, float weightExponent = -2.,
00028                       float cutoff=10 /* microns */, int no_weights_above = 10 );
00029     virtual GlobalPoint operator()( const std::vector< PointAndDistance> & ) const;
00030     virtual FsmwModeFinder3d* clone() const;
00031 private:
00032     float theFraction;
00033     float theWeightExponent;
00034     float theCutoff;
00035     int theNoWeightsAbove;
00036 };
00037 
00038 #endif