test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
Utils
interface
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>
11
struct
MinObjectPairSelector
{
12
MinObjectPairSelector
(
double
min
) :
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_
;
21
F
fun_
;
22
};
23
24
#endif
MinObjectPairSelector::MinObjectPairSelector
MinObjectPairSelector(double min)
Definition:
MinObjectPairSelector.h:12
MinObjectPairSelector
Definition:
MinObjectPairSelector.h:11
MinObjectPairSelector::min_
double min_
Definition:
MinObjectPairSelector.h:20
MinObjectPairSelector::operator()
bool operator()(const T1 &t1, const T2 &t2) const
Definition:
MinObjectPairSelector.h:15
reco::t2
auto const T2 &decltype(t1.eta()) t2
Definition:
deltaR.h:16
min
T min(T a, T b)
Definition:
MathUtil.h:58
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:281
MinObjectPairSelector::fun_
F fun_
Definition:
MinObjectPairSelector.h:21
Generated for CMSSW Reference Manual by
1.8.5