Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-17 23:10:26

0001 #include "CommonTools/Utils/interface/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 }