CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
TrackDistanceWeightEstimator< T > Class Template Reference

#include <TrackDistanceWeightEstimator.h>

Inheritance diagram for TrackDistanceWeightEstimator< T >:
WeightEstimator< T >

Public Member Functions

TrackDistanceWeightEstimatorclone () const
 
double operator() (const T *track) const
 
- Public Member Functions inherited from WeightEstimator< T >
virtual double weight (const std::vector< const T * > &) const =0
 
virtual ~WeightEstimator ()
 

Detailed Description

template<class T>
class TrackDistanceWeightEstimator< T >

weight estimator that uses the distance as the weights.

Definition at line 11 of file TrackDistanceWeightEstimator.h.

Member Function Documentation

template<class T >
TrackDistanceWeightEstimator* TrackDistanceWeightEstimator< T >::clone ( void  ) const
inlinevirtual

Implements WeightEstimator< T >.

Definition at line 19 of file TrackDistanceWeightEstimator.h.

template<class T >
double TrackDistanceWeightEstimator< T >::operator() ( const T track) const
inline

Definition at line 14 of file TrackDistanceWeightEstimator.h.

15  {
16  return 1.;
17  };