Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CommonTools
Utils
interface
PtMinSelector.h
Go to the documentation of this file.
1
#ifndef RecoAlgos_PtMinSelector_h
2
#define RecoAlgos_PtMinSelector_h
3
/* \class PtMinSelector
4
*
5
* \author Luca Lista, INFN
6
*
7
* $Id: PtMinSelector.h,v 1.6 2007/06/18 18:33:54 llista Exp $
8
*/
9
10
struct
PtMinSelector
{
11
PtMinSelector
(
double
ptMin
) :
ptMin_
( ptMin ) { }
12
template
<
typename
T>
13
bool
operator()
(
const
T
&
t
)
const
{
return
t.pt() >=
ptMin_
; }
14
15
private
:
16
double
ptMin_
;
17
};
18
19
#endif
PtMinSelector::PtMinSelector
PtMinSelector(double ptMin)
Definition:
PtMinSelector.h:11
lumiQTWidget.t
tuple t
Definition:
lumiQTWidget.py:50
PtMinSelector::operator()
bool operator()(const T &t) const
Definition:
PtMinSelector.h:13
PtMinSelector::ptMin_
double ptMin_
Definition:
PtMinSelector.h:16
PtMinSelector_cfg.ptMin
tuple ptMin
Definition:
PtMinSelector_cfg.py:44
PtMinSelector
Definition:
PtMinSelector.h:10
T
long double T
Definition:
Basic3DVectorLD.h:57
Generated for CMSSW Reference Manual by
1.8.5