test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
LmsModeFinder3d Class Reference

#include <LmsModeFinder3d.h>

Inheritance diagram for LmsModeFinder3d:
ModeFinder3d

Public Member Functions

virtual LmsModeFinder3dclone () const
 
virtual GlobalPoint operator() (const std::vector< PointAndDistance > &values) const
 
- 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

LmsModeFinder3d * LmsModeFinder3d::clone ( void  ) const
virtual

Implements ModeFinder3d.

Definition at line 14 of file LmsModeFinder3d.cc.

15 {
16  return new LmsModeFinder3d ( * this );
17 }
GlobalPoint LmsModeFinder3d::operator() ( const std::vector< PointAndDistance > &  values) const
virtual

Implements ModeFinder3d.

Definition at line 4 of file LmsModeFinder3d.cc.

References i, lms_3d(), and findQualityFiles::v.

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