Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
Utils
interface
MinFunctionSelector.h
Go to the documentation of this file.
1
#ifndef RecoAlgos_MinFunctionSelector_h
2
#define RecoAlgos_MinFunctionSelector_h
3
/* \class MinFunctionSelector
4
*
5
* \author Luca Lista, INFN
6
*
7
* $Id: MinFunctionSelector.h,v 1.1 2009/02/24 14:40:26 llista Exp $
8
*/
9
10
template
<
typename
T,
double
(T::*fun)() const>
11
struct
MinFunctionSelector
{
12
MinFunctionSelector
(
double
min
) :
13
min_
( min ) { }
14
bool
operator()
(
const
T
&
t
)
const
{
return
(t.*fun)() >=
min_
; }
15
private
:
16
double
min_
;
17
};
18
19
#endif
MinFunctionSelector::MinFunctionSelector
MinFunctionSelector(double min)
Definition:
MinFunctionSelector.h:12
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
bookConverter.min
int min
Definition:
bookConverter.py:164
MinFunctionSelector
Definition:
MinFunctionSelector.h:11
MinFunctionSelector::operator()
bool operator()(const T &t) const
Definition:
MinFunctionSelector.h:14
T
long double T
Definition:
Basic3DVectorLD.h:59
MinFunctionSelector::min_
double min_
Definition:
MinFunctionSelector.h:16
Generated for CMSSW Reference Manual by
1.8.5