Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calibration
Tools
interface
PhiRangeSelector.h
Go to the documentation of this file.
1
#ifndef UtilAlgos_PhiRangeSelector_h
2
#define UtilAlgos_PhiRangeSelector_h
3
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
4
#include "
CommonTools/UtilAlgos/interface/ParameterAdapter.h
"
5
6
struct
PhiRangeSelector
{
7
PhiRangeSelector
(
double
phiMin
,
double
phiMax
) :
phiMin_
(
phiMin
),
phiMax_
(
phiMax
) {}
8
template
<
typename
T>
9
bool
operator()
(
const
T
&
t
)
const
{
10
double
phi
=
t
.phi();
11
return
(
phi
>=
phiMin_
&&
phi
<=
phiMax_
);
12
}
13
14
private
:
15
double
phiMin_
,
phiMax_
;
16
};
17
18
namespace
reco
{
19
namespace
modules
{
20
template
<>
21
struct
ParameterAdapter
<
PhiRangeSelector
> {
22
static
PhiRangeSelector
make
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC) {
23
return
PhiRangeSelector
(
cfg
.getParameter<
double
>(
"phiMin"
),
cfg
.getParameter<
double
>(
"phiMax"
));
24
}
25
};
26
}
// namespace modules
27
}
// namespace reco
28
29
#endif
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:651
reco::modules::ParameterAdapter< PhiRangeSelector >::make
static PhiRangeSelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
Definition:
PhiRangeSelector.h:22
PhiRangeSelector::phiMax_
double phiMax_
Definition:
PhiRangeSelector.h:15
PhiRangeSelector::operator()
bool operator()(const T &t) const
Definition:
PhiRangeSelector.h:9
DDAxes::phi
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition:
AlignmentTrackSelector_cfi.py:18
looper.cfg
cfg
Definition:
looper.py:296
PhiRangeSelector::phiMin_
double phiMin_
Definition:
PhiRangeSelector.h:15
reco::modules::ParameterAdapter
Definition:
ParameterAdapter.h:12
SingleObjectSelectorBase
Definition:
SingleObjectSelector.h:31
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::modules::PhiRangeSelector
SingleObjectSelector< reco::GsfElectronCollection, ::PhiRangeSelector > PhiRangeSelector
Definition:
SealModule.cc:17
ParameterAdapter.h
edm::ParameterSet
Definition:
ParameterSet.h:47
PhiRangeSelector
Definition:
PhiRangeSelector.h:6
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition:
AlignmentTrackSelector_cfi.py:17
T
long double T
Definition:
Basic3DVectorLD.h:48
ConsumesCollector.h
PhiRangeSelector::PhiRangeSelector
PhiRangeSelector(double phiMin, double phiMax)
Definition:
PhiRangeSelector.h:7
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
modules
Definition:
MuonCleanerBySegments.cc:35
Generated for CMSSW Reference Manual by
1.8.14