src
CommonTools
Utils
src
LogicalBinaryOperator.cc
Go to the documentation of this file.
1
#include "
CommonTools/Utils/interface/LogicalBinaryOperator.h
"
2
3
using namespace
reco::parser
;
4
template
<>
5
bool
LogicalBinaryOperator<std::logical_and<bool>
>
::operator
()(
const
edm::ObjectWithDict
&
o
)
const
{
6
return
(*lhs_)(
o
) && (*rhs_)(
o
);
7
}
8
template
<>
9
bool
LogicalBinaryOperator<std::logical_or<bool>
>
::operator
()(
const
edm::ObjectWithDict
&
o
)
const
{
10
return
(*lhs_)(
o
) || (*rhs_)(
o
);
11
}
edm::ObjectWithDict
Definition:
ObjectWithDict.h:17
LogicalBinaryOperator.h
reco::parser::LogicalBinaryOperator
Definition:
LogicalBinaryOperator.h:19
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
Utilities.operator
operator
Definition:
Utilities.py:24
reco::parser
Definition:
AnyMethodArgument.h:15
Generated for CMSSW Reference Manual by
1.8.14