CMS 3D CMS Logo

HsmModeFinder3d Class Reference

this is a half sample mode finder that works coordinate wise, in 3d. More...

#include <RecoVertex/VertexTools/interface/HsmModeFinder3d.h>

Inheritance diagram for HsmModeFinder3d:

ModeFinder3d

List of all members.

Public Member Functions

virtual HsmModeFinder3dclone () const
virtual GlobalPoint operator() (const vector< PointAndDistance > &) const
 Half sample mode in 3d, as a functional class.


Detailed Description

this is a half sample mode finder that works coordinate wise, in 3d.

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.


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:48 2009 for CMSSW by  doxygen 1.5.4