Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:20

0001 #include "CommonTools/Utils/interface/parser/LogicalBinaryOperator.h"
0002 
0003 using namespace reco::parser;
0004 template <>
0005 bool LogicalBinaryOperator<std::logical_and<bool> >::operator()(const edm::ObjectWithDict &o) const {
0006   return (*lhs_)(o) && (*rhs_)(o);
0007 }
0008 template <>
0009 bool LogicalBinaryOperator<std::logical_or<bool> >::operator()(const edm::ObjectWithDict &o) const {
0010   return (*lhs_)(o) || (*rhs_)(o);
0011 }