CMS 3D CMS Logo

List of all members | Public Member Functions
LmsModeFinder3d Class Reference

#include <LmsModeFinder3d.h>

Inheritance diagram for LmsModeFinder3d:
ModeFinder3d

Public Member Functions

LmsModeFinder3dclone () const override
 
GlobalPoint operator() (const std::vector< PointAndDistance > &values) const override
 
- Public Member Functions inherited from ModeFinder3d
virtual ~ModeFinder3d ()
 

Additional Inherited Members

- Public Types inherited from ModeFinder3d
typedef std::pair< GlobalPoint, float > PointAndDistance
 

Detailed Description

Least Median sum of squares mode finder. Works coordinate wise.

Definition at line 8 of file LmsModeFinder3d.h.

Member Function Documentation

◆ clone()

LmsModeFinder3d * LmsModeFinder3d::clone ( void  ) const
overridevirtual

Implements ModeFinder3d.

Definition at line 12 of file LmsModeFinder3d.cc.

12 { return new LmsModeFinder3d(*this); }

◆ operator()()

GlobalPoint LmsModeFinder3d::operator() ( const std::vector< PointAndDistance > &  values) const
overridevirtual

Implements ModeFinder3d.

Definition at line 4 of file LmsModeFinder3d.cc.

4  {
5  std::vector<GlobalPoint> v;
6  for (std::vector<PointAndDistance>::const_iterator i = values.begin(); i != values.end(); ++i) {
7  v.push_back(i->first);
8  };
9  return lms_3d(v);
10 }

References mps_fire::i, lms_3d(), findQualityFiles::v, and contentValuesCheck::values.

mps_fire.i
i
Definition: mps_fire.py:428
findQualityFiles.v
v
Definition: findQualityFiles.py:179
contentValuesCheck.values
values
Definition: contentValuesCheck.py:38
LmsModeFinder3d
Definition: LmsModeFinder3d.h:8
lms_3d
GlobalPoint lms_3d(std::vector< GlobalPoint > values)
Definition: lms_3d.cc:8