CMS 3D CMS Logo

Public Member Functions

TrackDistanceWeightEstimator< T > Class Template Reference

#include <TrackDistanceWeightEstimator.h>

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

List of all members.

Public Member Functions

TrackDistanceWeightEstimatorclone () const
double operator() (const T *track) const

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 [inline, virtual]

Implements WeightEstimator< T >.

Definition at line 19 of file TrackDistanceWeightEstimator.h.

    {
        return new TrackDistanceWeightEstimator ( * this );
    };
template<class T >
double TrackDistanceWeightEstimator< T >::operator() ( const T track) const [inline]

Definition at line 14 of file TrackDistanceWeightEstimator.h.

    {
        return 1.;
    };