CMS 3D CMS Logo

LmsModeFinder3d.cc
Go to the documentation of this file.
3 
4 GlobalPoint LmsModeFinder3d::operator() ( const std::vector<PointAndDistance> & values ) const {
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 }
13 
15 {
16  return new LmsModeFinder3d ( * this );
17 }
LmsModeFinder3d * clone() const override
GlobalPoint lms_3d(std::vector< GlobalPoint > values)
Definition: lms_3d.cc:8
GlobalPoint operator()(const std::vector< PointAndDistance > &values) const override