![]() |
![]() |
#include <RecoVertex/VertexTools/interface/HsmModeFinder3d.h>
Public Member Functions | |
virtual HsmModeFinder3d * | clone () const |
virtual GlobalPoint | operator() (const vector< PointAndDistance > &) const |
Half sample mode in 3d, as a functional class. |
this is a half sample mode finder that works coordinate wise, in 3d; as an preparatory step we filter out all values whose distance is above a certain threshold ( the threshold moves if not enough values are found within the threshold ).
Definition at line 12 of file HsmModeFinder3d.h.
HsmModeFinder3d * HsmModeFinder3d::clone | ( | void | ) | const [virtual] |
Implements ModeFinder3d.
Definition at line 18 of file HsmModeFinder3d.cc.
00019 { 00020 return new HsmModeFinder3d ( * this ); 00021 }
GlobalPoint HsmModeFinder3d::operator() | ( | const vector< PointAndDistance > & | values | ) | const [virtual] |
Half sample mode in 3d, as a functional class.
Implements ModeFinder3d.
Definition at line 7 of file HsmModeFinder3d.cc.
References hsm_3d(), i, and v.
00008 { 00009 vector < GlobalPoint > v; 00010 for ( vector< PointAndDistance >::const_iterator i=values.begin(); 00011 i!=values.end() ; ++i ) 00012 { 00013 v.push_back ( i->first ); 00014 }; 00015 return hsm_3d ( v ); 00016 }