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
src
CommonTools
Utils
src
OrCombiner.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_OrCombiner_h
2
#define CommonTools_Utils_OrCombiner_h
3
/* \class reco::parser::OrCombiner
4
*
5
* logical OR combiner
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted by Luca Lista, INFN
9
*
10
* \version $Revision: 1.2 $
11
*
12
*/
13
#include "
CommonTools/Utils/interface/parser/SelectorBase.h
"
14
#include "
CommonTools/Utils/interface/parser/SelectorPtr.h
"
15
16
namespace
reco
{
17
namespace
parser
{
18
struct
OrCombiner
:
public
SelectorBase
{
19
OrCombiner
(
SelectorPtr
lhs,
SelectorPtr
rhs) :
lhs_
(lhs),
rhs_
(rhs) {}
20
bool
operator()
(
const
edm::ObjectWithDict
&
o
)
const override
{
return
(*
lhs_
)(
o
) || (*
rhs_
)(
o
); }
21
22
private
:
23
SelectorPtr
lhs_
,
rhs_
;
24
};
25
}
// namespace parser
26
}
// namespace reco
27
28
#endif
edm::ObjectWithDict
Definition:
ObjectWithDict.h:17
reco::parser::OrCombiner::lhs_
SelectorPtr lhs_
Definition:
OrCombiner.h:23
reco::parser::OrCombiner::rhs_
SelectorPtr rhs_
Definition:
OrCombiner.h:23
reco::parser::OrCombiner
Definition:
OrCombiner.h:18
SelectorBase.h
SelectorPtr.h
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
reco::parser::OrCombiner::OrCombiner
OrCombiner(SelectorPtr lhs, SelectorPtr rhs)
Definition:
OrCombiner.h:19
reco::parser::OrCombiner::operator()
bool operator()(const edm::ObjectWithDict &o) const override
return true if the object is selected
Definition:
OrCombiner.h:20
reco::parser::SelectorBase
Definition:
SelectorBase.h:19
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::parser::SelectorPtr
std::shared_ptr< SelectorBase > SelectorPtr
Definition:
SelectorPtr.h:18
Generated for CMSSW Reference Manual by
1.8.14