00001 #include "LogicalBinaryOperator.h" 00002 using namespace reco::parser; 00003 template <> 00004 bool LogicalBinaryOperator<std::logical_and<bool> >::operator()(const ROOT::Reflex::Object &o) const { 00005 return (*lhs_)(o) && (*rhs_)(o); 00006 } 00007 template <> 00008 bool LogicalBinaryOperator<std::logical_or<bool> >::operator()(const ROOT::Reflex::Object &o) const { 00009 return (*lhs_)(o) || (*rhs_)(o); 00010 } 00011