CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CommonTools/Clustering1D/interface/WeightEstimator.h

Go to the documentation of this file.
00001 #ifndef _WeightEstimator_H_
00002 #define _WeightEstimator_H_
00003 
00004 #include <vector>
00005 
00011 template <class T>
00012 class WeightEstimator
00013 {
00014 public:
00015     virtual double weight( const std::vector < const T * > & ) const = 0;
00016     virtual WeightEstimator * clone() const = 0;
00017 
00018     virtual ~WeightEstimator()
00019     {}
00020     ;
00021 };
00022 
00023 #endif