CMS 3D CMS Logo

LogicalBinaryOperator.cc

Go to the documentation of this file.
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 

Generated on Tue Jun 9 17:42:52 2009 for CMSSW by  doxygen 1.5.4