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