CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MaxSelector.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_MaxSelector_h
2 #define RecoAlgos_MaxSelector_h
3 /* \class MaxSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: MaxSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
8  */
9 
10 template<typename T>
11 struct MaxSelector {
12  MaxSelector( T max ) : max_( max ) { }
13  bool operator()( T t ) const { return t <= max_; }
14 
15 private:
17 };
18 
19 #endif
bool operator()(T t) const
Definition: MaxSelector.h:13
MaxSelector(T max)
Definition: MaxSelector.h:12
long double T