test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
Utils
interface
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>
11
struct
MaxObjectPairSelector
{
12
MaxObjectPairSelector
(
double
max
) :
13
max_
( max ),
fun_
() { }
14
template
<
typename
T1,
typename
T2>
15
bool
operator()
(
const
T1 & t1,
const
T2 &
t2
)
const
{
16
return
fun_
( t1, t2 ) <=
max_
;
17
}
18
19
private
:
20
double
max_
;
21
F
fun_
;
22
};
23
24
#endif
MaxObjectPairSelector::operator()
bool operator()(const T1 &t1, const T2 &t2) const
Definition:
MaxObjectPairSelector.h:15
reco::t2
auto const T2 &decltype(t1.eta()) t2
Definition:
deltaR.h:16
bookConverter.max
max
Definition:
bookConverter.py:166
MaxObjectPairSelector::MaxObjectPairSelector
MaxObjectPairSelector(double max)
Definition:
MaxObjectPairSelector.h:12
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:281
MaxObjectPairSelector::fun_
F fun_
Definition:
MaxObjectPairSelector.h:21
MaxObjectPairSelector::max_
double max_
Definition:
MaxObjectPairSelector.h:20
MaxObjectPairSelector
Definition:
MaxObjectPairSelector.h:11
Generated for CMSSW Reference Manual by
1.8.5