File indexing completed on 2024-04-06 12:01:17
0001 #ifndef Parser_Function_h
0002 #define Parser_Function_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifdef BOOST_SPIRIT_DEBUG
0013 #include <string>
0014 #endif
0015
0016 namespace reco {
0017 namespace parser {
0018 enum Function {
0019 kAbs,
0020 kAcos,
0021 kAsin,
0022 kAtan,
0023 kAtan2,
0024 kChi2Prob,
0025 kCos,
0026 kCosh,
0027 kExp,
0028 kHypot,
0029 kLog,
0030 kLog10,
0031 kMax,
0032 kMin,
0033 kPow,
0034 kSin,
0035 kSinh,
0036 kSqrt,
0037 kTan,
0038 kTanh,
0039 kDeltaR,
0040 kDeltaPhi,
0041 kTestBit
0042 };
0043
0044 #ifdef BOOST_SPIRIT_DEBUG
0045 static const std::string functionNames[] = {
0046 "abs", "acos", "asin", "atan", "atan2", "chi2prob", "cos", "cosh", "exp", "hypot", "log", "log10",
0047 "max", "min", "pow", "sin", "sinh", "sqrt", "tan", "tanh", "deltaR", "deltaPhi", "test_bit"};
0048 #endif
0049 }
0050 }
0051
0052 #endif