CMS 3D CMS Logo

MassMinSelector.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_MassMinSelector_h
2 #define RecoAlgos_MassMinSelector_h
3 /* \class MassMinSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: MassMinSelector.h,v 1.1 2007/07/12 08:30:40 llista Exp $
8  */
9 
11  MassMinSelector( double massMin ) :
12  massMin_( massMin ) { }
13  template<typename T>
14  bool operator()( const T & t ) const {
15  return t.mass() >= massMin_;
16  }
17 
18 private:
19  double massMin_;
20 };
21 
22 #endif
MassMinSelector(double massMin)
bool operator()(const T &t) const
long double T