CMS 3D CMS Logo

HsmModeFinder3d.cc
Go to the documentation of this file.
3 
7 GlobalPoint HsmModeFinder3d::operator() ( const std::vector< PointAndDistance> & values ) const
8 {
9  std::vector < GlobalPoint > v;
10  for ( std::vector< PointAndDistance >::const_iterator i=values.begin();
11  i!=values.end() ; ++i )
12  {
13  v.push_back ( i->first );
14  };
15  return hsm_3d ( v );
16 }
17 
19 {
20  return new HsmModeFinder3d ( * this );
21 }
int i
Definition: DBlmapReader.cc:9
virtual GlobalPoint operator()(const std::vector< PointAndDistance > &) const
GlobalPoint hsm_3d(const std::vector< GlobalPoint > &values)
cordinate wise half sample mode in 3d
Definition: hsm_3d.cc:8
virtual HsmModeFinder3d * clone() const