1 #ifndef CommonTools_Utils_TrinarySelector_h
2 #define CommonTools_Utils_TrinarySelector_h
21 std::shared_ptr<ComparisonBase> cmp1,
22 std::shared_ptr<ExpressionBase> mid,
23 std::shared_ptr<ComparisonBase> cmp2,
24 std::shared_ptr<ExpressionBase> rhs)
29 std::shared_ptr<ExpressionBase>
lhs_;
30 std::shared_ptr<ComparisonBase>
cmp1_;
31 std::shared_ptr<ExpressionBase>
mid_;
32 std::shared_ptr<ComparisonBase>
cmp2_;
33 std::shared_ptr<ExpressionBase>
rhs_;
TrinarySelector(std::shared_ptr< ExpressionBase > lhs, std::shared_ptr< ComparisonBase > cmp1, std::shared_ptr< ExpressionBase > mid, std::shared_ptr< ComparisonBase > cmp2, std::shared_ptr< ExpressionBase > rhs)
std::shared_ptr< ComparisonBase > cmp1_
std::shared_ptr< ExpressionBase > rhs_
std::shared_ptr< ExpressionBase > mid_
bool operator()(const edm::ObjectWithDict &o) const override
return true if the object is selected
std::shared_ptr< ComparisonBase > cmp2_
std::shared_ptr< ExpressionBase > lhs_