CMS 3D CMS Logo

TrivialWeightEstimator.h
Go to the documentation of this file.
1 #ifndef _TrivialWeightEstimator_H_
2 #define _TrivialWeightEstimator_H_
3 
5 
6 #include <vector>
7 
12 template <class T>
14 {
15 public:
16  double weight ( const std::vector < const T * > & ) const override
17  {
18  return 1.0;
19  }
20 
21  TrivialWeightEstimator * clone () const override
22  {
23  return new TrivialWeightEstimator<T> ( *this );
24  };
25 };
26 
27 #endif
TrivialWeightEstimator * clone() const override
double weight(const std::vector< const T * > &) const override