Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Utilities.operator
operator
Definition:
Utilities.py:24
writedatasetfile.parser
tuple parser
Definition:
writedatasetfile.py:7
class-composition.o
tuple o
Definition:
class-composition.py:65
Generated for CMSSW Reference Manual by
1.8.5