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  std::vector<GlobalPoint> v;
9  for (std::vector<PointAndDistance>::const_iterator i = values.begin(); i != values.end(); ++i) {
10  v.push_back(i->first);
11  };
12  return hsm_3d(v);
13 }
14 
HsmModeFinder3d * clone() const override
GlobalPoint hsm_3d(const std::vector< GlobalPoint > &values)
cordinate wise half sample mode in 3d
Definition: hsm_3d.cc:8
GlobalPoint operator()(const std::vector< PointAndDistance > &) const override