Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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.2 2012/06/26 21:13:12 wmtan 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
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
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
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.5