00001 #include "RecoVertex/VertexTools/interface/hsm_3d.h" 00002 #include "RecoVertex/VertexTools/interface/HsmModeFinder3d.h" 00003 00007 GlobalPoint HsmModeFinder3d::operator() ( const vector< PointAndDistance> & values ) const 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 } 00017 00018 HsmModeFinder3d * HsmModeFinder3d::clone() const 00019 { 00020 return new HsmModeFinder3d ( * this ); 00021 }