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