CMS 3D CMS Logo

MaxObjectPairSelector.h
Go to the documentation of this file.
1 #ifndef RecoAlgos_MaxObjectPairSelector_h
2 #define RecoAlgos_MaxObjectPairSelector_h
3 /* \class MaxObjectPairSelector
4  *
5  * \author Luca Lista, INFN
6  *
7  * $Id: MaxObjectPairSelector.h,v 1.3 2007/06/18 18:33:53 llista Exp $
8  */
9 
10 template <typename F>
12  MaxObjectPairSelector(double max) : max_(max), fun_() {}
13  template <typename T1, typename T2>
14  bool operator()(const T1& t1, const T2& t2) const {
15  return fun_(t1, t2) <= max_;
16  }
17 
18 private:
19  double max_;
21 };
22 
23 #endif
bool operator()(const T1 &t1, const T2 &t2) const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163