CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.1 2009/02/24 14:40:26 llista Exp $
8  */
9 
10 template <typename F>
12  explicit FunctionMinSelector(double minCut) : minCut_(minCut) {}
13  bool operator()(const typename F::type& t) const { return f(t) >= minCut_; }
14 
15 private:
16  F f;
17  double minCut_;
18 };
19 
20 #endif
bool operator()(const typename F::type &t) const
FunctionMinSelector(double minCut)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163