CommonTools
Utils
interface
FunctionMinSelector.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_FunctionMinSelector_h
2
#define CommonTools_Utils_FunctionMinSelector_h
3
/* \class FunctionMinSelector
4
*
5
* \author Luca Lista, INFN
6
*
7
* $Id: FunctionMinSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
8
*/
9
10
template
<
typename
F>
11
struct
FunctionMinSelector
{
12
explicit
FunctionMinSelector
(
double
minCut) :
minCut_
(minCut) {}
13
bool
operator()
(
const
typename
F::type
&
t
)
const
{
return
f
(
t
) >=
minCut_
; }
14
15
private
:
16
F
f
;
17
double
minCut_
;
18
};
19
20
#endif
FunctionMinSelector::f
F f
Definition:
FunctionMinSelector.h:16
FunctionMinSelector::operator()
bool operator()(const typename F::type &t) const
Definition:
FunctionMinSelector.h:13
FunctionMinSelector::FunctionMinSelector
FunctionMinSelector(double minCut)
Definition:
FunctionMinSelector.h:12
FunctionMinSelector
Definition:
FunctionMinSelector.h:11
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:163
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
FunctionMinSelector::minCut_
double minCut_
Definition:
FunctionMinSelector.h:17
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
Generated for CMSSW Reference Manual by
1.8.16