CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FunctionMinSelector.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_FunctionMinSelector_h
2 #define CommonTools_Utils_FunctionMinSelector_h
3 /* \class FunctionMinSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: FunctionMinSelector.h,v 1.2 2012/06/26 21:13:12 wmtan Exp $
8  */
9 
10 template<typename F>
12  explicit FunctionMinSelector( double minCut ) :
13  minCut_( minCut ) { }
14  bool operator()( const typename F::type & t ) const {
15  return f( t ) >= minCut_;
16  }
17 private:
18  F f;
19  double minCut_;
20 };
21 
22 #endif
type
Definition: HCALResponse.h:21
bool operator()(const typename F::type &t) const
FunctionMinSelector(double minCut)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281