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