CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CommonTools/Clustering1D/interface/TrackDistanceWeightEstimator.h

Go to the documentation of this file.
00001 #ifndef _TrackDistanceWeightEstimator_H_
00002 #define _TrackDistanceWeightEstimator_H_
00003 
00004 #include "CommonTools/Clustering1D/interface/WeightEstimator.h"
00005 
00010 template <class T>
00011 class TrackDistanceWeightEstimator : public WeightEstimator<T>
00012 {
00013 public:
00014     double operator() ( const T * track ) const
00015     {
00016         return 1.;
00017     };
00018 
00019     TrackDistanceWeightEstimator * clone() const
00020     {
00021         return new TrackDistanceWeightEstimator ( * this );
00022     };
00023 };
00024 
00025 #endif