00001 #ifndef Parser_Function_h
00002 #define Parser_Function_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifdef BOOST_SPIRIT_DEBUG
00013 #include <string>
00014 #endif
00015
00016 namespace reco {
00017 namespace parser {
00018 enum Function {
00019 kAbs, kAcos, kAsin, kAtan, kAtan2, kChi2Prob, kCos, kCosh, kExp,
00020 kLog, kLog10, kMax, kMin, kPow, kSin, kSinh, kSqrt, kTan, kTanh
00021 };
00022
00023 #ifdef BOOST_SPIRIT_DEBUG
00024 static const std::string functionNames[] =
00025 { "abs", "acos", "asin", "atan", "atan2", "chi2prob", "cos", "cosh", "exp",
00026 "log", "log10", "max", "min", "pow", "sin", "sinh", "sqrt", "tan", "tanh" };
00027
00028 #endif
00029 }
00030 }
00031
00032 #endif