#include <FsmwModeFinder3d.h>
Public Member Functions | |
FsmwModeFinder3d * | clone () const override |
FsmwModeFinder3d (float fraction=.5, float weightExponent=-2., float cutoff=10, int no_weights_above=10) | |
GlobalPoint | operator() (const std::vector< PointAndDistance > &) const override |
Public Member Functions inherited from ModeFinder3d | |
virtual | ~ModeFinder3d () |
Private Attributes | |
float | theCutoff |
float | theFraction |
int | theNoWeightsAbove |
float | theWeightExponent |
Additional Inherited Members | |
Public Types inherited from ModeFinder3d | |
typedef std::pair< GlobalPoint, float > | PointAndDistance |
this is a half sample mode finder that works coordinate wise, in 3d.
Definition at line 12 of file FsmwModeFinder3d.h.
FsmwModeFinder3d::FsmwModeFinder3d | ( | float | fraction = .5 , |
float | weightExp = -2. , |
||
float | cutoff = 10 , |
||
int | no_w_a = 10 |
||
) |
Constructor
fraction | the fraction of data points that have to be within the interval. |
weightExponent | The exponent by which the weights are taken into account. Default is "w^-1", w being the track distance + cutoff (see below). |
cutoff | weight = ( cutoff + 10000 * distance ) * weightExponent |
no_weights_above | ignore weights as long as the number of data points is > x |
Half sample mode in 3d, as a functional class.
Definition at line 10 of file FsmwModeFinder3d.cc.
References cms::cuda::assert(), and theFraction.
Referenced by clone().
|
overridevirtual |
Implements ModeFinder3d.
Definition at line 50 of file FsmwModeFinder3d.cc.
References FsmwModeFinder3d().
|
overridevirtual |
Implements ModeFinder3d.
Definition at line 15 of file FsmwModeFinder3d.cc.
References cms::cuda::assert(), mps_fire::i, conifer::pow(), runTheMatrix::ret, theCutoff, theFraction, theNoWeightsAbove, theWeightExponent, contentValuesCheck::values, and mps_merge::weight.
|
private |
Definition at line 36 of file FsmwModeFinder3d.h.
Referenced by operator()().
|
private |
Definition at line 34 of file FsmwModeFinder3d.h.
Referenced by FsmwModeFinder3d(), and operator()().
|
private |
Definition at line 37 of file FsmwModeFinder3d.h.
Referenced by operator()().
|
private |
Definition at line 35 of file FsmwModeFinder3d.h.
Referenced by operator()().