CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MinObjectPairSelector.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_MinObjectPairSelector_h
2 #define RecoAlgos_MinObjectPairSelector_h
3 /* \class MinObjectPairSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: MinObjectPairSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
8  */
9 
10 template<typename F>
13  min_( min ), fun_() { }
14  template<typename T1, typename T2>
15  bool operator()( const T1 & t1, const T2 & t2 ) const {
16  return min_ <= fun_( t1, t2 );
17  }
18 
19 private:
20  double min_;
22 };
23 
24 #endif
#define min(a, b)
Definition: mlp_lapack.h:161
bool operator()(const T1 &t1, const T2 &t2) const
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:18
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281