CMS 3D CMS Logo

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.3 2007/06/18 18:33:54 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
bool operator()(const T1 &t1, const T2 &t2) const
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
T min(T a, T b)
Definition: MathUtil.h:58
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281