File indexing completed on 2024-04-06 12:29:19
0001 #ifndef _FsmwModeFinder3d_H_
0002 #define _FsmwModeFinder3d_H_
0003
0004 #include "RecoVertex/VertexTools/interface/ModeFinder3d.h"
0005
0006
0007
0008
0009
0010
0011
0012 class FsmwModeFinder3d : public ModeFinder3d {
0013 public:
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 FsmwModeFinder3d(float fraction = .5,
0027 float weightExponent = -2.,
0028 float cutoff = 10 ,
0029 int no_weights_above = 10);
0030 GlobalPoint operator()(const std::vector<PointAndDistance>&) const override;
0031 FsmwModeFinder3d* clone() const override;
0032
0033 private:
0034 float theFraction;
0035 float theWeightExponent;
0036 float theCutoff;
0037 int theNoWeightsAbove;
0038 };
0039
0040 #endif