Main Page
Namespaces
Classes
Package Documentation
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 ) :
13
minCut_
( minCut ) { }
14
bool
operator()
(
const
typename
F::type
&
t
)
const
{
15
return
f
( t ) >=
minCut_
;
16
}
17
private
:
18
F
f
;
19
double
minCut_
;
20
};
21
22
#endif
type
type
Definition:
HCALResponse.h:21
FunctionMinSelector::minCut_
double minCut_
Definition:
FunctionMinSelector.h:19
FunctionMinSelector::operator()
bool operator()(const typename F::type &t) const
Definition:
FunctionMinSelector.h:14
FunctionMinSelector
Definition:
FunctionMinSelector.h:11
FunctionMinSelector::FunctionMinSelector
FunctionMinSelector(double minCut)
Definition:
FunctionMinSelector.h:12
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:281
FunctionMinSelector::f
F f
Definition:
FunctionMinSelector.h:18
Generated for CMSSW Reference Manual by
1.8.11