1 #ifndef CommonTools_Utils_TrinarySelector_h
2 #define CommonTools_Utils_TrinarySelector_h
16 #include <boost/shared_ptr.hpp>
22 boost::shared_ptr<ComparisonBase> cmp1,
23 boost::shared_ptr<ExpressionBase> mid,
24 boost::shared_ptr<ComparisonBase> cmp2,
25 boost::shared_ptr<ExpressionBase> rhs ) :
32 boost::shared_ptr<ExpressionBase>
lhs_;
33 boost::shared_ptr<ComparisonBase>
cmp1_;
34 boost::shared_ptr<ExpressionBase>
mid_;
35 boost::shared_ptr<ComparisonBase>
cmp2_;
36 boost::shared_ptr<ExpressionBase>
rhs_;
virtual bool operator()(const edm::ObjectWithDict &o) const
return true if the object is selected
boost::shared_ptr< ComparisonBase > cmp1_
boost::shared_ptr< ComparisonBase > cmp2_
boost::shared_ptr< ExpressionBase > lhs_
boost::shared_ptr< ExpressionBase > rhs_
TrinarySelector(boost::shared_ptr< ExpressionBase > lhs, boost::shared_ptr< ComparisonBase > cmp1, boost::shared_ptr< ExpressionBase > mid, boost::shared_ptr< ComparisonBase > cmp2, boost::shared_ptr< ExpressionBase > rhs)
boost::shared_ptr< ExpressionBase > mid_