File indexing completed on 2024-04-06 12:01:17
0001 #ifndef CommonTools_Utils_Comparison_h
0002 #define CommonTools_Utils_Comparison_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "CommonTools/Utils/interface/parser/ComparisonBase.h"
0014
0015 namespace reco {
0016 namespace parser {
0017 template <class CompT>
0018 struct Comparison : public ComparisonBase {
0019 bool compare(double lhs, double rhs) const override { return comp(lhs, rhs); }
0020
0021 private:
0022 CompT comp;
0023 };
0024 }
0025 }
0026
0027 #endif