CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PtMinSelector.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_PtMinSelector_h
2 #define RecoAlgos_PtMinSelector_h
3 /* \class PtMinSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: PtMinSelector.h,v 1.6 2007/06/18 18:33:54 llista Exp $
8  */
9 
10 struct PtMinSelector {
11  PtMinSelector( double ptMin ) : ptMin_( ptMin ) { }
12  template<typename T>
13  bool operator()( const T & t ) const { return t.pt() >= ptMin_; }
14 
15 private:
16  double ptMin_;
17 };
18 
19 #endif
PtMinSelector(double ptMin)
Definition: PtMinSelector.h:11
bool operator()(const T &t) const
Definition: PtMinSelector.h:13
long double T