CMS 3D CMS Logo

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

◆ clone()

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

Implements WeightEstimator< T >.

Definition at line 15 of file TrackDistanceWeightEstimator.h.

15 { return new TrackDistanceWeightEstimator(*this); };

◆ operator()()

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

Definition at line 13 of file TrackDistanceWeightEstimator.h.

13 { return 1.; };
TrackDistanceWeightEstimator
Definition: TrackDistanceWeightEstimator.h:11