Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-26 03:15:36

0001 #ifndef RecoAlgos_MinSelector_h
0002 #define RecoAlgos_MinSelector_h
0003 /* \class MinSelector
0004  *
0005  * \author Luca Lista, INFN
0006  *
0007  * $Id: MinSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
0008  */
0009 
0010 template <typename T>
0011 struct MinSelector {
0012   MinSelector(T min) : min_(min) {}
0013   bool operator()(T t) const { return t >= min_; }
0014 
0015 private:
0016   T min_;
0017 };
0018 
0019 #endif