![]() |
|
|||
File indexing completed on 2024-04-06 12:01:18
0001 #ifndef CommonTools_Utils_FunctionMinSelector_h 0002 #define CommonTools_Utils_FunctionMinSelector_h 0003 /* \class FunctionMinSelector 0004 * 0005 * \author Luca Lista, INFN 0006 * 0007 * $Id: FunctionMinSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $ 0008 */ 0009 0010 template <typename F> 0011 struct FunctionMinSelector { 0012 explicit FunctionMinSelector(double minCut) : minCut_(minCut) {} 0013 bool operator()(const typename F::type& t) const { return f(t) >= minCut_; } 0014 0015 private: 0016 F f; 0017 double minCut_; 0018 }; 0019 0020 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |