CMS 3D CMS Logo

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