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>
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
RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
MaxObjectPairSelector::MaxObjectPairSelector
MaxObjectPairSelector(double max)
Definition: MaxObjectPairSelector.h:12
MaxObjectPairSelector::fun_
F fun_
Definition: MaxObjectPairSelector.h:20
MaxObjectPairSelector::max_
double max_
Definition: MaxObjectPairSelector.h:19
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
MaxObjectPairSelector::operator()
bool operator()(const T1 &t1, const T2 &t2) const
Definition: MaxObjectPairSelector.h:14
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
MaxObjectPairSelector
Definition: MaxObjectPairSelector.h:11